summaryrefslogtreecommitdiff
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2012-10-17 05:46:52 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2012-10-17 05:46:52 +0000
commit2a6bc2d7c7636c809d263f1a95734d395e53e06e (patch)
tree6a5e037961aa017ae0c26a7c8a96c22dd308bad0 /lib/libc/sys
parent9338a56e6d0f1ca6861fe7439b48f45fbb7cb44a (diff)
reword this sentence to avoid ambiguity;
original diff from dawe; guenther pointed out another interpretation while here, Fn -> Nm;
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/mmap.212
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/sys/mmap.2 b/lib/libc/sys/mmap.2
index c7c953e0ea8..b503bd0e108 100644
--- a/lib/libc/sys/mmap.2
+++ b/lib/libc/sys/mmap.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mmap.2,v 1.39 2012/04/12 12:53:27 ariane Exp $
+.\" $OpenBSD: mmap.2,v 1.40 2012/10/17 05:46:51 jmc Exp $
.\" $NetBSD: mmap.2,v 1.5 1995/06/24 10:48:59 cgd Exp $
.\"
.\" Copyright (c) 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)mmap.2 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: April 12 2012 $
+.Dd $Mdocdate: October 17 2012 $
.Dt MMAP 2
.Os
.Sh NAME
@@ -188,12 +188,12 @@ The symbol
.Dv MAP_FAILED
is defined in the header
.Ao Pa sys/mman.h Ac .
-No successful return from
-.Fn mmap
-will return the value
+A successful return from
+.Nm
+will never return the value
.Dv MAP_FAILED .
.Sh ERRORS
-.Fn mmap
+.Nm
will fail if:
.Bl -tag -width Er
.It Bq Er EACCES