From 0bf14b8799fb6be383886aed6496044c52ee4ccf Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Wed, 17 Apr 2013 07:59:41 +0200 Subject: [PATCH] mmap.2: Add pointers to relevant /proc files described in proc(5) Signed-off-by: Michael Kerrisk --- man2/mmap.2 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/man2/mmap.2 b/man2/mmap.2 index 62244054b..63f4a03a7 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