summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2013-04-08 19:35:01 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2013-04-08 19:35:01 +0000
commit1c1b8afeaa8539ca2750d56d48344fd5ca467008 (patch)
tree8de25715026de9e7b896c6f2f43ab936f73b74c0 /lib
parent5e23820c8135672151d123ff0724c631da91c23f (diff)
Use .Er for errno E* constants
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/getfh.224
-rw-r--r--lib/libc/sys/mmap.26
-rw-r--r--lib/libc/sys/mquery.26
3 files changed, 18 insertions, 18 deletions
diff --git a/lib/libc/sys/getfh.2 b/lib/libc/sys/getfh.2
index f1645314b1d..8e7301e0ed2 100644
--- a/lib/libc/sys/getfh.2
+++ b/lib/libc/sys/getfh.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getfh.2,v 1.14 2007/05/31 19:19:32 jmc Exp $
+.\" $OpenBSD: getfh.2,v 1.15 2013/04/08 19:35:00 guenther Exp $
.\" $NetBSD: getfh.2,v 1.7 1995/10/12 15:40:53 jtc Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)getfh.2 8.1 (Berkeley) 6/9/93
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: April 8 2013 $
.Dt GETFH 2
.Os
.Sh NAME
@@ -57,11 +57,11 @@ is set to indicate the error.
.Fn getfh
fails if one or more of the following are true:
.Bl -tag -width Er
-.It Bq ENOTDIR
+.It Bq Er ENOTDIR
A component of the path prefix of
.Fa path
is not a directory.
-.It Bq ENAMETOOLONG
+.It Bq Er ENAMETOOLONG
The length of a component of
.Fa path
exceeds
@@ -71,32 +71,32 @@ characters, or the length of
exceeds
.Dv {PATH_MAX}
characters.
-.It Bq ENOENT
+.It Bq Er ENOENT
The file referred to by
.Fa path
does not exist.
-.It Bq EACCES
+.It Bq Er EACCES
Search permission is denied for a component of the path prefix of
.Fa path .
-.It Bq ELOOP
+.It Bq Er ELOOP
Too many symbolic links were encountered in translating
.Fa path .
-.It Bq EPERM
+.It Bq Er EPERM
The effective user ID is not the superuser.
-.It Bq EFAULT
+.It Bq Er EFAULT
.Fa fhp
or
.Fa path
points to an invalid address.
-.It Bq EIO
+.It Bq Er EIO
An
.Tn I/O
error occurred while reading from or writing to the file system.
-.It Bq EINVAL
+.It Bq Er EINVAL
A portion of
.Fa path
refers to a remote file system.
-.It Bq EOPNOTSUPP
+.It Bq Er EOPNOTSUPP
A portion of
.Fa path
refers to a remote file system.
diff --git a/lib/libc/sys/mmap.2 b/lib/libc/sys/mmap.2
index b503bd0e108..37f819c71ab 100644
--- a/lib/libc/sys/mmap.2
+++ b/lib/libc/sys/mmap.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mmap.2,v 1.40 2012/10/17 05:46:51 jmc Exp $
+.\" $OpenBSD: mmap.2,v 1.41 2013/04/08 19:35:00 guenther 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: October 17 2012 $
+.Dd $Mdocdate: April 8 2013 $
.Dt MMAP 2
.Os
.Sh NAME
@@ -84,7 +84,7 @@ may be rounded up to hit a page boundary.
If
.Fa len
is 0, the mapping will fail with
-.Dv EINVAL .
+.Er EINVAL .
.Pp
If an
.Fa fd
diff --git a/lib/libc/sys/mquery.2 b/lib/libc/sys/mquery.2
index e26f7f5235c..c53162ed3e1 100644
--- a/lib/libc/sys/mquery.2
+++ b/lib/libc/sys/mquery.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mquery.2,v 1.9 2008/06/30 05:59:19 otto Exp $
+.\" $OpenBSD: mquery.2,v 1.10 2013/04/08 19:35:00 guenther Exp $
.\"
.\" Copyright (c) 2003 Artur Grabowski <art@openbsd.org>
.\" All rights reserved.
@@ -23,7 +23,7 @@
.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
.\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: June 30 2008 $
+.Dd $Mdocdate: April 8 2013 $
.Dt MQUERY 2
.Os
.Sh NAME
@@ -74,7 +74,7 @@ will return
and set
.Va errno
to
-.Dv ENOMEM
+.Er ENOMEM
if there is not
.Fa size
bytes free after that address.