diff options
| author | Eugen Wissner <belka@caraus.de> | 2026-11-13 12:01:17 +0100 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2026-11-13 13:15:30 +0100 |
| commit | 7ab6e1021611cc6913ee4ab5faf1b31f928a65e9 (patch) | |
| tree | b6e650890682831503c73608ac7fd370d2847d8a /source/sys/posix/string.elna | |
| parent | 0b5bd8114255e04dae27a7528a3111d6923e5fbe (diff) | |
| download | elna-7ab6e1021611cc6913ee4ab5faf1b31f928a65e9.tar.gz | |
Create parser stubs
Diffstat (limited to 'source/sys/posix/string.elna')
| -rw-r--r-- | source/sys/posix/string.elna | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/sys/posix/string.elna b/source/sys/posix/string.elna index 561d975..a9a1ce9 100644 --- a/source/sys/posix/string.elna +++ b/source/sys/posix/string.elna @@ -3,13 +3,15 @@ obtain one at https://mozilla.org/MPL/2.0/. *) module -proc memset#[T]*(b: ^T; c: Int; len: Word) -> ^T +import sys.ffi + +proc memset#[T]*(b: ^T; c: CInt; len: Word) -> ^T extern proc memcpy#[T]*(dst: ^T; src: ^const T; n: Word) -> ^T extern -proc memchr#[T]*(s: ^T; c: Int; n: Word) -> ^T +proc memchr#[T]*(s: ^T; c: CInt; n: Word) -> ^T extern end. |
