glibc/sysdeps/unix/bsd/direct.h

14 lines
281 B
C
Raw Normal View History

1995-02-18 01:27:10 +00:00
#ifndef MAXNAMLEN
#define MAXNAMLEN 255
#endif
struct direct
{
unsigned int d_fileno; /* 32 bits. */
unsigned short int d_reclen; /* 16 bits. */
unsigned short int d_namlen; /* 16 bits. */
char d_name[MAXNAMLEN + 1];
};
#define D_NAMLEN(d) ((d)->d_namlen)