fehQlibs 26
Qlibs
|
Generic allocation of heap memory. More...
Go to the source code of this file.
Data Structures | |
union | aligned |
Macros | |
#define | ALIGNMENT 16 /* XXX: assuming that this alignment is enough */ |
#define | SPACE 4096 /* must be multiple of ALIGNMENT */ |
#define | space ((char *)realspace) |
Functions | |
void * | alloc (unsigned int n) |
void | alloc_free (void *x) |
int | alloc_re (void **x, unsigned int m, unsigned int n) |
Generic allocation of heap memory.
Definition in file alloc.c.
#define ALIGNMENT 16 /* XXX: assuming that this alignment is enough */ |
void * alloc | ( | unsigned int | n | ) |
void alloc_free | ( | void * | x | ) |