glibc/sysdeps/unix/sysv/direct.h

11 lines
193 B
C
Raw Normal View History

1995-02-18 01:27:10 +00:00
struct direct
{
unsigned short int d_fileno;
char d_name[14];
};
#define D_NAMLEN(d) \
((d)->d_name[13] == '\0' ? strlen ((d)->d_name) : 14)
#define D_RECLEN(d) (sizeof (*(d)))