00001
00007 #ifndef IO_H_
00008 #define IO_H_
00009
00010 #include "typedefs.h"
00011 #include "sys.h"
00012 #include "debug.h"
00013 #include "keyboard.h"
00014 #include "printer.h"
00015
00016
00017 int gets (char * str, const size_t len);
00018 int getc_try (void);
00019 int getc (void);
00020
00021
00022 unsigned int putc (const char chr);
00023 unsigned int puts (const char * str);
00024 unsigned int printk (const char * format, ...);
00025 unsigned int printk_unwind (const char * format, void* arguments);
00026
00028 extern mutex_t keyboard_mtx;
00030 extern cond_t keyboard_cnd;
00031
00032 #endif