1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#ifndef IO_H #define IO_H #include "../sys/io.h" void wstd(const char *buf); void rstd(char *buf, unsigned long count); void wstdf__(const char *buf, void **args); #define wstdf(buf, ...) { \ void *__wstdf__args__[] = { __VA_ARGS__ }; \ wstdf__(buf, __wstdf__args__); \ } #endif