select.kevent.fflags

kevent.fflags Filter specific flags. KQ_FILTER_READ and KQ_FILTER_WRITE filter flags: Constant Meaning KQ_NOTE_LOWAT low water mark of a socket buffer KQ_FILTER_VNODE filter flags: Constant Meaning KQ_NOTE_DELETE unlink() was called KQ_NOTE_WRITE a write occurred KQ_NOTE_EXTEND the file was extended KQ_NOTE_ATTRIB an attribute was changed KQ_NOTE_LINK the link count has changed KQ_NOTE_RENAME the file was renamed KQ_NOTE_REVOKE access to the file was revoked KQ_FILTER_PROC filter flags:

select.kevent.flags

kevent.flags Filter action. Constant Meaning KQ_EV_ADD Adds or modifies an event KQ_EV_DELETE Removes an event from the queue KQ_EV_ENABLE Permitscontrol() to returns the event KQ_EV_DISABLE Disablesevent KQ_EV_ONESHOT Removes event after first occurrence KQ_EV_CLEAR Reset the state after an event is retrieved KQ_EV_SYSFLAGS internal event KQ_EV_FLAG1 internal event KQ_EV_EOF Filter specific EOF condition KQ_EV_ERROR See return values

select.error

exception select.error A deprecated alias of OSError. Changed in version 3.3: Following PEP 3151, this class was made an alias of OSError.

select.epoll.poll()

epoll.poll(timeout=-1, maxevents=-1) Wait for events. timeout in seconds (float) Changed in version 3.5: The function is now retried with a recomputed timeout when interrupted by a signal, except if the signal handler raises an exception (see PEP 475 for the rationale), instead of raising InterruptedError.

select.epoll.fromfd()

epoll.fromfd(fd) Create an epoll object from a given file descriptor.

select.epoll.fileno()

epoll.fileno() Return the file descriptor number of the control fd.

select.epoll.closed

epoll.closed True if the epoll object is closed.

select.epoll.unregister()

epoll.unregister(fd) Remove a registered file descriptor from the epoll object.

select.epoll.modify()

epoll.modify(fd, eventmask) Modify a registered file descriptor.

select.epoll.register()

epoll.register(fd[, eventmask]) Register a fd descriptor with the epoll object.