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>
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. |
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 O_BINARY 0 |
Definition at line 24 of file portable_io.h.