basic heap scafolding

This commit is contained in:
2026-09-23 12:48:54 +02:00
parent 041f1f886b
commit 70114f6326
4 changed files with 69 additions and 1 deletions
+16
View File
@@ -48,3 +48,19 @@ A pointer to allocated memory or NULL.
**Parameters**
* `size_t count` -
**Description**
This function allocates memory for `count` elements each of `size` bytes, zeroed-out memory.
**Returns**
A pointer to allocated memory or NULL.
`void* kfree(void* p)`
******************************************
**Parameters**
* `void* p` -
**Description**
This function frees memory previously allocated using `k[m,z,c]alloc()`
**Returns**
Nothing