TypeScript API Documentation for GLIB UNIX
API Version: 2.0
Library Version: 2.0.0
Generated with TypeDoc via ts-for-gir v5.2.0
Since 2.30
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.
nonblock
O_NONBLOCK
O_NDELAY
A file descriptor
If true, set the descriptor to be non-blocking
true
true if successful
2.30
GLib.Error
Control the non-blocking state of the given file descriptor, according to
nonblock. On most systems this usesO_NONBLOCK, but on some older ones may useO_NDELAY.