Lines Matching defs:read_pipe
131 static char *read_pipe(int fd);
245 char *str; /* string returned from read_pipe() */
252 if ((str = read_pipe(pipe_fd[0])) == NULL) {
253 /* read_pipe() failed. */
310 if ((array = (int *)read_pipe(pipe_fd[0])) == NULL) {
311 /* read_pipe() failed. */
346 if ((str = read_pipe(pipe_fd[0])) == NULL) {
347 /* read_pipe() failed. */
461 if ((str = read_pipe(pipe_fd2[0])) == NULL) {
462 /* read_pipe() failed. */
463 printf(" child: read_pipe failed\n");
593 * read_pipe() : read data from pipe and return in buf. If an error occurs
597 static char *read_pipe(int fd)
603 printf("read_pipe: pid=%d waiting...\n", getpid());
625 printf("read_pipe: pid=%d received: %s.\n", getpid(), buf);
629 } /* end of read_pipe */