|
enum | Error {
errSuccess = 0,
errNotOpened,
errMapFailed,
errInitFailed,
errOpenDenied,
errOpenFailed,
errOpenInUse,
errReadInterrupted,
errReadIncomplete,
errReadFailure,
errWriteInterrupted,
errWriteIncomplete,
errWriteFailure,
errLockFailure,
errExtended
} |
|
typedef enum Error | Error |
|
enum | Access { accessReadOnly = O_RDONLY,
accessWriteOnly = O_WRONLY,
accessReadWrite = O_RDWR
} |
|
typedef enum Access | Access |
|
enum | Open {
openReadOnly = O_RDONLY,
openWriteOnly = O_WRONLY,
openReadWrite = O_RDWR,
openAppend = O_WRONLY | O_APPEND,
openSync = O_RDWR,
openTruncate = O_RDWR | O_TRUNC
} |
|
typedef enum Open | Open |
|
enum | Attr { attrInvalid = 0,
attrPrivate = 0400 | 0200,
attrGroup = attrPrivate | 0040 | 0020,
attrPublic = attrGroup | 0004 | 0002
} |
|
typedef enum Attr | Attr |
|
enum | Mapping { mappedRead = accessReadOnly,
mappedWrite = accessWriteOnly,
mappedReadWrite = accessReadWrite
} |
|
typedef enum Mapping | Mapping |
|
enum | Complete { completionImmediate,
completionDelayed,
completionDeferred
} |
|
typedef enum Complete | Complete |
|
|
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) |
|
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.
Definition at line 258 of file file.h.