summaryrefslogtreecommitdiff
path: root/lib/libc/sys/open.2
diff options
context:
space:
mode:
authorwiz <wiz@NetBSD.org>2019-09-16 04:59:32 +0000
committerwiz <wiz@NetBSD.org>2019-09-16 04:59:32 +0000
commitcb2fd06daa26b644be5fba729db1cfbbdd59fef5 (patch)
tree06643d2db795dc99a01ed1ab0dbe0848d58f1370 /lib/libc/sys/open.2
parent78db5de72450a9d606dc0bdee39efab540fa4b57 (diff)
Sort errors.
Diffstat (limited to 'lib/libc/sys/open.2')
-rw-r--r--lib/libc/sys/open.218
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/libc/sys/open.2 b/lib/libc/sys/open.2
index 7d46296a965..b5151e1ce25 100644
--- a/lib/libc/sys/open.2
+++ b/lib/libc/sys/open.2
@@ -1,4 +1,4 @@
-.\" $NetBSD: open.2,v 1.61 2019/09/15 20:53:24 christos Exp $
+.\" $NetBSD: open.2,v 1.62 2019/09/16 04:59:32 wiz Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -433,14 +433,6 @@ In addition,
.Fn openat
will fail if:
.Bl -tag -width Er
-.It Bq Er EINVAL
-An attempt was made to open a descriptor with an illegal combination
-of
-.Dv O_RDONLY ,
-.Dv O_WRONLY ,
-.Dv O_RDWR
-and
-.Dv O_EXEC .
.It Bq Er EBADF
.Fa path
does not specify an absolute path and
@@ -448,6 +440,14 @@ does not specify an absolute path and
is neither
.Dv AT_FDCWD
nor a valid file descriptor open for reading or searching.
+.It Bq Er EINVAL
+An attempt was made to open a descriptor with an illegal combination
+of
+.Dv O_RDONLY ,
+.Dv O_WRONLY ,
+.Dv O_RDWR ,
+and
+.Dv O_EXEC .
.It Bq Er ENOTDIR
.Fa path
is not an absolute path and