diff options
| author | Mike Pritchard <mpp@FreeBSD.org> | 1997-03-12 14:34:23 +0000 |
|---|---|---|
| committer | Mike Pritchard <mpp@FreeBSD.org> | 1997-03-12 14:34:23 +0000 |
| commit | e6a450f7edcebdd0f80c4cd20954eb8d2267e1d0 (patch) | |
| tree | c240e548f27038cd0572cf8df6af5a1766186023 /lib/libc/sys | |
| parent | 52fb1ea4d605b6737ee203bfa11f31d044911d1b (diff) | |
Notes
Diffstat (limited to 'lib/libc/sys')
| -rw-r--r-- | lib/libc/sys/getdirentries.2 | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/lib/libc/sys/getdirentries.2 b/lib/libc/sys/getdirentries.2 index 42857bb4de25..0400bc79c120 100644 --- a/lib/libc/sys/getdirentries.2 +++ b/lib/libc/sys/getdirentries.2 @@ -29,9 +29,9 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" @(#)getdirentries.2 8.1 (Berkeley) 6/9/93 +.\" @(#)getdirentries.2 8.2 (Berkeley) 5/3/95 .\" -.Dd June 9, 1993 +.Dd May 3, 1995 .Dt GETDIRENTRIES 2 .Os .Sh NAME @@ -67,7 +67,8 @@ structures each containing the following entries: .Bd -literal -offset indent unsigned long d_fileno; unsigned short d_reclen; -unsigned short d_namlen; +unsigned char d_type; +unsigned char d_namlen; char d_name[MAXNAMELEN + 1]; /* see below */ .Ed .Pp @@ -83,6 +84,11 @@ The .Fa d_reclen entry is the length, in bytes, of the directory record. The +.Fa d_type +entry is the type of the file pointed to by the directory record. +The file type values are defined in +.Fa <sys/dirent.h> . +The .Fa d_name entry contains a null terminated file name. The |
