Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163265587
D10972.id28959.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
607 B
Referenced Files
None
Subscribers
None
D10972.id28959.diff
View Options
Index: head/lib/libc/sys/getdirentries.2
===================================================================
--- head/lib/libc/sys/getdirentries.2
+++ head/lib/libc/sys/getdirentries.2
@@ -125,7 +125,10 @@
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 .
@@ -158,7 +161,7 @@
.It Bq Er EFAULT
Either
.Fa buf
-or
+or non-NULL
.Fa basep
point outside the allocated address space.
.It Bq Er EINVAL
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jul 22, 2:13 PM (1 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35366737
Default Alt Text
D10972.id28959.diff (607 B)
Attached To
Mode
D10972: getdirentries(2): Note it explicit that basep can be NULL.
Attached
Detach File
Event Timeline
Log In to Comment