ID EN
OS

get_blocking

Python 3.11

Get the blocking mode of the file descriptor: False if the O_NONBLOCK flag is set, True if the flag is cleared.

Syntax

PYTHON
os.get_blocking(fd, /)

See Also

O_NONBLOCK set_blocking() socket.socket.setblocking() Availability WebAssembly platforms