diff options
Diffstat (limited to 'src/arch/posix/driver/stdout.cc')
-rw-r--r-- | src/arch/posix/driver/stdout.cc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/arch/posix/driver/stdout.cc b/src/arch/posix/driver/stdout.cc new file mode 100644 index 0000000..e409389 --- /dev/null +++ b/src/arch/posix/driver/stdout.cc @@ -0,0 +1,14 @@ +#include "driver/stdout.h" +#include <stdio.h> + +void StandardOutput::put(char c) +{ + fputc(c, stdout); +} + +void StandardOutput::flush() +{ + fflush(stdout); +} + +StandardOutput kout; |