diff options
author | kib <kib@FreeBSD.org> | 2017-05-31 09:23:21 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2017-05-31 09:23:21 +0000 |
commit | af42b0934318803674b7a0f1717b31ca9fc84585 (patch) | |
tree | 31e548ef91ae16252b395eef9e7e4a4db48a42f7 /lib/libc | |
parent | 29adcb7e1b1ef78233cfd5e29c13e3392ca25da1 (diff) | |
download | FreeBSD-src-af42b0934318803674b7a0f1717b31ca9fc84585.zip FreeBSD-src-af42b0934318803674b7a0f1717b31ca9fc84585.tar.gz |
MFC r319086:
Mention that the basep argument to getdirentries(2) can be NULL.
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/sys/getdirentries.2 | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/libc/sys/getdirentries.2 b/lib/libc/sys/getdirentries.2 index e4f61db..ee05d33 100644 --- a/lib/libc/sys/getdirentries.2 +++ b/lib/libc/sys/getdirentries.2 @@ -124,7 +124,10 @@ or A value of zero is returned when the end of the directory has been reached. .Pp -The +If the +.Fa basep +pointer value is non-NULL , +the .Fn getdirentries system call writes the position of the block read into the location pointed to by .Fa basep . @@ -157,7 +160,7 @@ is not a valid file descriptor open for reading. .It Bq Er EFAULT Either .Fa buf -or +or non-NULL .Fa basep point outside the allocated address space. .It Bq Er EINVAL |