Lines Matching refs:pipe
1514 * Test getpid, getppid, and pipe system calls.
1526 my_err = pipe( &my_fildes[0] );
1528 printf( "pipe call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1532 /* make sure we can't seek on a pipe */
1535 printf( "lseek on pipe should fail but did not \n" );
1539 /* fork here and use pipe to communicate */
1550 close( my_fildes[1] ); /* close write end of pipe */
1556 printf( "read from pipe failed. got errno %d - %s. \n", errno, strerror( errno ) );
1560 /* parent wrote (to our pipe) its pid as character string */
1575 close( my_fildes[0] ); /* close read end of pipe */
1582 printf( "write to pipe failed. got errno %d - %s. \n", errno, strerror( errno ) );