summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2013-04-17 07:59:41 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2013-04-17 08:48:06 +0200
commit0bf14b8799fb6be383886aed6496044c52ee4ccf (patch)
treef5e8267c8b1922439abb58f7048ef92a188957d2
parent69ab425ef2252b5cde3d015a0902c68f0ad1cd24 (diff)
mmap.2: Add pointers to relevant /proc files described in proc(5)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/mmap.29
1 files changed, 8 insertions, 1 deletions
diff --git a/man2/mmap.2 b/man2/mmap.2
index 62244054..63f4a03a 100644
--- a/man2/mmap.2
+++ b/man2/mmap.2
@@ -37,7 +37,7 @@
.\" 2007-07-10, mtk, Added an example program.
.\" 2008-11-18, mtk, document MAP_STACK
.\"
-.TH MMAP 2 2013-02-25 "Linux" "Linux Programmer's Manual"
+.TH MMAP 2 2013-04-17 "Linux" "Linux Programmer's Manual"
.SH NAME
mmap, munmap \- map or unmap files or devices into memory
.SH SYNOPSIS
@@ -723,6 +723,13 @@ main(int argc, char *argv[])
.BR shm_open (3),
.BR shm_overview (7)
+The descriptions of the following files in
+.BR proc (5):
+.IR /proc/[pid]/maps ,
+.IR /proc/[pid]/map_files ,
+and
+.IR /proc/[pid]/smaps .
+
B.O. Gallmeister, POSIX.4, O'Reilly, pp. 128-129 and 389-391.
.\"
.\" Repeat after me: private read-only mappings are 100% equivalent to