aboutsummaryrefslogtreecommitdiff
path: root/include/rt.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/rt.h')
-rw-r--r--include/rt.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/rt.h b/include/rt.h
new file mode 100644
index 0000000..43357cd
--- /dev/null
+++ b/include/rt.h
@@ -0,0 +1,15 @@
+#pragma once
+
+extern struct rt·Context
+{
+ void (*fini)(void);
+ void (*exit)(void);
+
+ uintptr *auxv;
+ uintptr pagesize;
+ uintptr sysinfo;
+} rt·context;
+
+extern char **rt·environ;
+
+void noreturn rt·exit(int code);