![]() |
no-OS
|
#include "FreeRTOS.h"#include "task.h"#include "no_os_alloc.h"#include "portable.h"#include <string.h>Functions | |
| void * | no_os_malloc (size_t size) |
| Allocate memory and return a pointer to it. | |
| void * | no_os_calloc (size_t nitems, size_t size) |
| Allocate memory and return a pointer to it, set memory to 0. | |
| void | no_os_free (void *ptr) |
| Deallocate memory previously allocated by a call to no_os_calloc or no_os_malloc. | |
| 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. |