posix.dup()

posix.dup(fd) → fd2

Return a duplicate of a file descriptor.