aboutsummaryrefslogtreecommitdiff
path: root/source/cstdio.elna
diff options
context:
space:
mode:
Diffstat (limited to 'source/cstdio.elna')
-rw-r--r--source/cstdio.elna10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/cstdio.elna b/source/cstdio.elna
index e69d81a..928c7e1 100644
--- a/source/cstdio.elna
+++ b/source/cstdio.elna
@@ -29,10 +29,10 @@ extern
proc fflush*(stream: ^FILE) -> Int
extern
-proc fread*(ptr: Pointer; size: Word; nmemb: Word; stream: ^FILE) -> Word
+proc fread*#[T](ptr: ^T; size: Word; nmemb: Word; stream: ^FILE) -> Word
extern
-proc fwrite*(ptr: const Pointer; size: Word; nitems: Word; stream: ^FILE) -> Word
+proc fwrite*#[T](ptr: ^const T; size: Word; nitems: Word; stream: ^FILE) -> Word
extern
proc fputc*(c: Int; stream: ^FILE) -> Word
@@ -47,13 +47,13 @@ extern
proc putchar*(c: Int) -> Int
extern
-proc sprintf*(str: Pointer; format: ^const Word8; number: Word) -> Int
+proc sprintf*(str: ^Word8; format: ^const Word8) #{varargs} -> Int
extern
-proc fprintf*(stream: Pointer; format: ^const Word8; number: Word) -> Int
+proc fprintf*(stream: ^FILE; format: ^const Word8) #{varargs} -> Int
extern
-proc fdopen*(fildes: Int; mode: ^const Word8) -> Pointer
+proc fdopen*(fildes: Int; mode: ^const Word8) -> ^FILE
extern
end.