---
name: "file.h"
section: "3cc"
platform: "linux"
package: "libcommoncpp2-dev"
version: "1.0.13-5"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/file.h/3cc"
---

# file.h(3cc)

Files, fifos, directories, pipes and dynamic loader services.

## NAME

file.h - Files, fifos, directories, pipes and dynamic loader services.

## SYNOPSIS

`#include <cc++/config.h>`\
 `#include <cc++/thread.h>`\
 `#include <iostream>`\
 `#include <fstream>`\
 `#include <cstdio>`\
 `#include <dirent.h>`\
 `#include <sys/stat.h>`\
 `#include <sys/mman.h>`\

### Compounds

class **DSO**\
 *The DSO dynamic loader class is used to load object files. Dynamic class file loader.* class **MappedFile**\
 *Create and map a disk file into memory. Map a named disk file into memory.* class **Pipe**\
 *The Pipe uses system kernel buffering to hold data being passed either between two execution contexts within the same process, or between different processes. kernel buffering between processes and/or threads.* class **Dir**\
 *A low level portable directory class. low level directory access class.* class **FIFOSession**\
 *The FIFOSession produces a seperate thread which can manage a fifo stream session.* class **fifostream**\
 *This class provides a few alterations to the standard fstream class for dealing with fifo devices.* struct **\_fcb**\
 class **File**\
 class **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. Portable random disk file access.* class **SharedFile**\
 *This class defines a database I/O file service that can be shared by multiple processes. This class defines a database I/O file service that can be shared by multiple processes.* class **ThreadFile**\
 *This class defines a database I/O file service that can be shared by multiple threads. This class defines a database I/O file service that can be shared by multiple threads.*

### Defines

\#define **caddr\_t**   char \*\
 \#define **S\_IRUSR**   0400\
 \#define **S\_IWUSR**   0200\
 \#define **S\_IRGRP**   0040\
 \#define **S\_IWGRP**   0020\
 \#define **S\_IROTH**   0004\
 \#define **S\_IWOTH**   0002\

### Typedefs

typedef unsigned long **pos\_t**\
 typedef size\_t **ccxx\_size\_t**\

## DETAILED DESCRIPTION

Files, fifos, directories, pipes and dynamic loader services.

## DEFINE DOCUMENTATION

### #define caddr\_t char \*

### #define S\_IRGRP 0040

### #define S\_IROTH 0004

### #define S\_IRUSR 0400

### #define S\_IWGRP 0020

### #define S\_IWOTH 0002

### #define S\_IWUSR 0200

## TYPEDEF DOCUMENTATION

### typedef size\_t ccxx\_size\_t

### typedef unsigned long pos\_t

## AUTHOR

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