aboutsummaryrefslogtreecommitdiff
path: root/src/libc.hff
diff options
context:
space:
mode:
Diffstat (limited to 'src/libc.hff')
-rw-r--r--src/libc.hff2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libc.hff b/src/libc.hff
index a269f42..6446a33 100644
--- a/src/libc.hff
+++ b/src/libc.hff
@@ -11,6 +11,8 @@ 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;
+def SEEK_SET = 0;
+extern fn fseek(*FILE, off c_long, whence int) int;
def EOF = -1;
// stdlib.h