aboutsummaryrefslogtreecommitdiffstats
path: root/man2
diff options
context:
space:
mode:
Diffstat (limited to 'man2')
-rw-r--r--man2/getrusage.22
-rw-r--r--man2/madvise.22
-rw-r--r--man2/memfd_create.24
-rw-r--r--man2/mlock.22
-rw-r--r--man2/mount.22
5 files changed, 6 insertions, 6 deletions
diff --git a/man2/getrusage.2 b/man2/getrusage.2
index 0a85f76f52..a13d82d834 100644
--- a/man2/getrusage.2
+++ b/man2/getrusage.2
@@ -260,7 +260,7 @@ All new applications should be written using
.BR getrusage ().
See also the description of
-.IR /proc/PID/stat
+.IR /proc/[pid]/stat
in
.BR proc (5).
.SH SEE ALSO
diff --git a/man2/madvise.2 b/man2/madvise.2
index 511ce503d0..19c385807e 100644
--- a/man2/madvise.2
+++ b/man2/madvise.2
@@ -363,7 +363,7 @@ that are known not to be useful in a core dump.
The effect of
.BR MADV_DONTDUMP
takes precedence over the bit mask that is set via the
-.I /proc/PID/coredump_filter
+.I /proc/[pid]/coredump_filter
file (see
.BR core (5)).
.TP
diff --git a/man2/memfd_create.2 b/man2/memfd_create.2
index 737be06964..64db11fe7e 100644
--- a/man2/memfd_create.2
+++ b/man2/memfd_create.2
@@ -339,11 +339,11 @@ From another program, we can obtain a file descriptor for the
file created by
.BR memfd_create ()
by opening the
-.IR /proc/PID/fd
+.IR /proc/[pid]/fd
file that corresponds to the file descriptor opened by
.BR memfd_create ().
Using that pathname, we inspect the content of the
-.IR /proc/PID/fd
+.IR /proc/[pid]/fd
symbolic link, and use our
.I t_get_seals
program to view the seals that have been placed on the file:
diff --git a/man2/mlock.2 b/man2/mlock.2
index 08387b0bbe..706d9e8443 100644
--- a/man2/mlock.2
+++ b/man2/mlock.2
@@ -421,7 +421,7 @@ is page aligned, so portable applications should ensure this.
The
.I VmLck
field of the Linux-specific
-.I /proc/PID/status
+.I /proc/[pid]/status
file shows how many kilobytes of memory the process with ID
.I PID
has locked using
diff --git a/man2/mount.2 b/man2/mount.2
index fce0743316..a460fe0876 100644
--- a/man2/mount.2
+++ b/man2/mount.2
@@ -775,7 +775,7 @@ to other processes (except child processes that the caller
subsequently creates) and vice versa.
The Linux-specific
-.I /proc/PID/mounts
+.I /proc/[pid]/mounts
file exposes the list of mount points in the mount
namespace of the process with the specified ID; see
.BR proc (5)