aboutsummaryrefslogtreecommitdiffstats
path: root/man7/futex.7
diff options
context:
space:
mode:
Diffstat (limited to 'man7/futex.7')
-rw-r--r--man7/futex.74
1 files changed, 2 insertions, 2 deletions
diff --git a/man7/futex.7 b/man7/futex.7
index 645de63b06..a958b25013 100644
--- a/man7/futex.7
+++ b/man7/futex.7
@@ -42,7 +42,7 @@ futexes are also optimised for this situation.
In its bare form, a futex is an aligned integer which is
only touched by atomic assembler instructions.
Processes can share this integer using
-.BR mmap (),
+.BR mmap (2),
via shared memory segments or because they share memory space,
in which case the application is commonly called multithreaded.
.SH "SEMANTICS"
@@ -71,7 +71,7 @@ and request that the kernel wait for another process to up the futex.
This is done using the FUTEX_WAIT operation.
.PP
The
-.BR futex ()
+.BR futex (2)
system call can optionally be passed a timeout specifying how long
the kernel should
wait for the futex to be upped.