[ Version ( since = "2.30" ) ]
public bool set_fd_nonblocking (int fd, bool nonblock) throws Error
Control the non-blocking state of the given file descriptor, according to nonblock
.
On most systems this uses o_nonblock, but on some older ones may use o_ndelay.
fd |
A file descriptor |
nonblock |
If true, set the descriptor to be non-blocking |
true if successful |