portable_io.h File Reference

This file exists to make most level 1 and level 2 i/o functions portable. It also include directory reading functions and file control functions so as to provide a single location to grab most system i/o operations in a standard way. More...

#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
Include dependency graph for portable_io.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  EOL_Sequence_t

Namespaces

namespace  cxxtls
 

The namespace that encapsulates most of the functionality in the CXX toolkit.


Defines

#define O_BINARY   0

Functions

template<class Iterator >
Iterator copy_end_of_line (Iterator output)
 Copy the end of line sequence to a buffer given an iterator and given the way in which the program is run. If the program is not run under windows, just output
, but if it is run under windows BUT is NOT run under a unix shell like bash, korn, etc, then put out \r\n.

Detailed Description

This file exists to make most level 1 and level 2 i/o functions portable. It also include directory reading functions and file control functions so as to provide a single location to grab most system i/o operations in a standard way.

Some other i/o portability declarations are also made here.

Definition in file portable_io.h.


Define Documentation

#define O_BINARY   0

Definition at line 24 of file portable_io.h.

Generated on Wed Feb 29 22:51:12 2012 for CXXUtilities by  doxygen 1.6.3