epoll-shim

epoll compatibility layer for BSD systems using kqueue

brewmacoslinux
Try with needOr install directly
Source

About

Small epoll implementation using kqueue

Commands

epoll-shim

Examples

Link against epoll-shim when compiling programs that use epoll on BSD$ gcc -o myapp myapp.c -lepoll-shim
Set PKG_CONFIG_PATH to find epoll-shim in build systems$ export PKG_CONFIG_PATH=$(brew --prefix epoll-shim)/lib/pkgconfig:$PKG_CONFIG_PATH
Use with CMake to enable epoll support on BSD systems$ cmake -DCMAKE_PREFIX_PATH=$(brew --prefix epoll-shim) ..