RTEMS  5.0.0
Functions
rtl-alloc-heap.h File Reference

RTEMS Run-Time Linker Allocator for the standard heap. More...

#include <rtems/rtl/rtl-allocator.h>

Go to the source code of this file.

Functions

void rtems_rtl_alloc_heap (rtems_rtl_alloc_cmd cmd, rtems_rtl_alloc_tag tag, void **address, size_t size)
 

Detailed Description

RTEMS Run-Time Linker Allocator for the standard heap.

Function Documentation

◆ rtems_rtl_alloc_heap()

void rtems_rtl_alloc_heap ( rtems_rtl_alloc_cmd  cmd,
rtems_rtl_alloc_tag  tag,
void **  address,
size_t  size 
)

Allocator handler for the standard libc heap.

Parameters
cmdThe allocation command.
tagThe type of allocation request.
addressPointer to the memory address. If an allocation the value is unspecific on entry and the allocated address or NULL on exit. The NULL value means the allocation failed. If a delete or free request the memory address is the block to free. A free request of NULL is silently ignored.
sizeThe size of the allocation if an allocation request and not used if deleting or freeing a previous allocation.