aboutsummaryrefslogtreecommitdiffstats
path: root/man2
diff options
context:
space:
mode:
Diffstat (limited to 'man2')
-rw-r--r--man2/clone.24
-rw-r--r--man2/mount.24
-rw-r--r--man2/nanosleep.24
-rw-r--r--man2/sigaltstack.22
-rw-r--r--man2/statfs.22
-rw-r--r--man2/timer_settime.22
6 files changed, 9 insertions, 9 deletions
diff --git a/man2/clone.2 b/man2/clone.2
index c7d4c09d2d..fea94f311b 100644
--- a/man2/clone.2
+++ b/man2/clone.2
@@ -978,7 +978,7 @@ In particular,
if a signal is delivered to the child immediately after the
.BR clone ()
call, then a call to
-.BR getpid ()
+.BR getpid (2)
in a handler for the signal may return the PID
of the calling process ("the parent"),
if the clone wrapper has not yet had a chance to update the PID
@@ -986,7 +986,7 @@ cache in the child.
(This discussion ignores the case where the child was created using
.BR CLONE_THREAD ,
when
-.BR getpid ()
+.BR getpid (2)
.I should
return the same value in the child and in the process that called
.BR clone (),
diff --git a/man2/mount.2 b/man2/mount.2
index dba0b64cb9..c088b79f27 100644
--- a/man2/mount.2
+++ b/man2/mount.2
@@ -430,13 +430,13 @@ the mount namespace is preserved across an
A process can obtain a private mount namespace if:
it was created using the
-.BR clone ()
+.BR clone (2)
.BR CLONE_NEWNS
flag,
in which case its new namespace is initialized to be a
.I copy
of the namespace of the process that called
-.BR clone ();
+.BR clone (2);
or it calls
.BR unshare (2)
with the
diff --git a/man2/nanosleep.2 b/man2/nanosleep.2
index 6ad3a6cfe8..f1bbcff590 100644
--- a/man2/nanosleep.2
+++ b/man2/nanosleep.2
@@ -158,7 +158,7 @@ clock.
.\" Subject: nanosleep() uses CLOCK_MONOTONIC, should be CLOCK_REALTIME?
.\" Date: 2008-06-22 07:35:41 GMT
This probably does not matter, since the POSIX.1 specification for
-.BR clock_settime ()
+.BR clock_settime (2)
says that discontinuous changes in
.B CLOCK_REALTIME
should not affect
@@ -168,7 +168,7 @@ should not affect
Setting the value of the
.B CLOCK_REALTIME
clock via
-.BR clock_settime ()
+.BR clock_settime (2)
shall
have no effect on threads that are blocked waiting for a relative time
service based upon this clock, including the
diff --git a/man2/sigaltstack.2 b/man2/sigaltstack.2
index b9cd128cde..235e3acccc 100644
--- a/man2/sigaltstack.2
+++ b/man2/sigaltstack.2
@@ -192,7 +192,7 @@ A successful call to
removes any existing alternate
signal stack.
A child process created via
-.BR fork ()
+.BR fork (2)
inherits a copy of its parent's alternate signal stack settings.
.P
.BR sigaltstack ()
diff --git a/man2/statfs.2 b/man2/statfs.2
index bcd8a0e86d..f6e3149b99 100644
--- a/man2/statfs.2
+++ b/man2/statfs.2
@@ -256,7 +256,7 @@ when NFS-exported, and giving it out is a security concern.
Under some operating systems the
.I fsid
can be used as second argument to the
-.BR sysfs ()
+.BR sysfs (2)
system call.
.SH "SEE ALSO"
.BR stat (2),
diff --git a/man2/timer_settime.2 b/man2/timer_settime.2
index fe0ced8e59..b6b9cde541 100644
--- a/man2/timer_settime.2
+++ b/man2/timer_settime.2
@@ -80,7 +80,7 @@ structure that allows a time value to be specified
in seconds and nanoseconds.
These time values are measured according to the clock
that was specified when the timer was created by
-.BR timer_create ()
+.BR timer_create (2)
If
.I new_value->it_value