Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/sys Document MAP_ANONYMOUS



details:   https://anonhg.NetBSD.org/src/rev/d0f264765eeb
branches:  trunk
changeset: 459395:d0f264765eeb
user:      sevan <sevan%NetBSD.org@localhost>
date:      Sun Sep 08 17:17:55 2019 +0000

description:
Document MAP_ANONYMOUS

diffstat:

 lib/libc/sys/mmap.2 |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 5fde5025ce3f -r d0f264765eeb lib/libc/sys/mmap.2
--- a/lib/libc/sys/mmap.2       Sun Sep 08 12:17:23 2019 +0000
+++ b/lib/libc/sys/mmap.2       Sun Sep 08 17:17:55 2019 +0000
@@ -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 @@
 .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



Home | Main Index | Thread Index | Old Index