blob: 153087fef5f345291d70bd990b01c3ee0e970d6b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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)
|