Based on: sys/stat.h
Field | Size | Offset | Note |
---|---|---|---|
ST_DEV | 2 | 0 | dev_t is a u short |
ST_INO | 2 | 2 | ino_t is a u short |
ST_MODE | 4 | 4 | mode_t is a u int |
ST_NLINK | 2 | 8 | nlink_t is a u short |
ST_UID | 2 | 10 | uid_t is a u short |
ST_GID | 2 | 12 | gid_t is a u short |
ST_RDEV | 2 | 14 | dev_t is a u short |
ST_SIZE | 4 | 16 | off_t is a u int |
ST_ATIME | 4 | 20 | time_t is a u int ? |
ST_SPARE1 | 4 | 24 | long |
ST_MTIME | 4 | 28 | time_t is a u int ? |
ST_SPARE2 | 4 | 32 | long |
ST_CTIME | 4 | 36 | time_t is a u int ? |
ST_SPARE3 | 4 | 40 | long |
ST_BLKSIZE | 4 | 44 | long |
ST_BLOCKS | 4 | 48 | long |
ST_SPARE4 | 8 | 52 | long[2] |
TOTAL SIZE = 60 bytes