2008-11-20 05:26:47     eventfd usermode include files missing

Document created by Aaronwu Employee on Aug 8, 2013
Version 1Show Document
  • View in full screen mode

2008-11-20 05:26:47     eventfd usermode include files missing

Filip Van Rillaer (BELGIUM)

Message: 65585   

 

Hello,

 

I am trying to use the eventfd() function like in the example http://www.kernel.org/doc/man-pages/online/pages/man2/eventfd.2.html.

 

Unfortunately the include file <sys/eventfd.h> is missing.  With some hacking in the example code (calling myself syscall __NR_eventfd), I can get the program running but this is not really a nice solution. So please fix this.

 

Best regards,

 

Filip

TranslateQuoteReplyEditDelete

 

 

2008-11-20 08:26:06     Re: eventfd usermode include files missing

Mike Frysinger (UNITED STATES)

Message: 65600   

 

eventfd is not supported in uClibc atm.  you will need to provide your own definitions for now.

Attachments

    Outcomes