aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/include/stdio.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/stdio.h')
-rw-r--r--kernel/include/stdio.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/kernel/include/stdio.h b/kernel/include/stdio.h
new file mode 100644
index 0000000..eb4e45b
--- /dev/null
+++ b/kernel/include/stdio.h
@@ -0,0 +1,18 @@
+#ifndef _STDIO_H
+#define _STDIO_H 1
+
+#define EOF (-1)
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+int printf(const char* __restrict, ...);
+int putchar(int);
+int puts(const char*);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif \ No newline at end of file