kore-doc

The kore documentation found under https://docs.kore.io/
Commits | Files | Refs | README | git clone https://git.kore.io/kore-doc.git

commit 7073d2bb0b4b68d43ff0cb13fcffb5f3e26a949e
parent b366e6a26c7a4aa582038c15cd57edd03c61bac8
Author: Joris Vink <joris@coders.se>
Date:   Mon, 31 Aug 2020 14:12:41 +0200

put index on memory API

Diffstat:
api/memory.md | 18+++++++++++++-----
1 file changed, 13 insertions(+), 5 deletions(-)

diff --git a/api/memory.md b/api/memory.md @@ -4,9 +4,17 @@ The memory system in Kore for heap allocation is based on pools. At startup Kore Any data allocated via _kore\_malloc\(\)_, _kore\_strdup\(\)_ or _kore\_realloc\(\)_ comes from the common pools unless it is larger than 8192 in which case _calloc\(\)_ is used. +## Index + +* [kore\_malloc](#malloc) +* [kore\_calloc](#calloc) +* [kore\_realloc](#realloc) +* [kore\_free](#free) +* [kore\_strdup](#strdup) + --- -# kore\_malloc +# kore\_malloc {#malloc} ### Synopsis @@ -28,7 +36,7 @@ A pointer to allocated memory that can hold _length_ bytes. The returned pointer --- -# kore\_calloc +# kore\_calloc {#calloc} ### Synopsis @@ -51,7 +59,7 @@ A pointer to allocated memory that can hold _ memb \* len_ bytes. The returned p --- -# kore\_realloc +# kore\_realloc {#realloc} ### Synopsis @@ -74,7 +82,7 @@ A pointer to the newly allocated memory. --- -# kore\_free +# kore\_free {#free} ### Synopsis @@ -96,7 +104,7 @@ Nothing --- -# kore\_strdup +# kore\_strdup {#strdup} ### Synopsis