Module dup

Source
Expand description

Functions which duplicate file descriptors.

Re-exports§

pub use backend::io::types::DupFlags;

Functions§

dup
dup(fd)—Creates a new OwnedFd instance that shares the same underlying file description as fd.
dup2
dup2(fd, new)—Changes the file description of a file descriptor.
dup3
dup3(fd, new, flags)—Changes the file description of a file descriptor, with flags.