summaryrefslogtreecommitdiffstats
path: root/libc-bottom-half/headers/public/__seek.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc-bottom-half/headers/public/__seek.h')
-rw-r--r--libc-bottom-half/headers/public/__seek.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/libc-bottom-half/headers/public/__seek.h b/libc-bottom-half/headers/public/__seek.h
new file mode 100644
index 0000000..8824adb
--- /dev/null
+++ b/libc-bottom-half/headers/public/__seek.h
@@ -0,0 +1,10 @@
+#ifndef __wasilibc___seek_h
+#define __wasilibc___seek_h
+
+#include <wasi/api.h>
+
+#define SEEK_CUR __WASI_WHENCE_CUR
+#define SEEK_END __WASI_WHENCE_END
+#define SEEK_SET __WASI_WHENCE_SET
+
+#endif