You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
268 B

  1. #pragma once
  2. #include <stdint.h>
  3. #include <string.h>
  4. #define DIRENT_NAMELEN(X) (strlen((X)->name))
  5. typedef struct linux_dirent64_t linux_dirent64_t;
  6. struct linux_dirent64_t
  7. {
  8. uint64_t ino;
  9. int64_t off;
  10. uint16_t reclen;
  11. uint8_t type;
  12. char name[];
  13. };