mirror of https://github.com/mkerrisk/man-pages
futex.2: Reword EINVAL error for invalid 'uaddr'/ 'uaddr2' case
There's no need to list all of the various futex operations in this error case. These arguments are used the same way by each operation, so the text can be worded in a more general way. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
a543ff10b0
commit
0c74df0b6a
17
man2/futex.2
17
man2/futex.2
|
@ -662,19 +662,14 @@ was less than zero, or
|
|||
was not less than 1000,000,000).
|
||||
.TP
|
||||
.B EINVAL
|
||||
.RB ( FUTEX_WAIT ,
|
||||
.BR FUTEX_WAKE ,
|
||||
.BR FUTEX_WAKE_OP ,
|
||||
.BR FUTEX_REQUEUE ,
|
||||
.BR FUTEX_CMP_REQUEUE )
|
||||
The operation specified in
|
||||
.BR futex_op
|
||||
employs one or both of the pointers
|
||||
.I uaddr
|
||||
or (for
|
||||
.BR FUTEX_REQUEUE
|
||||
and
|
||||
.BR FUTEX_CMP_REQUEUE )
|
||||
.I uaddr2
|
||||
does not point to a valid object\(emthat is,
|
||||
the address is not 4-byte-aligned.
|
||||
.IR uaddr2 ,
|
||||
but one of these does not point to a valid object\(emthat is,
|
||||
the address is not four-byte-aligned.
|
||||
.TP
|
||||
.B EINVAL
|
||||
.RB ( FUTEX_WAKE ,
|
||||
|
|
Loading…
Reference in New Issue