kqueue is quite portable and works across all the BSDs.
The OpenBSD documentation for it is top notch, as usual. No idea about the rest (I suspect they’ve all converged at this point).
Kqueue originated in FreeBSD, and like most all of FreeBSD, it is very well documented.
Kqueue originated in FreeBSD, and like most all of FreeBSD, it is very well documented.