aboutsummaryrefslogtreecommitdiff
path: root/source/sys/posix
diff options
context:
space:
mode:
Diffstat (limited to 'source/sys/posix')
-rw-r--r--source/sys/posix/stdio.elna3
-rw-r--r--source/sys/posix/stdlib.elna6
2 files changed, 9 insertions, 0 deletions
diff --git a/source/sys/posix/stdio.elna b/source/sys/posix/stdio.elna
index c667f43..3635b7c 100644
--- a/source/sys/posix/stdio.elna
+++ b/source/sys/posix/stdio.elna
@@ -11,6 +11,9 @@ extern
proc printf*(format: ^const CChar) #{varargs} -> CInt
extern
+proc snprintf*(str: ^CChar; size: Word; format: ^const CChar) #{varargs} -> CInt
+extern
+
proc fputs*(s: ^const CChar; stream: ^FILE) -> CInt
extern
diff --git a/source/sys/posix/stdlib.elna b/source/sys/posix/stdlib.elna
index 272400a..ce49155 100644
--- a/source/sys/posix/stdlib.elna
+++ b/source/sys/posix/stdlib.elna
@@ -32,4 +32,10 @@ extern
proc strtod*(nptr: ^const CChar; endptr: ^^CChar) -> Double
extern
+proc exit*(status: CInt) #{noreturn}
+extern
+
+proc sprintf*(str: ^CChar; format: ^const CChar) #{varargs} -> CInt
+extern
+
end.