#include <oskit/c/malloc.h>void *smalloc(size_t size);
Identical to malloc except that the user must keep track of the size of the allocated chunk and pass that size to sfree when releasing the chunk.Calls smallocf with flags value zero to allocate the memory.
- size
- Size in bytes of desired allocation.
Returns a pointer to the allocated memory or zero if none.