Expand description
Functions which duplicate file descriptors.
Re-exports§
pub use backend::io::types::DupFlags;
Functions§
- dup
dup(fd)
—Creates a newOwnedFd
instance that shares the same underlying file description asfd
.- 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.