summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-06-23 05:45:59 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-06-23 05:45:59 +0000
commitab1539e5dae526698e04a82215fd17b70f4da3d5 (patch)
tree0ba413b96451cec1d35a23fac8e8f3eb621ff5c9
parent8a9a837ab73eccd9203149fbf40739f6c3d4729a (diff)
doc EINVAL; bde
-rw-r--r--lib/libc/sys/getdirentries.27
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libc/sys/getdirentries.2 b/lib/libc/sys/getdirentries.2
index d7ecb5de859..d56d8c9541f 100644
--- a/lib/libc/sys/getdirentries.2
+++ b/lib/libc/sys/getdirentries.2
@@ -140,6 +140,13 @@ Either
or
.Fa basep
point outside the allocated address space.
+.It Bq Er EINVAL
+The file referenced by
+.Fa fd
+is not a directory, or
+.Fa nbytes
+is too small for returning a directory entry or block of entries,
+or the current position pointer is invalid.
.It Bq Er EIO
An
.Tn I/O