diff options
author | 2001-05-11 14:54:25 +0000 | |
---|---|---|
committer | 2001-05-11 14:54:25 +0000 | |
commit | a2d905a3c8a8ee881edfc64bc762d09f3d0f7983 (patch) | |
tree | f4bc990be17d5d5f141bc10c44d18da75cf11700 | |
parent | Missing "len" word in manpage. (diff) | |
download | wireguard-openbsd-a2d905a3c8a8ee881edfc64bc762d09f3d0f7983.tar.xz wireguard-openbsd-a2d905a3c8a8ee881edfc64bc762d09f3d0f7983.zip |
Add back MAP_COPY. Just describe why it shouldn't be used.
-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 |