entered into RCS

This commit is contained in:
Roland McGrath 1993-11-03 17:14:27 +00:00
parent c7edefbd7c
commit 94cbbc939d
1 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,15 @@
#ifndef MAXNAMLEN
#define MAXNAMLEN 255
#endif
struct direct
{
unsigned long int d_ino;
off_t d_off;
unsigned short int d_reclen;
char d_name[MAXNAMLEN + 1];
};
#define D_NAMLEN(d) (strlen ((d)->d_name))
#define D_RECLEN(d) (d->d_reclen)