static class |
LibC.stat
C struct stat
// struct stat {
// dev_t st_dev; /* [XSI] ID of device containing file 4 0
// ino_t st_ino; /* [XSI] File serial number 4 4
// mode_t st_mode; /* [XSI] Mode of file (see below) 2 8
// nlink_t st_nlink; /* [XSI] Number of hard links 2 10
// uid_t st_uid; /* [XSI] User ID of the file 4 12
// gid_t st_gid; /* [XSI] Group ID of the file 4 16
// dev_t st_rdev; /* [XSI] Device ID 4 20
// time_t st_atime; /* [XSI] Time of last access 4 24
// long st_atimensec; /* nsec of last access 4 28
// time_t st_mtime; /* [XSI] Last data modification time 4 32
// long st_mtimensec; /* last data modification nsec 4 36
// time_t st_ctime; /* [XSI] Time of last status change 4 40
// long st_ctimensec; /* nsec of last status change 4 44
// off_t st_size; /* [XSI] file size, in bytes 8 48
// blkcnt_t st_blocks; /* [XSI] blocks allocated for file 8
// blksize_t st_blksize; /* [XSI] optimal blocksize for I/O 4
// __uint32_t st_flags; /* user defined flags for file 4
// __uint32_t st_gen; /* file generation number 4
// __int32_t st_lspare; /* RESERVED: DO NOT USE! 4
// __int64_t st_qspare[2]; /* RESERVED: DO NOT USE! 16
// }; |