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