Struct cais_fs_stat_t¶
Data Structures > cais_fs_stat_t
File or directory metadata status structure.
#include <filesystem.h>
Struct Members¶
| Type | Name |
|---|---|
| long | atime |
| long | ctime |
| cais_bool_t | is_readonly |
| int | mode |
| long | mtime |
| cais_fsize_t | size |
| cais_fs_type_t | type |
Member Details¶
atime¶
Last access timestamp (epoch seconds)
ctime¶
Status change or file creation timestamp (epoch seconds)
is_readonly¶
CAIS_TRUE if read-only attribute is set, CAIS_FALSE otherwise
mode¶
Permission bits (POSIX octal mode flags, e.g. 0644)
mtime¶
Last modification timestamp (epoch seconds)
size¶
File size in bytes (64-bit on supported platforms)
type¶
Node kind (regular file, directory, symlink, etc.)
The documentation was generated from the following file: include/cais/filesystem.h