mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-29 16:21:07 +00:00
14 lines
281 B
C
14 lines
281 B
C
#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)
|