Searched refs:cmdpipe (Results 1 – 4 of 4) sorted by relevance
| /freebsd/contrib/netbsd-tests/lib/libcurses/slave/ |
| H A D | slave.c | 42 int cmdpipe[2]; variable 67 if (read(cmdpipe[READ_PIPE], &type, sizeof(int)) < 0) in process_commands() 73 if (read(cmdpipe[READ_PIPE], &len, sizeof(int)) < 0) in process_commands() 84 if (read(cmdpipe[READ_PIPE], cmdbuf, len) < 0) in process_commands() 91 if (read(cmdpipe[READ_PIPE], &type, sizeof(int)) < 0) in process_commands() 94 if (read(cmdpipe[READ_PIPE], &len, sizeof(int)) < 0) in process_commands() 119 read(cmdpipe[READ_PIPE], args[argslen], in process_commands() 165 sscanf(argv[1], "%d", &cmdpipe[0]); in main() 166 sscanf(argv[2], "%d", &cmdpipe[1]); in main()
|
| H A D | commands.c | 43 extern int cmdpipe[2];
|
| /freebsd/contrib/netbsd-tests/lib/libcurses/director/ |
| H A D | director.c | 57 int cmdpipe[2]; /* command pipe between director and slave */ variable 224 if (pipe(cmdpipe) < 0) in main() 247 if (asprintf(&arg1, "%d", cmdpipe[0]) < 0) in main() 250 if (asprintf(&arg2, "%d", cmdpipe[1]) < 0) in main()
|
| H A D | testlang_parse.y | 52 extern int cmdpipe[2]; 1437 if (write(cmdpipe[WRITE_PIPE], &send_type, sizeof(int)) < 0) in write_cmd_pipe_args() 1444 if (write(cmdpipe[WRITE_PIPE], &len, sizeof(int)) < 0) in write_cmd_pipe_args() 1452 if (write(cmdpipe[WRITE_PIPE], cmd, len) < 0) in write_cmd_pipe_args()
|