dup, dup2

These POSIX functions are deprecated. Use the ISO C++ conformant _dup, _dup2 instead.