logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Author

       Generated automatically by Doxygen for GNU CommonC++ from the source code.

GNU CommonC++                                    Sun Dec 27 2020                                    ost::File(3)

Member Enumeration Documentation

enumost::File::AccessEnumeratoraccessReadOnlyaccessWriteOnlyaccessReadWriteenumost::File::AttrEnumeratorattrInvalidattrPrivateattrGroupattrPublicenumost::File::CompleteEnumeratorcompletionImmediatecompletionDelayedcompletionDeferredenumost::File::ErrorEnumeratorerrSuccesserrNotOpenederrMapFailederrInitFailederrOpenDeniederrOpenFailederrOpenInUseerrReadInterruptederrReadIncompleteerrReadFailureerrWriteInterruptederrWriteIncompleteerrWriteFailureerrLockFailureerrExtendedenumost::File::MappingEnumeratormappedReadmappedWritemappedReadWriteenumost::File::OpenEnumeratoropenReadOnlyopenWriteOnlyopenReadWriteopenAppendopenSyncopenTruncate

Member Function Documentation

staticchar*ost::File::getDirname(constchar*path,char*buffer,size_tsize=256)[static]staticconstchar*ost::File::getExtension(constchar*path)[static]staticconstchar*ost::File::getFilename(constchar*path)[static]staticchar*ost::File::getFilename(constchar*path,char*buffer,size_tsize=64)[static]staticchar*ost::File::getRealpath(constchar*path,char*buffer,size_tsize=256)[static]

Member Typedef Documentation

typedefenumAccessost::File::AccesstypedefenumAttrost::File::AttrtypedefenumCompleteost::File::CompletetypedefenumErrorost::File::Errortypedefstructost::File::_fcbost::File::fcb_t[protected]typedefenumMappingost::File::MappingtypedefenumOpenost::File::Open

Name

       ost::File

Synopsis

       #include <file.h>

       Inherited by ost::Dir, and ost::RandomFile.

   Classes
       struct _fcbPublicTypes
       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 ErrorError
       typedef enum AccessAccess
       typedef enum OpenOpen
       typedef enum AttrAttr
       typedef enum CompleteComplete
       typedef enum MappingMappingStaticPublicMemberFunctions
       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)

   ProtectedTypes
       typedef struct ost::File::_fcbfcb_t

See Also