123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- #ifndef _BITS_DIRENT_H
- #define _BITS_DIRENT_H 1
- struct dirent
- {
- #ifdef __USE_FILE_OFFSET64
- __ino64_t d_ino;
- #else
- __ino_t d_ino;
- int __pad;
- #endif
- __off_t d_off;
- unsigned short int d_reclen;
- unsigned char d_type;
- char d_name[256];
- };
- #ifdef __USE_LARGEFILE64
- struct dirent64
- {
- __ino64_t d_ino;
- __off64_t d_off;
- unsigned short int d_reclen;
- unsigned char d_type;
- char d_name[256];
- };
- #endif
- #define d_fileno d_ino
- #undef _DIRENT_HAVE_D_NAMLEN
- #define _DIRENT_HAVE_D_RECLEN
- #define _DIRENT_HAVE_D_OFF
- #define _DIRENT_HAVE_D_TYPE
- #endif
|