RTEMS: cpukit/libdl/rtl-alloc-heap.h File Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Functions
rtl-alloc-heap.h File Reference
API » RTEMS Runtime Link Editor

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

  cmd | The allocation command.
  tag | The type of allocation request.
  address | Pointer 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.
  size | The size of the allocation if an allocation request and not used if deleting or freeing a previous allocation.