Adding upstream version 3.50~pre5.
[syslinux-debian/hramrach.git] / com32 / lib / putchar.c
blob4b340d17a2040e64e99bb168ca10f01ab087e70e
1 /*
2 * putchar.c
4 * gcc "printf decompilation" expects this to exist...
5 */
7 #include <stdio.h>
9 #undef putchar
11 int putchar(int c)
13 unsigned char ch = c;
15 return _fwrite(&ch, 1, stdout) == 1 ? ch : EOF;