summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/getdirentries.27
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
OpenPOWER on IntegriCloud