dirent.h
Upload User: tsgydb
Upload Date: 2007-04-14
Package Size: 10674k
Code Size: 0k
Category:

MySQL

Development Platform:

Visual C++

  1. #ifndef _SYS_DIRENT_H
  2. #define _SYS_DIRENT_H
  3. #include <sys/types.h>
  4. #include <linux/limits.h>
  5. struct dirent {
  6. long d_ino;
  7. off_t d_off;
  8. unsigned short d_reclen;
  9. char d_name[NAME_MAX+1];
  10. };
  11. #ifndef d_fileno
  12. #define d_fileno d_ino
  13. #endif
  14. #ifndef d_namlen
  15. #define d_namlen d_reclen
  16. #endif
  17. #ifndef MAXNAMLEN
  18. #define MAXNAMLEN NAME_MAX
  19. #endif
  20. #endif