blob: 06641fc955bdde57bba1be146b0d8edc0f2243ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#ifndef MAXNAMLEN
#define MAXNAMLEN 255
#endif
struct direct
{
unsigned long int d_fileno;
unsigned short int d_reclen;
unsigned char d_type; /* File type, possibly unknown. */
unsigned char d_namlen; /* Length of the file name. */
char d_name[MAXNAMLEN + 1];
};
#define D_NAMLEN(d) ((d)->d_namlen)
#define HAVE_D_TYPE
|