Files
codezero/containers/posix/libc/src/putc.c
Bahadir Balban a41caeebd2 Created libc under containers/posix which now all tasks use to build.
There is a problem in the new libc that test0 now misbehaves. Going to be fixed.
2009-08-27 12:00:04 +03:00

9 lines
96 B
C

#include <arch/uart.h>
void putc(char c)
{
if (c == '\n')
uart_putc('\r');
uart_putc(c);
}