back to scratko.xyz
aboutsummaryrefslogtreecommitdiff
path: root/calls.h
diff options
context:
space:
mode:
Diffstat (limited to 'calls.h')
-rw-r--r--calls.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/calls.h b/calls.h
new file mode 100644
index 0000000..3e5ee24
--- /dev/null
+++ b/calls.h
@@ -0,0 +1,11 @@
+#ifndef CALLS_H_SENTRY
+#define CALLS_H_SENTRY
+
+int sys_write(int fd, const void *buf, int size);
+int sys_read(int fd, void *buf, int size);
+void* sys_alloc(int size);
+void sys_free(void* p);
+void sys_exit(int code);
+extern int sys_errno;
+
+#endif