diff options
author | bde <bde@FreeBSD.org> | 1998-06-14 08:22:05 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-06-14 08:22:05 +0000 |
commit | 6b90b71a8e744a5203ee6958133be30871b0bb5e (patch) | |
tree | 6b9f4dfebdbb75314e1692053a8293265e652bf7 /lib/libc/sys/getdirentries.2 | |
parent | 0f59469cadaabf668b63f693782701a078e56c4f (diff) | |
download | FreeBSD-src-6b90b71a8e744a5203ee6958133be30871b0bb5e.zip FreeBSD-src-6b90b71a8e744a5203ee6958133be30871b0bb5e.tar.gz |
Document EINVAL return value.
Diffstat (limited to 'lib/libc/sys/getdirentries.2')
-rw-r--r-- | lib/libc/sys/getdirentries.2 | 7 |
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 |