diff --git a/sys/sys/dirent.h b/sys/sys/dirent.h index 53b9e7a4848..65475c5d618 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.