[Bug 480566] Re: epoll_wait man page error
Angelo Borsotti
angelo.borsotti at gmail.com
Mon Apr 30 07:22:22 UTC 2012
Hi Michael.
the correct text should be:
EINTR The call was interrupted by a signal handler before any of the
requested events occurred; see signal(7).
The issue is that EINTR is not returned when the timeout expires, but only
when one of the events occur.
-Angelo
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to manpages in Ubuntu.
https://bugs.launchpad.net/bugs/480566
Title:
epoll_wait man page error
Status in “manpages” package in Ubuntu:
New
Bug description:
man epoll_wait states:
EINTR The call was interrupted by a signal handler before any of the
requested events occurred or the timeout expired; see signal(7).
However, epoll_wait does not return EINTR when the timeout expires, it
simply returns 0 as number of file descriptors, and errno = 0.
This is the correct behaviour (otherwise there would be no way to tell
a signal interruption from a timeout one).
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/manpages/+bug/480566/+subscriptions
More information about the foundations-bugs
mailing list