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. | |
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. |
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 204 of file mmio.c.
References ckd_calloc, E_ERROR, E_ERROR_SYSTEM, and mmio_file_read().
Referenced by logmath_read(), and mmio_file_read().