diff options
Diffstat (limited to 'source/sys/posix')
| -rw-r--r-- | source/sys/posix/stdio.elna | 9 | ||||
| -rw-r--r-- | source/sys/posix/stdlib.elna | 9 | ||||
| -rw-r--r-- | source/sys/posix/string.elna | 9 |
3 files changed, 27 insertions, 0 deletions
diff --git a/source/sys/posix/stdio.elna b/source/sys/posix/stdio.elna new file mode 100644 index 0000000..dd7251d --- /dev/null +++ b/source/sys/posix/stdio.elna @@ -0,0 +1,9 @@ +(* This Source Code Form is subject to the terms of the Mozilla Public License, + v. 2.0. If a copy of the MPL was not distributed with this file, You can + obtain one at https://mozilla.org/MPL/2.0/. *) +module + +proc printf*(format: ^const Word8) #{varargs} -> Int +extern + +end. diff --git a/source/sys/posix/stdlib.elna b/source/sys/posix/stdlib.elna new file mode 100644 index 0000000..0016d9c --- /dev/null +++ b/source/sys/posix/stdlib.elna @@ -0,0 +1,9 @@ +(* This Source Code Form is subject to the terms of the Mozilla Public License, + v. 2.0. If a copy of the MPL was not distributed with this file, You can + obtain one at https://mozilla.org/MPL/2.0/. *) +module + +proc malloc#[T]*(size: Word) -> ^T +extern + +end. diff --git a/source/sys/posix/string.elna b/source/sys/posix/string.elna new file mode 100644 index 0000000..9994679 --- /dev/null +++ b/source/sys/posix/string.elna @@ -0,0 +1,9 @@ +(* This Source Code Form is subject to the terms of the Mozilla Public License, + v. 2.0. If a copy of the MPL was not distributed with this file, You can + obtain one at https://mozilla.org/MPL/2.0/. *) +module + +proc memset#[T]*(b: ^T; c: Int8; len: Word) -> ^T +extern + +end. |
