Searched refs:remote_input_buf (Results 1 – 4 of 4) sorted by relevance
/dports/audio/mpg321/mpg321-0.2.10/ |
H A D | remote.c | 34 char remote_input_buf[PATH_MAX + 5]; variable 51 alreadyread = strlen (remote_input_buf); in remote_parse_input() 55 if (!(numread = read(0, remote_input_buf + alreadyread, (sizeof(input)-1)-alreadyread)) > 0) in remote_parse_input() 66 remote_input_buf[numread+alreadyread] = '\0'; in remote_parse_input() 68 if ((arg = strchr(remote_input_buf, '\n'))) in remote_parse_input() 73 linelen = strlen (remote_input_buf); in remote_parse_input() 75 strcpy (input, remote_input_buf); in remote_parse_input() 77 strcpy (new_remote_input_buf, remote_input_buf + linelen + 1); in remote_parse_input() 79 strcpy (remote_input_buf, new_remote_input_buf); in remote_parse_input() 202 if (!strlen (remote_input_buf)) in remote_get_input_wait() [all …]
|
H A D | mpg321.h | 110 extern char remote_input_buf[PATH_MAX + 5];
|
H A D | mpg321.c | 268 remote_input_buf[0] = '\0'; in main()
|
/dports/audio/flac123/flac123-0.0.12/ |
H A D | remote.c | 31 char remote_input_buf[BUF_SIZE]; variable 62 alreadyread = strlen (remote_input_buf); in remote_parse_input() 66 if (!(numread = read(0, remote_input_buf + alreadyread, (sizeof(input)-1)-alreadyread)) > 0) in remote_parse_input() 74 remote_input_buf[numread+alreadyread] = '\0'; in remote_parse_input() 76 if ((newline = strchr(remote_input_buf, '\n'))) in remote_parse_input() 81 linelen = strlen (remote_input_buf); in remote_parse_input() 83 strcpy (input, remote_input_buf); in remote_parse_input() 85 strcpy (new_remote_input_buf, remote_input_buf + linelen + 1); in remote_parse_input() 87 strcpy (remote_input_buf, new_remote_input_buf); in remote_parse_input() 246 if (strlen(remote_input_buf) == 0) in remote_get_input_wait() [all …]
|