|
static bool | create (const char *path, Attr attr=attrGroup) |
|
static bool | remove (const char *path) |
|
static bool | setPrefix (const char *path) |
|
static bool | getPrefix (char *path, size_t size=256) |
|
static const char * | getExtension (const char *path) |
|
static const char * | getFilename (const char *path) |
|
static char * | getFilename (const char *path, char *buffer, size_t size=64) |
|
static char * | getDirname (const char *path, char *buffer, size_t size=256) |
|
static char * | getRealpath (const char *path, char *buffer, size_t size=256) |
|
|
enum | Error {
errSuccess = 0
, errNotOpened
, errMapFailed
, errInitFailed
,
errOpenDenied
, errOpenFailed
, errOpenInUse
, errReadInterrupted
,
errReadIncomplete
, errReadFailure
, errWriteInterrupted
, errWriteIncomplete
,
errWriteFailure
, errLockFailure
, errExtended
} |
|
enum | Access { accessReadOnly = O_RDONLY
, accessWriteOnly = O_WRONLY
, accessReadWrite = O_RDWR
} |
|
enum | Open {
openReadOnly = O_RDONLY
, openWriteOnly = O_WRONLY
, openReadWrite = O_RDWR
, openAppend = O_WRONLY | O_APPEND
,
openSync = O_RDWR
, openTruncate = O_RDWR | O_TRUNC
} |
|
enum | Attr { attrInvalid = 0
, attrPrivate = 0400 | 0200
, attrGroup = attrPrivate | 0040 | 0020
, attrPublic = attrGroup | 0004 | 0002
} |
|
enum | Mapping { mappedRead = accessReadOnly
, mappedWrite = accessWriteOnly
, mappedReadWrite = accessReadWrite
} |
|
enum | Complete { completionImmediate
, completionDelayed
, completionDeferred
} |
|
typedef enum Error | Error |
|
typedef enum Access | Access |
|
typedef enum Open | Open |
|
typedef enum Attr | Attr |
|
typedef enum Complete | Complete |
|
typedef enum Mapping | Mapping |
|
typedef struct ost::File::_fcb | fcb_t |
|
A low level portable directory class.
Used to support ccstd Directory container. This provides a basic mechanism for allocating and accessing file entries.
- Author
- David Sugar dyfet.nosp@m.@ost.nosp@m.el.co.nosp@m.m
low level directory access class.