#include #if defined(__is_libk) #include #else #include #endif int putchar(int c) { #if defined(__is_libk) Kernel::panic("Please use kprint() instead of stdio"); #else abort(); #endif return c; }