summaryrefslogtreecommitdiff
path: root/src/libc/stdio.h
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2017-07-13 20:09:53 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2017-07-13 20:09:53 +0200
commit7d356b1ddab0150b7347a5952e3bff2a04704fd4 (patch)
treec26a5b9c45d970dda011f9923966233a4f70669b /src/libc/stdio.h
parent7162c5eed91a8e22a4b768110011df28bfd86455 (diff)
downloadabaos-7d356b1ddab0150b7347a5952e3bff2a04704fd4.tar.gz
abaos-7d356b1ddab0150b7347a5952e3bff2a04704fd4.tar.bz2
added an exit function
added Linux syscall stubs for exit and write adapted all tests added a printf test made stdio work on Linux or AbaOs syscalls
Diffstat (limited to 'src/libc/stdio.h')
-rw-r--r--src/libc/stdio.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libc/stdio.h b/src/libc/stdio.h
index 24632f6..33d7946 100644
--- a/src/libc/stdio.h
+++ b/src/libc/stdio.h
@@ -9,6 +9,10 @@
#include "console.h"
#endif
+#ifdef OS_LINUX
+#include "kernel_stub.h"
+#endif
+
#define EOF (-1)
int puts( const char *s );