From c7252588ebb95f97631e9470778c69afa00c35b5 Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Sun, 1 Mar 2015 14:20:47 -0500 Subject: Huge restructure --- include/stdio.h | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 include/stdio.h (limited to 'include/stdio.h') diff --git a/include/stdio.h b/include/stdio.h new file mode 100644 index 0000000..49966cf --- /dev/null +++ b/include/stdio.h @@ -0,0 +1,7 @@ +int printf(const char* fmt, ...) __attribute__ ((format (printf, 1, 2)));; +int puts(const char*); +int putchar(int); + +/* sets the I/O functions, allows easy switching between text mode and VBE */ +void set_putchar(void (*func)(int)); +void set_puts(void (*func)(const char*)); -- cgit v1.1