diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-05-11 14:54:26 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-05-11 14:54:26 +0000 |
commit | cf50bf5df7e698ae413339dde7fb93eeebf893a1 (patch) | |
tree | ce4974d91f930e1bf06fad25be9a54b73c56e7d4 /lib/libc/sys | |
parent | f50b9cf5bb036ccaa7969faf38e836eec64b28e7 (diff) |
Add back MAP_COPY. Just describe why it shouldn't be used.
Diffstat (limited to 'lib/libc/sys')
-rw-r--r-- | lib/libc/sys/mmap.2 | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/libc/sys/mmap.2 b/lib/libc/sys/mmap.2 index 0ac2e1047f4..e9a15ad530d 100644 --- a/lib/libc/sys/mmap.2 +++ b/lib/libc/sys/mmap.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mmap.2,v 1.21 2001/05/11 13:59:33 art Exp $ +.\" $OpenBSD: mmap.2,v 1.22 2001/05/11 14:54:25 art Exp $ .\" $NetBSD: mmap.2,v 1.5 1995/06/24 10:48:59 cgd Exp $ .\" .\" Copyright (c) 1991, 1993 @@ -136,6 +136,13 @@ system calls. Modifications are private. .It Dv MAP_SHARED Modifications are shared. +.It Dv MAP_COPY +Modifications are private and unlike +.Dv MAP_PRIVATE +you don't see modifications made by others. +This option is deprecated, shouldn't be used and behaves just like +.Dv MAP_PRIVATE +in the current implementation. .El .Pp The |