-.ta 1i 1.7i 2.5i
- struct stat {
- dev_t st_dev; /* device inode resides on */
- ino_t st_ino; /* this inode's number */
- u_short st_mode; /* protection */
- short st_nlink; /* number or hard links to the file */
- uid_t st_uid; /* user-id of owner */
- gid_t st_gid; /* group-id of owner */
- dev_t st_rdev; /* the device type, for inode that is device */
- off_t st_size; /* total size of file */
- time_t st_atime; /* file last access time */
- int st_spare1;
- time_t st_mtime; /* file last modify time */
- int st_spare2;
- time_t st_ctime; /* file last status change time */
- int st_spare3;
- long st_blksize; /* optimal blocksize for file system i/o ops */
- long st_blocks; /* actual number of blocks allocated */
- long st_spare4[2];
+ struct stat {
+ dev_t st_dev; /* device inode resides on */
+ ino_t st_ino; /* inode's number */
+ u_short st_mode; /* inode protection mode */
+ short st_nlink; /* number or hard links to the file */
+ uid_t st_uid; /* user-id of owner */
+ gid_t st_gid; /* group-id of owner */
+ dev_t st_rdev; /* device type, for special file inode */
+ off_t st_size; /* file size, in bytes */
+ time_t st_atime; /* time of last access */
+ int st_spare1;
+ time_t st_mtime; /* time of last data modification */
+ int st_spare2;
+ time_t st_ctime; /* time of last file status change */
+ int st_spare3;
+ long st_blksize; /* optimal file system I/O ops blocksize */
+ long st_blocks; /* blocks allocated for file */
+ u_long st_flags; /* user defined flags for file */
+ u_long st_gen; /* file generation number */