Module Name: src
Committed By: sevan
Date: Sun Sep 8 17:17:55 UTC 2019
Modified Files:
src/lib/libc/sys: mmap.2
Log Message:
Document MAP_ANONYMOUS
To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/lib/libc/sys/mmap.2
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/sys/mmap.2
diff -u src/lib/libc/sys/mmap.2:1.53 src/lib/libc/sys/mmap.2:1.54
--- src/lib/libc/sys/mmap.2:1.53 Wed Jun 19 20:20:52 2019
+++ src/lib/libc/sys/mmap.2 Sun Sep 8 17:17:55 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: mmap.2,v 1.53 2019/06/19 20:20:52 uwe Exp $
+.\" $NetBSD: mmap.2,v 1.54 2019/09/08 17:17:55 sevan Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)mmap.2 8.4 (Berkeley) 5/11/95
.\"
-.Dd May 2, 2018
+.Dd September 8, 2019
.Dt MMAP 2
.Os
.Sh NAME
@@ -168,6 +168,9 @@ The file descriptor is not used for crea
.Dv MAP_ANON
regions, and must be specified as \-1.
The mapped memory will be zero filled.
+.It Dv MAP_ANONYMOUS
+Synonymous with
+.Dv MAP_ANON .
.It Dv MAP_FILE
Mapped from a regular file or character-special device memory.
Read accesses beyond the end of of the file or device but less