back to scratko.xyz
aboutsummaryrefslogtreecommitdiff
path: root/calls.h
diff options
context:
space:
mode:
authorscratko <m@scratko.xyz>2024-03-31 21:05:36 +0300
committerscratko <m@scratko.xyz>2024-03-31 21:05:36 +0300
commit7d07ff825dc7cff7ee80b04346e0d2c49a91e190 (patch)
treef3bf4c72c22107b0d74143f09af39b0071106540 /calls.h
downloadarithmetic-expression-computator-7d07ff825dc7cff7ee80b04346e0d2c49a91e190.tar.gz
arithmetic-expression-computator-7d07ff825dc7cff7ee80b04346e0d2c49a91e190.tar.bz2
arithmetic-expression-computator-7d07ff825dc7cff7ee80b04346e0d2c49a91e190.zip
Initial commit
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