From d4681529c20d5cb2630bfe09f4cf4c4ca4c98a23 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Wed, 18 Nov 2026 00:10:23 +0100 Subject: Restrict pointer subtraction by type --- source/sys/posix/stdio.elna | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/sys/posix/stdio.elna') 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 -- cgit v1.2.3