KallistiOS  2.0.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Data Fields
stat_t Struct Reference

File status information. More...

#include <kos/fs.h>

Data Fields

struct vfs_handlerdev
 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)

Detailed Description

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.


Field Documentation

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.


The documentation for this struct was generated from the following file: