diff options
| author | Eugen Wissner <belka@caraus.de> | 2026-11-01 22:10:48 +0100 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2026-11-01 22:10:48 +0100 |
| commit | 48a51628b841a9b69db846326dcaa67239a8559f (patch) | |
| tree | 76707565b96d42ee652179e4037e42a2c5559888 /source/sys/posix | |
| parent | 5dd5d460f154c146d26f115706a21b7808658edf (diff) | |
| download | elna-cpp.tar.gz | |
Diffstat (limited to 'source/sys/posix')
| -rw-r--r-- | source/sys/posix/stdlib.elna | 3 | ||||
| -rw-r--r-- | source/sys/posix/string.elna | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/source/sys/posix/stdlib.elna b/source/sys/posix/stdlib.elna index 8746970..d4b381e 100644 --- a/source/sys/posix/stdlib.elna +++ b/source/sys/posix/stdlib.elna @@ -9,6 +9,9 @@ extern proc free#[T]*(ptr: ^T) extern +proc realloc#[T]*(ptr: ^T; size: Word) -> ^T +extern + proc strtol*(str: ^const Word8; endptr: ^^Word8; base: Int) -> Int extern diff --git a/source/sys/posix/string.elna b/source/sys/posix/string.elna index b699606..ebe347c 100644 --- a/source/sys/posix/string.elna +++ b/source/sys/posix/string.elna @@ -9,4 +9,7 @@ extern proc memcpy#[T]*(dst: ^T; src: ^const T; n: Word) -> ^T extern +proc memchr#[T]*(s: ^T; c: Int8; n: Word) -> ^T +extern + end. |
