12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- #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
|