Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151831803
D20111.id56983.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
818 B
Referenced Files
None
Subscribers
None
D20111.id56983.diff
View Options
Index: head/lib/libc/gen/directory.3
===================================================================
--- head/lib/libc/gen/directory.3
+++ head/lib/libc/gen/directory.3
@@ -28,7 +28,7 @@
.\" @(#)directory.3 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd May 22, 2017
+.Dd April 30, 2019
.Dt DIRECTORY 3
.Os
.Sh NAME
@@ -264,6 +264,30 @@
.Xr open 2 ,
.Xr read 2 ,
.Xr dir 5
+.Sh STANDARDS
+The
+.Fn closedir ,
+.Fn dirfd ,
+.Fn fdopendir ,
+.Fn opendir ,
+.Fn readdir ,
+.Fn readdir_r ,
+.Fn rewinddir ,
+.Fn seekdir
+and
+.Fn telldir
+functions are expected to conform to
+.St -p1003.1-2008 .
+The
+.Fn fdclosedir
+function and the
+.Fa d_off ,
+.Fa d_reclen
+and
+.Fa d_type
+fields of
+.Vt struct dirent
+are non-standard, and should not be used in portable programs.
.Sh HISTORY
The
.Fn opendir ,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 11, 11:28 PM (1 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31314524
Default Alt Text
D20111.id56983.diff (818 B)
Attached To
Mode
D20111: directory.3: add a STANDARDS section
Attached
Detach File
Event Timeline
Log In to Comment