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.