#include #if defined(__is_libk) #include #endif int putchar(int c) { #if defined(__is_libk) char ch = (char)c; terminal_write(&ch, sizeof(ch)); #else #endif return c; }