mirror of https://github.com/mkerrisk/man-pages
Improve wording describing error returns.
This commit is contained in:
parent
27e42cd904
commit
9eb143a1db
11
man2/futex.2
11
man2/futex.2
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue