Searched refs:slvpipe (Results 1 – 4 of 4) sorted by relevance
/freebsd/contrib/netbsd-tests/lib/libcurses/slave/ |
H A D | commands.c | 44 extern int slvpipe[2]; 123 if (write(slvpipe[WRITE_PIPE], &type, sizeof(int)) < 0) in report_type() 137 if (write(slvpipe[WRITE_PIPE], &type, sizeof(int)) < 0) in report_count() 140 if (write(slvpipe[WRITE_PIPE], &count, sizeof(int)) < 0) in report_count() 173 if (write(slvpipe[WRITE_PIPE], &type, sizeof(int)) < 0) in report_message() 176 if (write(slvpipe[WRITE_PIPE], &len, sizeof(int)) < 0) in report_message() 179 if (write(slvpipe[WRITE_PIPE], status, len) < 0) in report_message() 216 if (write(slvpipe[WRITE_PIPE], &type, sizeof(int)) < 0) in report_nstr() 220 if (write(slvpipe[WRITE_PIPE], &len, sizeof(int)) < 0) in report_nstr() 224 if (write(slvpipe[WRITE_PIPE], string, len) < 0) in report_nstr()
|
H A D | slave.c | 43 int slvpipe[2]; variable 167 sscanf(argv[3], "%d", &slvpipe[0]); in main() 168 sscanf(argv[4], "%d", &slvpipe[1]); in main()
|
/freebsd/contrib/netbsd-tests/lib/libcurses/director/ |
H A D | director.c | 58 int slvpipe[2]; /* reply pipe back from slave */ variable 227 if (pipe(slvpipe) < 0) in main() 253 if (asprintf(&arg3, "%d", slvpipe[0]) < 0) in main() 256 if (asprintf(&arg4, "%d", slvpipe[1]) < 0) in main()
|
H A D | testlang_parse.y | 53 extern int slvpipe[2]; 901 fds[0].fd = slvpipe[READ_PIPE]; in do_function_call() 944 fds[0].fd = slvpipe[READ_PIPE]; in do_function_call() 947 fds[1].fd = slvpipe[WRITE_PIPE]; in do_function_call() 1474 rfd[0].fd = slvpipe[READ_PIPE]; in read_cmd_pipe() 1494 if (read(slvpipe[READ_PIPE], &type, sizeof(int)) < 0) in read_cmd_pipe() 1499 if (read(slvpipe[READ_PIPE], &len, sizeof(int)) < 0) in read_cmd_pipe() 1511 if (read(slvpipe[READ_PIPE], response->return_value, len) < 0) in read_cmd_pipe() 1526 if (read(slvpipe[READ_PIPE], &len, sizeof(int)) < 0) in read_cmd_pipe()
|