summaryrefslogtreecommitdiff
path: root/src/sysdeps/tryeventfd.c
blob: 3c3122c098f87ce7867f69d91a72a7343e5bd4c3 (plain)
1
2
3
4
5
6
7
8
9
10
/* ISC license. */

#include <sys/eventfd.h>

int main (void)
{
  int fd = eventfd(0, EFD_NONBLOCK) ;
  if (fd < 0) return 1 ;
  return 0 ;
}