1
0
mirror of https://github.com/anope/anope.git synced 2026-06-25 18:06:36 +02:00
Files
anope/cmake/eventfd_test.cpp
T
2011-10-22 16:11:26 -04:00

9 lines
101 B
C++

#include <sys/eventfd.h>
int main()
{
int i = eventfd(0, EFD_NONBLOCK);
return i >= 0 ? 1 : 0;
}