ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ra8_sbrk_trap.h
Go to the documentation of this file.
1
18
19#pragma once
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
25#include <stddef.h>
26
27// NOLINTBEGIN(bugprone-reserved-identifier,cert-dcl37-c,cert-dcl51-cpp,readability-identifier-naming) -- toolchain ABI fixes this reserved symbol spelling.
28
65void* _sbrk(ptrdiff_t incr);
66
67// NOLINTEND(bugprone-reserved-identifier,cert-dcl37-c,cert-dcl51-cpp,readability-identifier-naming)
68
69#ifdef __cplusplus
70}
71#endif
void * _sbrk(ptrdiff_t incr)
Trap that replaces newlib's heap-extension syscall.