#include #include extern "C" { void libc_init() { stdout = fdopen(STDOUT_FILENO, "w"); stderr = fdopen(STDERR_FILENO, "w"); } }