diff options
Diffstat (limited to 'include/stdio.h')
| -rw-r--r-- | include/stdio.h | 7 |
1 files changed, 7 insertions, 0 deletions
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*)); |