aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2015-01-12 10:27:13 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2015-12-15 14:39:40 +0100
commitd67e21f5e25d410820187e97f588a45df6f1112d (patch)
treed6f0b7d392a11d97cd0b7d7580e0b477f9ef5375
parent2e98bbc24ada9e2e8fe0266d86b6ef0b4df321e0 (diff)
downloadman-pages-d67e21f5e25d410820187e97f588a45df6f1112d.tar.gz
futex.2: Add placeholders for as yet undocumented operations
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/futex.244
1 files changed, 41 insertions, 3 deletions
diff --git a/man2/futex.2 b/man2/futex.2
index aee1e16a5f..9f1a830fc4 100644
--- a/man2/futex.2
+++ b/man2/futex.2
@@ -141,9 +141,7 @@ time based on
If this option is not set,
the kernel treats the user space supplied timeout as relative time.
-
-If this is set on any other operation than the supported ones,
-the kernel returns ENOSYS!
+.\" FIXME a relative time based on what clock?
.PP
The operation specified in
.I op
@@ -181,6 +179,11 @@ the futex and executes the
.B FUTEX_WAKE
operation.
.TP
+.BR FUTEX_WAIT_BITSET " (since Linux 2.6.25)"
+.\" commit cd689985cf49f6ff5c8eddc48d98b9d581d9475d
+.\" FIXME TO complete
+[As yet undocumented]
+.TP
.B FUTEX_WAKE
This operation wakes at most \fIval\fP
processes waiting on this futex address (i.e., inside
@@ -199,6 +202,31 @@ this is executed if incrementing
the count showed that there were waiters, once the futex value has been set
to 1 (indicating that it is available).
.TP
+.BR FUTEX_WAKE_OP " (since Linux 2.6.14)"
+.\" commit 4732efbeb997189d9f9b04708dc26bf8613ed721
+.\" FIXME to complete
+[As yet undocumented]
+.TP
+.BR FUTEX_WAKE_BITSET " (since Linux 2.6.25)"
+.\" commit cd689985cf49f6ff5c8eddc48d98b9d581d9475d
+.\" FIXME TO complete
+[As yet undocumented]
+.TP
+.BR FUTEX_LOCK_PI " (since Linux 2.6.18)"
+.\" commit c87e2837be82df479a6bae9f155c43516d2feebc
+.\" FIXME to complete
+[As yet undocumented]
+.TP
+.BR FUTEX_UNLOCK_PI " (since Linux 2.6.18)"
+.\" commit c87e2837be82df479a6bae9f155c43516d2feebc
+.\" FIXME to complete
+[As yet undocumented]
+.TP
+.BR FUTEX_TRYLOCK_PI " (since Linux 2.6.18)"
+.\" commit c87e2837be82df479a6bae9f155c43516d2feebc
+.\" FIXME to complete
+[As yet undocumented]
+.TP
.BR FUTEX_FD " (present up to and including Linux 2.6.25)"
To support asynchronous wakeups, this operation associates a file descriptor
with a futex.
@@ -276,6 +304,16 @@ and
.I timeout
are as for
.BR FUTEX_REQUEUE .
+.TP
+.BR FUTEX_CMP_REQUEUE_PI " (since Linux 2.6.31)"
+.\" commit 52400ba946759af28442dee6265c5c0180ac7122
+.\" FIXME to complete
+[As yet undocumented]
+.TP
+.BR FUTEX_WAIT_REQUEUE_PI " (since Linux 2.6.31)"
+.\" commit 52400ba946759af28442dee6265c5c0180ac7122
+.\" FIXME to complete
+[As yet undocumented]
.SH RETURN VALUE
.PP
In the event of an error, all operations return \-1, and set