calloop::io

Function set_nonblocking

source
fn set_nonblocking(fd: BorrowedFd<'_>, is_nonblocking: bool) -> Result<bool>
Expand description

Set the nonblocking status of an FD and return whether it was nonblocking before.