]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
Improve wording describing error returns.
authorMichael Kerrisk <mtk.manpages@gmail.com>
Thu, 31 Jan 2008 13:29:11 +0000 (13:29 +0000)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Thu, 31 Jan 2008 13:29:11 +0000 (13:29 +0000)
man2/futex.2

index 4d8c0f4c8ed1f9b18f892ba4aa6407acfb31beb1..99978aeeb2f1bf1935dcd4ea7ca42323c02aa2cd 100644 (file)
@@ -165,9 +165,8 @@ but first checks whether the location
 .I uaddr
 still contains the value
 .IR val3 .
-If not, an error
-.B EAGAIN
-is returned.
+If not, the operation fails with the error
+.BR EAGAIN .
 The argument
 .I timeout
 is ignored.
@@ -181,15 +180,15 @@ Returns 0 if the process was woken by a
 .B FUTEX_WAKE
 call.
 In case of timeout,
-.B ETIMEDOUT
-is returned.
+the operation fails with the error
+.BR ETIMEDOUT .
 If the futex was not equal to the expected value,
 the operation fails with the error
 .BR EWOULDBLOCK .
 Signals (or other spurious wakeups)
 cause
 .B FUTEX_WAIT
-to return
+to fail with the error
 .BR EINTR .
 .TP
 .B FUTEX_WAKE