From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; Maxthon; .NET CLR 1.1.4322) Description of problem: Refer to the futex(2) manual page, when FUTEX_WAIT is specified as futex operation and the futex address doesn't contain the specified value, EWOULDBLOCK would be "returned". But in the actual case, when defined and called through the _syscallN mechanism, -1 is returned while errno is set to EWOULDBLOCK / EAGAIN. I consider as a misleading by the manpage. Version-Release number of selected component (if applicable): man-pages-1.67-7 How reproducible: Couldn't Reproduce Additional info:
The man page describes one version of futex function, there is no default futex function - glibc does not export it (futex function is only used internally).
I've reworked the text in the upstream man page to fix this problem. The pages should say "fails with the error", rather than "returns".