[][src]Function linux::syscall::fcntl_getfd

pub fn fcntl_getfd(fd: c_int) -> c_int

Retrieves the file descriptor flags of a file descriptor.

[argument, fd] The file descriptor to inspect.

[return_value] Returns the file descriptor flags or an error value.

= See also

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