Lines Matching refs:pipe
1406 * Test getpid, getppid, and pipe system calls.
1418 my_err = pipe( &my_fildes[0] );
1420 printf( "pipe call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1424 /* make sure we can't seek on a pipe */
1427 printf( "lseek on pipe should fail but did not \n" );
1431 /* fork here and use pipe to communicate */
1442 close( my_fildes[1] ); /* close write end of pipe */
1448 printf( "read from pipe failed. got errno %d - %s. \n", errno, strerror( errno ) );
1452 /* parent wrote (to our pipe) its pid as character string */
1467 close( my_fildes[0] ); /* close read end of pipe */
1474 printf( "write to pipe failed. got errno %d - %s. \n", errno, strerror( errno ) );
4886 /* fork here and use pipe to communicate */