aboutsummaryrefslogtreecommitdiff
path: root/sys/rt/include/rt.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/rt/include/rt.h')
-rw-r--r--sys/rt/include/rt.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys/rt/include/rt.h b/sys/rt/include/rt.h
new file mode 100644
index 0000000..dd1598b
--- /dev/null
+++ b/sys/rt/include/rt.h
@@ -0,0 +1,12 @@
+#pragma once
+
+extern struct rt·context
+{
+ void (*init)(void);
+ void (*fini)(void);
+ void (*exit)(void);
+} rt·context;
+
+extern char **rt·environ;
+
+void rt·exit(int code);