in reply to
dup2 exact file descriptor
open(MHCONTEXT, "<&4");
is the example given in the open() section of the Camel Book - apparently it uses the dup2 syscall.
andy.
Comment on
Re: dup2 exact file descriptor
Download
Code
In Section
Seekers of Perl Wisdom