[][src]Function linux::syscall::fcntl_setfd

pub fn fcntl_setfd(fd: c_int, arg: c_int) -> c_int

Sets the file descriptor flags of a file descriptor.

[argument, fd] The file descriptor to modify.

[argument, arg] The new file descriptor flags.

[return_value] Returns success or an error value.

= See also

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