Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ost_file(3) [debian man page]

ost::File(3)						     Library Functions Manual						      ost::File(3)

NAME
ost::File - SYNOPSIS
#include <file.h> Inherited by ost::Dir, and ost::RandomFile. Classes struct _fcb Public Types 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 Static Public Member Functions 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) Protected Types typedef struct ost::File::_fcb fcb_t Member Typedef Documentation typedef enum Access ost::File::Access typedef enum Attr ost::File::Attr typedef enum Complete ost::File::Complete typedef enum Error ost::File::Error typedef struct ost::File::_fcb ost::File::fcb_t [protected] typedef enum Mapping ost::File::Mapping typedef enum Open ost::File::Open Member Enumeration Documentation enum ost::File::Access Enumerator: accessReadOnly accessWriteOnly accessReadWrite enum ost::File::Attr Enumerator: attrInvalid attrPrivate attrGroup attrPublic enum ost::File::Complete Enumerator: completionImmediate completionDelayed completionDeferred enum ost::File::Error Enumerator: errSuccess errNotOpened errMapFailed errInitFailed errOpenDenied errOpenFailed errOpenInUse errReadInterrupted errReadIncomplete errReadFailure errWriteInterrupted errWriteIncomplete errWriteFailure errLockFailure errExtended enum ost::File::Mapping Enumerator: mappedRead mappedWrite mappedReadWrite enum ost::File::Open Enumerator: openReadOnly openWriteOnly openReadWrite openAppend openSync openTruncate Member Function Documentation static char* ost::File::getDirname (const char *path, char *buffer, size_tsize = 256) [static] static const char* ost::File::getExtension (const char *path) [static] static const char* ost::File::getFilename (const char *path) [static] static char* ost::File::getFilename (const char *path, char *buffer, size_tsize = 64) [static] static char* ost::File::getRealpath (const char *path, char *buffer, size_tsize = 256) [static] Author Generated automatically by Doxygen for GNU CommonC++ from the source code. GNU CommonC++ Sat Jun 23 2012 ost::File(3)

Check Out this Related Man Page

ost::Dir(3)						     Library Functions Manual						       ost::Dir(3)

NAME
ost::Dir - A low level portable directory class. SYNOPSIS
#include <file.h> Inherits ost::File. Public Member Functions Dir (const char *name=NULL) void open (const char *name) void close (void) virtual ~Dir () const char * getName (void) const char * operator++ () const char * operator++ (int) const char * operator* () bool rewind (void) bool operator! () bool isValid (void) Static Public Member Functions 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) Additional Inherited Members Detailed Description 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@ostel.com low level directory access class. Constructor &; Destructor Documentation ost::Dir::Dir (const char *name = NULL) virtual ost::Dir::~Dir () [virtual] Member Function Documentation void ost::Dir::close (void) static bool ost::Dir::create (const char *path, Attrattr = attrGroup) [static] const char* ost::Dir::getName (void) static bool ost::Dir::getPrefix (char *path, size_tsize = 256) [static] bool ost::Dir::isValid (void) void ost::Dir::open (const char *name) bool ost::Dir::operator! () [inline] const char* ost::Dir::operator* () const char* ost::Dir::operator++ () [inline] const char* ost::Dir::operator++ (int) [inline] static bool ost::Dir::remove (const char *path) [static] bool ost::Dir::rewind (void) static bool ost::Dir::setPrefix (const char *path) [static] Author Generated automatically by Doxygen for GNU CommonC++ from the source code. GNU CommonC++ Sat Jun 23 2012 ost::Dir(3)
Man Page