|
LMMS
|
#include "system.h"#include "serd_config.h"#include "serd_internal.h"#include <errno.h>#include <stdio.h>#include <stdlib.h>#include <string.h>Go to the source code of this file.
Macros | |
| #define | _POSIX_C_SOURCE 200809L /* for posix_memalign and posix_fadvise */ |
Functions | |
| FILE * | serd_fopen (const char *path, const char *mode) |
| Open a file configured for fast sequential reading. | |
| void * | serd_malloc_aligned (const size_t alignment, const size_t size) |
| Allocate a buffer aligned to alignment bytes. | |
| void * | serd_allocate_buffer (const size_t size) |
| Allocate an aligned buffer for I/O. | |
| void | serd_free_aligned (void *const ptr) |
| Free a buffer allocated with an aligned allocation function. | |
| #define _POSIX_C_SOURCE 200809L /* for posix_memalign and posix_fadvise */ |
Open a file configured for fast sequential reading.
Free a buffer allocated with an aligned allocation function.