tryeventfd.c (142B)
1 /* ISC license. */ 2 3 #include <sys/eventfd.h> 4 5 int main (void) 6 { 7 int fd = eventfd(0, EFD_NONBLOCK) ; 8 if (fd < 0) return 1 ; 9 return 0 ; 10 }
skalibsMirror/fork of https://skarnet.org/software/skalibs/ | |
git clone https://ccx.te2000.cz/git/skalibs | |
Log | Files | Refs | README | LICENSE |