Stat Structure
The struct stat structure, also defined in
- st_dev
- Identifier of device containing file
- st_ino
- Inode number
- st_mode
- Protection mode. See also Unix permissions.
- st_nlink
- Reference count of hard links
- st_uid
- User identifier of owner
- st_gid
- Group identifier of owner
- st_rdev
- Device identifier (if special file)
- st_size
- Total file size, in bytes
- st_atime
- Time of last access
- st_mtime
- Time of last modification
- st_ctime
- Time of last status change
- st_blksize
- Block size for filesystem I/O
- st_blocks
- Number of blocks allocated
The st_mode field is a bit field. It combines the file access modes and also indicates any special file type. There are many macros to work with the different mode flags and file types.
Read more about this topic: Stat (system Call)
Famous quotes containing the word structure:
“Women over fifty already form one of the largest groups in the population structure of the western world. As long as they like themselves, they will not be an oppressed minority. In order to like themselves they must reject trivialization by others of who and what they are. A grown woman should not have to masquerade as a girl in order to remain in the land of the living.”
—Germaine Greer (b. 1939)