File status information returned by stat(), fstat(), and lstat().
More...
#include <zephyr/posix/sys/stat.h>
|
| dev_t | st_dev |
| | Device ID of the device containing the file.
|
| |
| ino_t | st_ino |
| | File serial number (inode).
|
| |
| mode_t | st_mode |
| | File type and permission bits (S_IF* and S_I* constants).
|
| |
| nlink_t | st_nlink |
| | Number of hard links.
|
| |
| uid_t | st_uid |
| | User ID of the file owner.
|
| |
| gid_t | st_gid |
| | Group ID of the file's group.
|
| |
| dev_t | st_rdev |
| | Device ID (for character/block special files).
|
| |
| off_t | st_size |
| | File size in bytes (regular files).
|
| |
| struct timespec | st_atim |
| | Time of last access.
|
| |
| struct timespec | st_mtim |
| | Time of last data modification.
|
| |
| struct timespec | st_ctim |
| | Time of last status change.
|
| |
| blkcnt_t | st_blksize |
| | Preferred I/O block size.
|
| |
| blkcnt_t | st_blocks |
| | Number of 512-byte blocks allocated.
|
| |
File status information returned by stat(), fstat(), and lstat().
Definition at line 108 of file stat.h.
◆ st_atim
Time of last access.
Definition at line 119 of file stat.h.
◆ st_blksize
| blkcnt_t stat::st_blksize |
Preferred I/O block size.
Definition at line 123 of file stat.h.
◆ st_blocks
Number of 512-byte blocks allocated.
Definition at line 124 of file stat.h.
◆ st_ctim
Time of last status change.
Definition at line 121 of file stat.h.
◆ st_dev
Device ID of the device containing the file.
Definition at line 109 of file stat.h.
◆ st_gid
Group ID of the file's group.
Definition at line 114 of file stat.h.
◆ st_ino
File serial number (inode).
Definition at line 110 of file stat.h.
◆ st_mode
File type and permission bits (S_IF* and S_I* constants).
Definition at line 111 of file stat.h.
◆ st_mtim
Time of last data modification.
Definition at line 120 of file stat.h.
◆ st_nlink
Number of hard links.
Definition at line 112 of file stat.h.
◆ st_rdev
Device ID (for character/block special files).
Definition at line 116 of file stat.h.
◆ st_size
File size in bytes (regular files).
Definition at line 118 of file stat.h.
◆ st_uid
User ID of the file owner.
Definition at line 113 of file stat.h.
The documentation for this struct was generated from the following file: