ucommon  7.0.0
About: GNU uCommon C++ is a portable and optimized class framework for writing C++ applications that need to use threads and support concurrent synchronization, and that use sockets, XML parsing, object serialization, thread-optimized string and data structure classes, etc..
  Fossies Dox: ucommon-7.0.0.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

No Matches
file.h File Reference

Files and dynamic loader services. More...

#include <commoncpp/config.h>
#include <commoncpp/thread.h>
#include <commoncpp/exception.h>
#include <fcntl.h>
#include <cstdio>
#include <dirent.h>
#include <sys/stat.h>
#include <sys/mman.h>
Include dependency graph for file.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  ost::File
struct  ost::File::_fcb
class  ost::Dir
 A low level portable directory class. More...
class  ost::DirTree
 A generic class to walk a hierarchical directory structure. More...
class  ost::RandomFile
 The purpose of this class is to define a base class for low level random file access that is portable between Win32 and Posix systems. More...
class  ost::SharedFile
 This class defines a database I/O file service that can be shared by multiple processes. More...
class  ost::MappedFile
 Create and map a disk file into memory. More...
class  ost::DSO
 The DSO dynamic loader class is used to load object files. More...


namespace  ost


#define caddr_t   char *
#define PATH_MAX   256
#define NAME_MAX   64
#define S_IRUSR   0400
#define S_IWUSR   0200
#define S_IRGRP   0040
#define S_IWGRP   0020
#define S_IROTH   0004
#define S_IWOTH   0002


typedef unsigned long ost::pos_t
typedef size_t ost::ccxx_size_t

Detailed Description

Files and dynamic loader services.

Definition in file file.h.

Macro Definition Documentation

◆ caddr_t

#define caddr_t   char *

Definition at line 86 of file file.h.


#define NAME_MAX   64

Definition at line 97 of file file.h.


#define PATH_MAX   256

Definition at line 93 of file file.h.


#define S_IRGRP   0040

Definition at line 173 of file file.h.


#define S_IROTH   0004

Definition at line 175 of file file.h.


#define S_IRUSR   0400

Definition at line 171 of file file.h.


#define S_IWGRP   0020

Definition at line 174 of file file.h.


#define S_IWOTH   0002

Definition at line 176 of file file.h.


#define S_IWUSR   0200

Definition at line 172 of file file.h.