stat
Overview
Related Modules:
Description:
Defines the file information structure.
Summary
Data Fields
Details
Field Documentation
st_atime
unsigned long stat::st_atime
Description:
Time when the file is accessed for the last time which is represented by the number of seconds passed since 00:00:00 on January 1, 1970
st_atime_nsec
unsigned long stat::st_atime_nsec
Description:
Time when the file is accessed for the last time, which is represented by the number of nanoseconds
st_blksize
unsigned long stat::st_blksize
Description:
Size of the disk block that contains the file
st_blocks
unsigned long stat::st_blocks
Description:
Number of disk blocks occupied by the file
st_ctime
unsigned long stat::st_ctime
Description:
Time when the file state is modified for the last time, which is represented by the number of seconds
st_ctime_nsec
unsigned long stat::st_ctime_nsec
Description:
Time when the file state is modified for the last time, which is represented by the number of nanoseconds
st_dev
unsigned long stat::st_dev
Description:
Device ID used by the file
st_gid
unsigned short stat::st_gid
Description:
Group ID
st_ino
unsigned long stat::st_ino
Description:
Inode number
st_mode
unsigned short stat::st_mode
Description:
File mode, including S_IFDIR (Directory), S_IFCHR (Character device), S_IFBLK (Block device), S_IFREG (Regular file), S_IFIFO (FIFO), S_IFLNK (Symbolic link), and S_IFSOCK (Socket)
st_mtime
unsigned long stat::st_mtime
Description:
Time when the file is modified for the last time which is represented by the number of seconds passed since 00:00:00 on January 1, 1970
st_mtime_nsec
unsigned long stat::st_mtime_nsec
Description:
Time when the file is modified for the last time, which is represented by the number of nanoseconds
st_nlink
unsigned short stat::st_nlink
Description:
Number of hard links
st_rdev
unsigned long stat::st_rdev
Description:
Device ID of the device file
st_size
unsigned long stat::st_size
Description:
File size in bytes
st_uid
unsigned short stat::st_uid
Description:
User ID of owner