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. */
309 if ((array = (int *)read_pipe(pipe_fd[0])) == NULL) {
310 /* read_pipe() failed. */
345 if ((str = read_pipe(pipe_fd[0])) == NULL) {
346 /* read_pipe() failed. */
460 if ((str = read_pipe(pipe_fd2[0])) == NULL) {
461 /* read_pipe() failed. */
462 printf(" child: read_pipe failed\n");
590 * read_pipe() : read data from pipe and return in buf. If an error occurs
594 static char *read_pipe(int fd)
600 printf("read_pipe: pid=%d waiting...\n", getpid());
622 printf("read_pipe: pid=%d received: %s.\n", getpid(), buf);
626 } /* end of read_pipe */