aboutsummaryrefslogtreecommitdiff
path: root/src/libc.hff
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2022-08-16 05:28:18 +0200
committerlemon <lsof@mailbox.org>2022-08-16 05:28:18 +0200
commit73f68a9c5ed4c8139cc1c4f7695da29e5a3fb4c8 (patch)
treeb2cebcf1f6b6073eeeb0595710d6fdf05fcb06fb /src/libc.hff
parentb3159bfd93c8bdce71f7437abdc521b5ccb72367 (diff)
stuff
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