diff options
| author | 2022-08-27 19:00:13 +0200 | |
|---|---|---|
| committer | 2022-08-27 19:00:13 +0200 | |
| commit | 57e8797417578239de57d8a62d32de403a89fb34 (patch) | |
| tree | 839c3a7d23be57300b4dcd873867431fc7750f9a /examples | |
| parent | f095e30338703c35dc930d264b02a487d7e36933 (diff) | |
miscellaneous
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/libc.hff | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/libc.hff b/examples/libc.hff index 488a495..3a3ce24 100644 --- a/examples/libc.hff +++ b/examples/libc.hff @@ -11,6 +11,7 @@ extern fn fopen(path *const u8, mode *const u8) *FILE; extern fn fclose(*FILE) int; extern fn fgetc(*FILE) int; extern fn fputc(int, *FILE) int; +extern fn fread(*void, usize, usize, *FILE) usize; def EOF = -1; // stdlib.h |