Function base::sys::unix::fcntl::set_fd_flags

source ·
fn set_fd_flags(fd: RawFd, flags: c_int) -> Result<()>
Expand description

Sets the file flags set for the given RawFD.

Returns an error if the OS indicates the flags can’t be retrieved.