-.I stat
-structure into which information is placed concerning the file.
-The contents of the structure pointed to by
-.IR buf :
-.PP
-.nf
- 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 */
- };
-.fi
-.DT
-.PP
-.TP
-st_atime
-Time when file data was last accessed. Changed by the following system
+.Fn stat
+structure
+as defined by
+.Aq Pa sys/stat.h
+(shown below)
+and into which information is placed concerning the file.
+.Bd -literal
+struct stat {
+ dev_t st_dev; /* device inode resides on */
+ ino_t st_ino; /* inode's number */
+ mode_t st_mode; /* inode protection mode */
+ nlink_t 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 */
+ long st_spare1;
+ time_t st_mtime; /* time of last data modification */
+ long st_spare2;
+ time_t st_ctime; /* time of last file status change */
+ long st_spare3;
+ long st_blksize;/* optimal file sys 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 */
+};
+.Ed
+.Pp
+The time-related fields of
+.Fa struct stat
+are as follows:
+.Bl -tag -width st_blocks
+.It st_atime
+Time when file data last accessed. Changed by the following system