From 4f77ad5d019618893c59a0f8d5bfa6b98e50a3be Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Tue, 18 Aug 2026 13:31:47 +0200 Subject: Make Int and Word aliases to fixed-size types --- source/cstdio.elna | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'source/cstdio.elna') diff --git a/source/cstdio.elna b/source/cstdio.elna index f44a972..cd218fe 100644 --- a/source/cstdio.elna +++ b/source/cstdio.elna @@ -10,7 +10,7 @@ var stdout*: ^FILE := extern stderr*: ^FILE := extern -proc fopen*(pathname, mode: ^const Char): ^FILE +proc fopen*(pathname, mode: ^const Word8): ^FILE extern proc fclose*(stream: ^FILE): Int @@ -37,22 +37,22 @@ extern proc fputc*(c: Int; stream: ^FILE): Word extern -proc perror*(s: ^const Char) +proc perror*(s: ^const Word8) extern -proc puts*(s: ^const Char): Int +proc puts*(s: ^const Word8): Int extern proc putchar*(c: Int): Int extern -proc sprintf*(str: Pointer; format: ^const Char; number: Word): Int +proc sprintf*(str: Pointer; format: ^const Word8; number: Word): Int extern -proc fprintf*(stream: Pointer; format: ^const Char; number: Word): Int +proc fprintf*(stream: Pointer; format: ^const Word8; number: Word): Int extern -proc fdopen*(fildes: Int; mode: ^const Char): Pointer +proc fdopen*(fildes: Int; mode: ^const Word8): Pointer extern end. -- cgit v1.2.3