Vishal Mittal wrote:

> Hi,
> 
> I have a process that forks off another process. Both
> these processes maintain a bidirectional pipe between
> them. How can I pass an open file descriptor from the
> parent to the child so that the child can do all the
> reading from that file descriptor?
> 
> Thanks
> -Vishal

checkout the fileno() function in Perl. Don't rely too much on file 
descriptor. see perldoc -f fileno() for reason.

david

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to