diff options
Diffstat (limited to 'man2/open.2')
| -rw-r--r-- | man2/open.2 | 33 |
1 files changed, 16 insertions, 17 deletions
diff --git a/man2/open.2 b/man2/open.2 index af8120cfab..5eca172ecc 100644 --- a/man2/open.2 +++ b/man2/open.2 @@ -1034,6 +1034,15 @@ and in .BR proc (5). .TP +.B EBADF +.RB ( openat ()) +.I pathname +is relative but +.I dirfd +is neither +.B AT_FDCWD +nor a valid file descriptor. +.TP .B EBUSY .B O_EXCL was specified in @@ -1210,6 +1219,13 @@ is not, in fact, a directory, or \fBO_DIRECTORY\fP was specified and .I pathname was not a directory. .TP +.B ENOTDIR +.RB ( openat ()) +.I pathname +is a relative pathname and +.I dirfd +is a file descriptor referring to a file other than a directory. +.TP .B ENXIO .BR O_NONBLOCK " | " O_WRONLY is set, the named file is a FIFO, and @@ -1285,23 +1301,6 @@ The flag was specified, and an incompatible lease was held on the file (see .BR fcntl (2)). -.PP -The following additional errors can occur for -.BR openat (): -.TP -.B EBADF -.I pathname -is relative but -.I dirfd -is neither -.B AT_FDCWD -nor a valid file descriptor. -.TP -.B ENOTDIR -.I pathname -is a relative pathname and -.I dirfd -is a file descriptor referring to a file other than a directory. .SH VERSIONS .BR openat () was added to Linux in kernel 2.6.16; |
