|
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members
file.h File Reference
Go to the source code of this file.
Compounds |
struct | _fcb |
class | Dir |
class | DSO |
class | FIFOSession |
class | fifostream |
class | MappedFile |
class | Pipe |
class | RandomFile |
class | SharedFile |
class | ThreadFile |
Typedefs |
typedef unsigned long | pos_t |
typedef struct _fcb | fcb_t |
Enumerations |
enum | {
FILE_OPEN_READONLY = O_RDONLY,
FILE_OPEN_WRITEONLY = O_WRONLY,
FILE_OPEN_READWRITE = O_RDWR,
FILE_OPEN_APPEND = O_WRONLY | O_APPEND,
FILE_OPEN_SYNC = O_RDWR | O_SYNC,
FILE_OPEN_SYNC = O_RDWR | O_SYNC,
FILE_OPEN_TRUNCATE = O_RDWR | O_TRUNC
} |
enum | fileattr_t {
FILE_ATTR_INVALID = 0,
FILE_ATTR_PRIVATE = S_IRUSR | S_IWUSR,
FILE_ATTR_GROUP = FILE_ATTR_PRIVATE | S_IRGRP | S_IWGRP,
FILE_ATTR_PUBLIC = FILE_ATTR_GROUP | S_IROTH | S_IWOTH
} |
enum | fileerror_t {
FILE_SUCCESS = 0,
FILE_NOT_OPENED,
FILE_MAP_FAILED,
FILE_INIT_FAILED,
FILE_OPEN_DENIED,
FILE_OPEN_FAILED,
FILE_OPEN_INUSE,
FILE_READ_INTERRUPTED,
FILE_READ_INCOMPLETE,
FILE_READ_FAILURE,
FILE_WRITE_INTERRUPTED,
FILE_WRITE_INCOMPLETE,
FILE_WRITE_FAILURE,
FILE_EXTENDED_ERROR
} |
enum | fileaccess_t {
FILE_ACCESS_READONLY = O_RDONLY,
FILE_ACCESS_WRITEONLY = O_WRONLY,
FILE_ACCESS_READWRITE = O_RDWR
} |
enum | filecomplete_t {
FILE_COMPLETION_IMMEDIATE,
FILE_COMPLETION_DELAYED,
FILE_COMPLETION_DEFERRED
} |
Functions |
bool | isDir (const char *path) |
bool | isFile (const char *path) |
bool | isDevice (const char *path) |
bool | canAccess (const char *path) |
bool | canModify (const char *path) |
Typedef Documentation
typedef struct _fcb fcb_t
|
|
typedef unsigned long pos_t
|
|
Enumeration Type Documentation
|
-
Enumeration values:
-
FILE_OPEN_READONLY
|
|
FILE_OPEN_WRITEONLY
|
|
FILE_OPEN_READWRITE
|
|
FILE_OPEN_APPEND
|
|
FILE_OPEN_SYNC
|
|
FILE_OPEN_SYNC
|
|
FILE_OPEN_TRUNCATE
|
|
|
|
-
Enumeration values:
-
FILE_ACCESS_READONLY
|
|
FILE_ACCESS_WRITEONLY
|
|
FILE_ACCESS_READWRITE
|
|
|
|
-
Enumeration values:
-
FILE_ATTR_INVALID
|
|
FILE_ATTR_PRIVATE
|
|
FILE_ATTR_GROUP
|
|
FILE_ATTR_PUBLIC
|
|
|
|
-
Enumeration values:
-
FILE_COMPLETION_IMMEDIATE
|
|
FILE_COMPLETION_DELAYED
|
|
FILE_COMPLETION_DEFERRED
|
|
|
|
-
Enumeration values:
-
FILE_SUCCESS
|
|
FILE_NOT_OPENED
|
|
FILE_MAP_FAILED
|
|
FILE_INIT_FAILED
|
|
FILE_OPEN_DENIED
|
|
FILE_OPEN_FAILED
|
|
FILE_OPEN_INUSE
|
|
FILE_READ_INTERRUPTED
|
|
FILE_READ_INCOMPLETE
|
|
FILE_READ_FAILURE
|
|
FILE_WRITE_INTERRUPTED
|
|
FILE_WRITE_INCOMPLETE
|
|
FILE_WRITE_FAILURE
|
|
FILE_EXTENDED_ERROR
|
|
|
Function Documentation
bool canAccess (
|
const char * path )
|
|
bool canModify (
|
const char * path )
|
|
bool isDevice (
|
const char * path )
|
|
bool isDir (
|
const char * path )
|
|
bool isFile (
|
const char * path )
|
|
Generated at Fri Mar 23 10:47:54 2001 for CommonC++ by
1.2.1 written by Dimitri van Heesch,
© 1997-2000
|