|
|
|
| Interface status: | externallyDefinedApi |
struct stat;
This structure provides detailed information about a file. The information returned depends on the type of file and/or the file system on which the file resides. Includes following members,
Defined in stat:
intst_atimespectime of last access st_birthtimespecst_blksizeoptimal blocksize for IO st_blocksblocks allocated for file st_ctimespectime of last file status change st_devinode's device st_flagsuser defined flags for file st_genfile generation number st_gidgroup ID of the file's group st_inoinode's number st_lsparest_modeinode protection mode st_mtimespectime of last data modification st_nlinknumber of hard links st_rdevdevice type st_sizefile size, in bytes st_uiduser ID of the file's owner | Interface status: | externallyDefinedApi | Inherited from: stat |
__dev_t st_dev;
inode's device
| Interface status: | externallyDefinedApi | Inherited from: stat |
ino_t st_ino;
inode's number
| Interface status: | externallyDefinedApi | Inherited from: stat |
mode_t st_mode;
inode protection mode
| Interface status: | externallyDefinedApi | Inherited from: stat |
nlink_t st_nlink;
number of hard links
| Interface status: | externallyDefinedApi | Inherited from: stat |
uid_t st_uid;
user ID of the file's owner
| Interface status: | externallyDefinedApi | Inherited from: stat |
gid_t st_gid;
group ID of the file's group
| Interface status: | externallyDefinedApi | Inherited from: stat |
__dev_t st_rdev;
device type
| Interface status: | externallyDefinedApi | Inherited from: stat |
timespec st_atimespec;
time of last access
| Interface status: | externallyDefinedApi | Inherited from: stat |
timespec st_mtimespec;
time of last data modification
| Interface status: | externallyDefinedApi | Inherited from: stat |
timespec st_ctimespec;
time of last file status change
| Interface status: | externallyDefinedApi | Inherited from: stat |
off_t st_size;
file size, in bytes
| Interface status: | externallyDefinedApi | Inherited from: stat |
blkcnt_t st_blocks;
blocks allocated for file
| Interface status: | externallyDefinedApi | Inherited from: stat |
blksize_t st_blksize;
optimal blocksize for IO
| Interface status: | externallyDefinedApi | Inherited from: stat |
fflags_t st_flags;
user defined flags for file
| Interface status: | externallyDefinedApi | Inherited from: stat |
__uint32_t st_gen;
file generation number
| Interface status: | externallyDefinedApi | Inherited from: stat |
unsigned int;