next up previous contents index
Next: 9.5.3 mustmalloc: allocate uninitialized Up: 9.5 Memory Allocation Previous: 9.5.1 malloc_lmm: LMM pool

9.5.2 malloc: allocate uninitialized memory

   

SYNOPSIS

#include <oskit/c/malloc.h>

void *malloc(size_t size);

DESCRIPTION

Standard issue malloc function. Calls mallocf with flags value zero to allocate the memory.

PARAMETERS

size
Size in bytes of desired allocation.

RETURNS

Returns a pointer to the allocated memory or zero if none.



University of Utah Flux Research Group