Improve wording describing error returns.

This commit is contained in:
Michael Kerrisk 2008-01-31 13:29:11 +00:00
parent 27e42cd904
commit 9eb143a1db
1 changed files with 5 additions and 6 deletions

View File

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