summaryrefslogtreecommitdiffstats
path: root/sw/z80/libc/include/stdio.h
diff options
context:
space:
mode:
Diffstat (limited to 'sw/z80/libc/include/stdio.h')
-rw-r--r--sw/z80/libc/include/stdio.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/sw/z80/libc/include/stdio.h b/sw/z80/libc/include/stdio.h
new file mode 100644
index 0000000..b31cdfd
--- /dev/null
+++ b/sw/z80/libc/include/stdio.h
@@ -0,0 +1,11 @@
+#ifndef __STDIO_H__
+#define __STDIO_H__
+
+#include "types.h"
+
+extern uint8_t *stdout, stderr;
+
+void putc(char ch, uint8_t *buffer);
+int printf(const char *fmt, ...);
+
+#endif