![]() |
O2S C Library 1.8.2
Provide high-level data-structures and other fundamental tools for C projects
|
Construct file input streams from files. More...
#include "o2s/file_input_stream.h"
#include "o2s/log.h"
#include <fcntl.h>
#include <errno.h>
#include <stdbool.h>
#include <string.h>
#include <unistd.h>
Go to the source code of this file.
Macros | |
#define | FILE_STREAM_BUFFER_SIZE |
Functions | |
ifstream_t | file_open (const char *file_name, int flags) |
Construct a file input stream : Open the file and allocate the buffer. | |
ifstream_t | file_from_descriptor (int descriptor) |
Construct a file input stream from an externally managed file descriptor. |
Construct file input streams from files.
Definition in file open.c.