8 #if !defined(__SYS_STAT_H) && !defined(__KERNEL__)
9 #error "Never include <bits/stat.h> directly; use <sys/stat.h> instead."
struct stat stat_t
Data structure which contains information about a file.
int gid_t
The type of group-id.
Definition: stddef.h:43
long int off_t
The type of offset.
Definition: stddef.h:46
unsigned int dev_t
Used for device IDs.
Definition: stddef.h:37
unsigned int ino_t
Define the type of an inode.
Definition: stddef.h:34
unsigned int mode_t
The type of mode.
Definition: stddef.h:49
int uid_t
The type of user-id.
Definition: stddef.h:40
Data structure which contains information about a file.
Definition: stat.h:16
off_t st_size
File Size.
Definition: stat.h:28
time_t st_ctime
Time of last status change.
Definition: stat.h:34
uid_t st_uid
File user id.
Definition: stat.h:24
mode_t st_mode
Mode of file.
Definition: stat.h:22
time_t st_mtime
Time of last data modification.
Definition: stat.h:32
ino_t st_ino
File serial number.
Definition: stat.h:20
time_t st_atime
Time of last access.
Definition: stat.h:30
gid_t st_gid
File group id.
Definition: stat.h:26
dev_t st_dev
ID of device containing file.
Definition: stat.h:18
unsigned int time_t
Used to store time values.
Definition: time.h:22