dup, dup2

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at dup, dup2.

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