Function base::sys::unix::clear_fd_flags

source ·
pub fn clear_fd_flags(fd: RawFd, clear_flags: c_int) -> Result<()>
Expand description

Clears the given flags in the FD’s flags.

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