diff options
| author | Eugen Wissner <belka@caraus.de> | 2026-08-30 21:07:48 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2026-08-30 21:07:48 +0200 |
| commit | dbca249757a98d6d56e23db43baa93ad30a91709 (patch) | |
| tree | eaf664d63c7752aabad7994f62e92ae6492e655d /source/cstdio.elna | |
| parent | 491e62664394a8689a3f8904fbe8dbc3dea05524 (diff) | |
| download | elna-dbca249757a98d6d56e23db43baa93ad30a91709.tar.gz | |
Use arrow -> for return types
Diffstat (limited to 'source/cstdio.elna')
| -rw-r--r-- | source/cstdio.elna | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/source/cstdio.elna b/source/cstdio.elna index 78c3a24..bf74234 100644 --- a/source/cstdio.elna +++ b/source/cstdio.elna @@ -10,49 +10,49 @@ var stdout*: ^FILE := extern stderr*: ^FILE := extern -proc fopen*(pathname, mode: ^const Word8): ^FILE +proc fopen*(pathname, mode: ^const Word8) -> ^FILE extern -proc fclose*(stream: ^FILE): Int +proc fclose*(stream: ^FILE) -> Int extern -proc fseek*(stream: ^FILE; off: Int; whence: Int): Int +proc fseek*(stream: ^FILE; off: Int; whence: Int) -> Int extern proc rewind*(stream: ^FILE) extern -proc ftell*(stream: ^FILE): Int +proc ftell*(stream: ^FILE) -> Int extern -proc fflush*(stream: ^FILE): Int +proc fflush*(stream: ^FILE) -> Int extern -proc fread*(ptr: Pointer; size: Word; nmemb: Word; stream: ^FILE): Word +proc fread*(ptr: Pointer; size: Word; nmemb: Word; stream: ^FILE) -> Word extern -proc fwrite*(ptr: const Pointer; size: Word; nitems: Word; stream: ^FILE): Word +proc fwrite*(ptr: const Pointer; size: Word; nitems: Word; stream: ^FILE) -> Word extern -proc fputc*(c: Int; stream: ^FILE): Word +proc fputc*(c: Int; stream: ^FILE) -> Word extern proc perror*(s: ^const Word8) extern -proc puts*(s: ^const Word8): Int +proc puts*(s: ^const Word8) -> Int extern -proc putchar*(c: Int): Int +proc putchar*(c: Int) -> Int extern -proc sprintf*(str: Pointer; format: ^const Word8; number: Word): Int +proc sprintf*(str: Pointer; format: ^const Word8; number: Word) -> Int extern -proc fprintf*(stream: Pointer; format: ^const Word8; number: Word): Int +proc fprintf*(stream: Pointer; format: ^const Word8; number: Word) -> Int extern -proc fdopen*(fildes: Int; mode: ^const Word8): Pointer +proc fdopen*(fildes: Int; mode: ^const Word8) -> Pointer extern end. |
