futex.2: ERRORS: Add EINVAL case for FUTEX_CMP_REQUEUE_PI

Reported-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2015-01-15 14:46:57 +01:00
parent 75299c8d17
commit 9786b3ca15
1 changed files with 9 additions and 0 deletions

View File

@ -1191,6 +1191,15 @@ via
.BR FUTEX_WAIT_REQUEUE_PI ).
.TP
.B EINVAL
.RB ( FUTEX_CMP_REQUEUE_PI )
.\" FIXME This is a reworded version of Darren Hart's text.
.\" Please check that I did not introduce any errors.
An attempt was made to requeue a waiter to a futex other than that
specified by the matching
.B FUTEX_WAIT_REQUEUE_PI
call for that waiter.
.TP
.B EINVAL
Invalid argument.
.TP
.BR ENOMEM