diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1997-03-28 12:27:42 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1997-03-28 12:27:42 +0000 |
| commit | 58d6cb893aa4d875421f01c2549b1e52e8297b4f (patch) | |
| tree | 00d0b733869402d33c2638582c75ee8e86ec8f8a /lib/libc | |
| parent | 31774f6d83ddd88d80fb353d49bcb64cdf57b4cd (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/sys/getdirentries.2 | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/libc/sys/getdirentries.2 b/lib/libc/sys/getdirentries.2 index 0400bc79c120..be8593475ae6 100644 --- a/lib/libc/sys/getdirentries.2 +++ b/lib/libc/sys/getdirentries.2 @@ -38,7 +38,8 @@ .Nm getdirentries .Nd "get directory entries in a filesystem independent format" .Sh SYNOPSIS -.Fd #include <sys/dirent.h> +.Fd #include <sys/types.h> +.Fd #include <dirent.h> .Ft int .Fn getdirentries "int fd" "char *buf" "int nbytes" "long *basep" .Sh DESCRIPTION @@ -65,11 +66,11 @@ The data in the buffer is a series of .Em dirent structures each containing the following entries: .Bd -literal -offset indent -unsigned long d_fileno; -unsigned short d_reclen; -unsigned char d_type; -unsigned char d_namlen; -char d_name[MAXNAMELEN + 1]; /* see below */ +u_int32_t d_fileno; +u_int16_t d_reclen; +u_int8_t d_type; +u_int8_t d_namelen; +char d_name[MAXNAMELEN + 1]; /* see below */ .Ed .Pp The |
