This is a straightforward interface to the Unix select() system call. Kevent Objects below for the methods supported by kevent objects. (Only supported on BSD.) Returns a kernel event object see section
kevent ( ident, filter=KQ_FILTER_READ, flags=KQ_EV_ADD, fflags=0, data=0, udata=0 ) ¶
Changed in version 3.4: The new file descriptor is now non-inheritable.