1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#ifndef STDIO_H #define STDIO_H #include <stdarg.h> #include "stddef.h" #include "console.h" #define EOF (-1) extern console_t *global_console; int puts( const char *s ); int printf( const char *format, ... ); int vprintf( const char *format, va_list args ); void stdio_set_console( console_t *console ); #endif //STDIO_H