HelpPC 2.10 Quick Reference Utility Copyright 1991 David Jurgens

                   int dup2( int oldhandle, int newhandle )


       - prototype in io.h

       - returns a new file handle that duplicates the old handle
         equal to newhandle.  If newhandle exists, the corresponding
         file is closed.
       - returns -1 on error

Esc or Alt-X to exit dup2 Home/PgUp/PgDn/End ←↑↓→
Converted to HTML in 2006 by Timo Bingmann