summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-06-14 08:22:05 +0000
committerbde <bde@FreeBSD.org>1998-06-14 08:22:05 +0000
commit6b90b71a8e744a5203ee6958133be30871b0bb5e (patch)
tree6b9f4dfebdbb75314e1692053a8293265e652bf7
parent0f59469cadaabf668b63f693782701a078e56c4f (diff)
downloadFreeBSD-src-6b90b71a8e744a5203ee6958133be30871b0bb5e.zip
FreeBSD-src-6b90b71a8e744a5203ee6958133be30871b0bb5e.tar.gz
Document EINVAL return value.
-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 be85934..abc680e 100644
--- a/lib/libc/sys/getdirentries.2
+++ b/lib/libc/sys/getdirentries.2
@@ -167,6 +167,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
OpenPOWER on IntegriCloud