aboutsummaryrefslogtreecommitdiffstats
path: root/man3
diff options
context:
space:
mode:
Diffstat (limited to 'man3')
-rw-r--r--man3/mkfifo.36
-rw-r--r--man3/scandir.36
2 files changed, 10 insertions, 2 deletions
diff --git a/man3/mkfifo.3 b/man3/mkfifo.3
index e98c3488e2..85622b239d 100644
--- a/man3/mkfifo.3
+++ b/man3/mkfifo.3
@@ -162,8 +162,12 @@ The following additional errors can occur for
.BR mkfifoat ():
.TP
.B EBADF
+.I pathname
+is relative but
.I dirfd
-is not a valid file descriptor.
+is neither
+.B AT_FDCWD
+nor a valid file descriptor.
.TP
.B ENOTDIR
.I pathname
diff --git a/man3/scandir.3 b/man3/scandir.3
index 0ea295ce33..ba7ef58cae 100644
--- a/man3/scandir.3
+++ b/man3/scandir.3
@@ -204,8 +204,12 @@ The following additional errors can occur for
.BR scandirat ():
.TP
.B EBADF
+.I dirp
+is relative but
.I dirfd
-is not a valid file descriptor.
+is neither
+.B AT_FDCWD
+nor a valid file descriptor.
.TP
.B ENOTDIR
.I dirp