A Pipe Question

Rey Paulo rvp at softserver.canberra.edu.au
Fri May 24 12:59:17 AEST 1991


Assume I have created a pipe in my C program.  Assume further that
one end of the pipe is to be written to by a child process while the
other end is to be read from by the parent process.  What I am wondering
is this.  Suppose if the child has written something into the pipe and
exited, could the parent still read what has been written by the child
from the reading end of the pipe even if the child is already dead?
-- 
Rey V. Paulo                  | Internet:  rvp at csc.canberra.edu.au 
University of Canberra        | I am not bound to please thee with my answer. 
AUSTRALIA                     |         -Shylock, in "The Merchant of Venice" 
------------------------------+----------------------------------------------



More information about the Comp.unix.questions mailing list