Function nrfxlib_sys::nrf_fcntl [−][src]
pub unsafe extern "C" fn nrf_fcntl(fd: c_int, cmd: c_int, flags: c_int) -> c_int
Function for controlling file descriptor options.
s Set or get file descriptor options or flags. For a list of supported commands, refer to @ref nrf_fcnt_commands. For a list of supported flags, refer to nrf_fcnt_flags.
fd
- The descriptor to set options on.cmd
- The command class for options.flags
- The flags to set.