diff options
author | hsu <hsu@FreeBSD.org> | 1996-03-11 02:05:52 +0000 |
---|---|---|
committer | hsu <hsu@FreeBSD.org> | 1996-03-11 02:05:52 +0000 |
commit | e829f6bd601f6fe70e1a61c48d63ad22725561b4 (patch) | |
tree | a11d57801a8c2c97c051c611e508da50e506348d /sys/sys/dirent.h | |
parent | 77f80925850b39319163630784b5bca9d88fb413 (diff) | |
download | FreeBSD-src-e829f6bd601f6fe70e1a61c48d63ad22725561b4.zip FreeBSD-src-e829f6bd601f6fe70e1a61c48d63ad22725561b4.tar.gz |
Merge in Lite2: use fixed-width types and add whiteout file type.
Reviewed by: davidg & bde
Diffstat (limited to 'sys/sys/dirent.h')
-rw-r--r-- | sys/sys/dirent.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/sys/sys/dirent.h b/sys/sys/dirent.h index 53b9e7a..65475c5 100644 --- a/sys/sys/dirent.h +++ b/sys/sys/dirent.h @@ -30,8 +30,8 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * @(#)dirent.h 8.1 (Berkeley) 6/2/93 - * $Id: dirent.h,v 1.3 1994/08/21 04:41:38 paul Exp $ + * @(#)dirent.h 8.3 (Berkeley) 8/10/94 + * $Id: dirent.h,v 1.5 1996/02/24 04:48:20 hsu Exp $ */ #ifndef _SYS_DIRENT_H_ @@ -49,10 +49,10 @@ */ struct dirent { - unsigned long d_fileno; /* file number of entry */ - unsigned short d_reclen; /* length of this record */ - unsigned char d_type; /* file type, see below */ - unsigned char d_namlen; /* length of string in d_name */ + u_int32_t d_fileno; /* file number of entry */ + u_int16_t d_reclen; /* length of this record */ + u_int8_t d_type; /* file type, see below */ + u_int8_t d_namlen; /* length of string in d_name */ #ifdef _POSIX_SOURCE char d_name[255 + 1]; /* name must be no longer than this */ #else @@ -72,6 +72,7 @@ struct dirent { #define DT_REG 8 #define DT_LNK 10 #define DT_SOCK 12 +#define DT_WHT 14 /* * Convert between stat structure types and directory types. |