[Bug 480566] Re: epoll_wait man page error

Michael Kerrisk mtk.manpages at gmail.com
Mon Apr 30 00:25:41 UTC 2012


I belive the problem here is a misreading of the English text.

I changed the text slightly in upstream 3.41 from

EINTR The call was interrupted by a signal handler before any of the
              requested events occurred or the timeout expired; see signal(7).

to

EINTR The call was interrupted by a signal handler before either any of the
              requested events occurred or the timeout expired; see signal(7).

-- 
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