Searched refs:READ_PIPE (Results 1 - 5 of 5) sorted by relevance

/freebsd-13-stable/contrib/netbsd-tests/lib/libcurses/slave/
H A Dslave.h36 #define READ_PIPE 0 macro
H A Dslave.c67 if (read(cmdpipe[READ_PIPE], &type, sizeof(int)) < 0)
73 if (read(cmdpipe[READ_PIPE], &len, sizeof(int)) < 0)
84 if (read(cmdpipe[READ_PIPE], cmdbuf, len) < 0)
91 if (read(cmdpipe[READ_PIPE], &type, sizeof(int)) < 0)
94 if (read(cmdpipe[READ_PIPE], &len, sizeof(int)) < 0)
119 read(cmdpipe[READ_PIPE], args[argslen],
/freebsd-13-stable/usr.sbin/cron/cron/
H A Ddo_command.c267 close(stdout_pipe[READ_PIPE]);
272 close(STDIN); dup2(stdin_pipe[READ_PIPE], STDIN);
278 close(stdin_pipe[READ_PIPE]);
429 close(stdin_pipe[READ_PIPE]);
459 close(stdout_pipe[READ_PIPE]);
509 register FILE *in = fdopen(stdout_pipe[READ_PIPE], "r");
598 /* also closes stdout_pipe[READ_PIPE] */
H A Dcron.h65 #define READ_PIPE 0 /* which end of a pipe pair do you read? */ macro
/freebsd-13-stable/contrib/netbsd-tests/lib/libcurses/director/
H A Dtestlang_parse.y82 #define READ_PIPE 0
901 fds[0].fd = slvpipe[READ_PIPE];
944 fds[0].fd = slvpipe[READ_PIPE];
1474 rfd[0].fd = slvpipe[READ_PIPE];
1494 if (read(slvpipe[READ_PIPE], &type, sizeof(int)) < 0)
1499 if (read(slvpipe[READ_PIPE], &len, sizeof(int)) < 0)
1511 if (read(slvpipe[READ_PIPE], response->return_value, len) < 0)
1526 if (read(slvpipe[READ_PIPE], &len, sizeof(int)) < 0)

Completed in 122 milliseconds