pal_mirror_structs.h 940 B

123456789101112131415161718192021222324
  1. #pragma once
  2. /**
  3. * File status returned by Stat or FStat.
  4. */
  5. struct FileStatus
  6. {
  7. int32_t Flags; // flags for testing if some members are present (see FileStatusFlags)
  8. int32_t Mode; // file mode (see S_I* constants above for bit values)
  9. uint32_t Uid; // user ID of owner
  10. uint32_t Gid; // group ID of owner
  11. int64_t Size; // total size, in bytes
  12. int64_t ATime; // time of last access
  13. int64_t ATimeNsec; // nanosecond part
  14. int64_t MTime; // time of last modification
  15. int64_t MTimeNsec; // nanosecond part
  16. int64_t CTime; // time of last status change
  17. int64_t CTimeNsec; // nanosecond part
  18. int64_t BirthTime; // time the file was created
  19. int64_t BirthTimeNsec; // nanosecond part
  20. int64_t Dev; // ID of the device containing the file
  21. int64_t Ino; // inode number of the file
  22. uint32_t UserFlags; // user defined flags
  23. };