dup2 multimethod

Methods

dup2(oldfd:Int, newfd:Int) Source: stdlib.ngs:4337
Duplicate a file descriptor. Uses DUP2(2). Handles EINTR.