[][src]Function linux::syscall::fcntl_getfl

pub fn fcntl_getfl(fd: c_int) -> c_int

Retrieves the file access mode and file status flags of a file descriptor.

[argument, fd] The file descriptor to inspect.

[return_value] Returns the file access mode and file status flags or an error value.

= See also

  • link:man:fcntl(2) and F_GETFL therein