eventfd.c 344 B

123456789101112131415161718
  1. /* vi: set sw=4 ts=4: */
  2. /*
  3. * eventfd() for uClibc
  4. *
  5. * Copyright (C) 2011 Jean-Christian de Rivaz <jc@eclis.ch>
  6. *
  7. * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  8. */
  9. #include <sys/syscall.h>
  10. #include <sys/eventfd.h>
  11. /*
  12. * eventfd()
  13. */
  14. #ifdef __NR_eventfd
  15. _syscall2(int, eventfd, int, count, int, flags)
  16. #endif