no-OS
|
Functions | |
void * | no_os_malloc (size_t size) |
Allocate memory and return a pointer to it. More... | |
void * | no_os_calloc (size_t nitems, size_t size) |
Allocate memory and return a pointer to it, set memory to 0. More... | |
void | no_os_free (void *ptr) |
Deallocate memory previously allocated by a call to no_os_calloc or no_os_malloc. More... | |
void* no_os_calloc | ( | size_t | nitems, |
size_t | size | ||
) |
Allocate memory and return a pointer to it, set memory to 0.
nitems | - Number of elements to be allocated. |
size | - Size of elements. |
void no_os_free | ( | void * | ptr | ) |
Deallocate memory previously allocated by a call to no_os_calloc or no_os_malloc.
ptr | - Pointer to a memory block previously allocated by a call to no_os_calloc or no_os_malloc. |
void* no_os_malloc | ( | size_t | size | ) |
Allocate memory and return a pointer to it.
size | - Size of the memory block, in bytes. |