#include <oskit/com/mem.h>oskit_size_t oskit_mem_avail(oskit_mem_t *m, oskit_u32_t flags);
Return the amount of free space in the memory object pool. If flags is non-zero, it should be a memory type flag, which indicates that the return value should be the amount of free space of that type.
- m
- The memory object to operate on.
- flags
- Options and constraints.
Returns the amount of memory available on success.