aboutsummaryrefslogtreecommitdiff
path: root/src/libc.hff
diff options
context:
space:
mode:
Diffstat (limited to 'src/libc.hff')
-rw-r--r--src/libc.hff7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libc.hff b/src/libc.hff
new file mode 100644
index 0000000..98a6f3c
--- /dev/null
+++ b/src/libc.hff
@@ -0,0 +1,7 @@
+! stdio.h
+struct FILE;
+extern static stdin FILE,
+ stdout FILE,
+ stderr FILE;
+extern fn printf(fmt *const u8, ...) void;
+extern fn fprintf(fp *FILE, fmt *const u8, ...) void;