Registry / networking / epoll-shim

epoll-shim

JSON →
library0.0.20240608vcpkgunverified

Small epoll implementation using kqueue

vcpkg install epoll-shim
INSTALL
IMPORT
SIG · EPOLL-SHIM
E
epoll-shim
networkingcppv0.0.20240608
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

sys/epoll.h
#include <sys/epoll.h>

Basic epoll usage on macOS/BSD

#include <sys/epoll.h> #include <unistd.h> int main() { int epfd = epoll_create1(0); struct epoll_event ev; ev.events = EPOLLIN; ev.data.fd = STDIN_FILENO; epoll_ctl(epfd, EPOLL_CTL_ADD, STDIN_FILENO, &ev); close(epfd); return 0; }
Debug
Known issues
gotchaOnly intended for platforms without native epoll (macOS, BSD).
fix
Use native epoll on Linux; this shim is for portability only.
affects: *
Upgrade
Version history
0.0.20240608latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
OpenAI (training)
1
Resources

No resource links recorded.

epoll-shim — pip install epoll-shim · libregistry