summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorart <art@openbsd.org>2001-05-11 13:59:33 +0000
committerart <art@openbsd.org>2001-05-11 13:59:33 +0000
commiteca13891eda24d7a9bb1a63c2480122b10c91648 (patch)
treed5c5fa3fd57cf95da892abe76cb90b0d11b6e70e /lib/libc
parentmmap returns MAP_FAILED when it fails, not -1 (diff)
downloadwireguard-openbsd-eca13891eda24d7a9bb1a63c2480122b10c91648.tar.xz
wireguard-openbsd-eca13891eda24d7a9bb1a63c2480122b10c91648.zip
Remove MAP_COPY. It shouldn't be used anymore.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/mmap.26
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/libc/sys/mmap.2 b/lib/libc/sys/mmap.2
index de58e7f0886..0ac2e1047f4 100644
--- a/lib/libc/sys/mmap.2
+++ b/lib/libc/sys/mmap.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mmap.2,v 1.20 2000/10/18 05:12:10 aaron Exp $
+.\" $OpenBSD: mmap.2,v 1.21 2001/05/11 13:59:33 art Exp $
.\" $NetBSD: mmap.2,v 1.5 1995/06/24 10:48:59 cgd Exp $
.\"
.\" Copyright (c) 1991, 1993
@@ -136,10 +136,6 @@ 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.
.El
.Pp
The