This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Documentation of eventfd_write and eventfd_read?


Hi,

I am looking for the documentation of eventfd_write() and eventfd_read().

I downloaded the manual of glibc and grepped for eventfd_write/read but I don't see any.

If the manual doesn't exist, I have 2 questions:
1. eventfd_write()'s 2nd argument can't be zero?  It seems like when it is zero, epoll_wait() never returns for that event.
2. will there be any side effect if I call eventfd_write(), epoll_wait() returns for that event, but I don't eventfd_read() to consume that event?

Thanks in advance.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]