Function base::sys::linux::vsock::set_nonblocking

source ·
unsafe fn set_nonblocking(fd: RawFd, nonblocking: bool) -> Result<()>
Expand description

Sets fd to be blocking or nonblocking. fd must be a valid fd of a type that accepts the O_NONBLOCK flag. This includes regular files, pipes, and sockets.