Debian Codegraph @

dupfd/doc.go

raw symbols SCIP
1 // Package dupfd makes the Dup2 system call uniformly available on *NIX
2 // platforms.
3 //
4 // The call is not available on Solaris, but an alternate mechanism is
5 // available to obtain the same effect. The call has been replaced with
6 // dup3 on Linux, and dup2 is not available in the legacy-free arm64
7 // port of Linux.
8 //
9 // This package provides a uniform Dup2 function for all of these platforms.
10 // *NIX only.
11 package dupfd