NGS version 0.2.5 auto-generated documentation
Documentation index
The global namespace
dup2 multimethod
dup2 multimethod
Methods
dup2(
oldfd:
Int
,
newfd:
Int
)
Source:
stdlib.ngs:4137
Duplicate a file descriptor. Uses DUP2(2). Handles EINTR.