Function base::sys::unix::fcntl::get_fd_flags

source ·
fn get_fd_flags(fd: RawFd) -> Result<c_int>
Expand description

Returns the file flags set for the given RawFD

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