#include #ifdef __is_libk #include #endif int putchar(int ic) { #ifdef __is_libk char c = (char) ic; term_write(&c, sizeof(c)); #else /* TODO: Implement write system call to do this part */ #endif return ic; }