KallistiOS
2.0.0
|
File status information. More...
#include <kos/fs.h>
Data Fields | |
struct vfs_handler * | dev |
The VFS handler for this file/dir. | |
uint32 | unique |
A unique identifier on the VFS for this file/dir. | |
uint32 | type |
File/Dir type. | |
uint32 | attr |
Attributes. | |
off_t | size |
Total file size, if applicable. | |
time_t | time |
Last access/mod/change time (depends on VFS) |
File status information.
This structure, while different from the standard POSIX stat structure, provides much of the same information. We limit it to only what is relevant for KOS.
uint32 stat_t::attr |
Attributes.
struct vfs_handler* stat_t::dev |
The VFS handler for this file/dir.
off_t stat_t::size |
Total file size, if applicable.
time_t stat_t::time |
Last access/mod/change time (depends on VFS)
uint32 stat_t::type |
File/Dir type.
uint32 stat_t::unique |
A unique identifier on the VFS for this file/dir.