SphinxBase
0.6
|
Memory-mapped I/O wrappers for files. More...
#include <sphinxbase/sphinxbase_export.h>
Go to the source code of this file.
Typedefs | |
typedef struct mmio_file_s | mmio_file_t |
Abstract structure representing a memory-mapped file. | |
Functions | |
SPHINXBASE_EXPORT mmio_file_t * | mmio_file_read (const char *filename) |
Memory-map a file for reading. More... | |
SPHINXBASE_EXPORT void * | mmio_file_ptr (mmio_file_t *mf) |
Get a pointer to the memory mapped for a file. | |
SPHINXBASE_EXPORT void | mmio_file_unmap (mmio_file_t *mf) |
Unmap a file, releasing memory associated with it. | |
Memory-mapped I/O wrappers for files.
Definition in file mmio.h.
SPHINXBASE_EXPORT mmio_file_t* mmio_file_read | ( | const char * | filename | ) |
Memory-map a file for reading.
Definition at line 206 of file mmio.c.
References ckd_calloc, and E_ERROR_SYSTEM.
Referenced by logmath_read().