core: do aligned transfers in bcopy32
[syslinux.git] / com32 / lib / fputc.c
blob61aff1644bf28035565fbeacb7f21eb698196aae
1 /*
2 * fputc.c
4 * gcc "printf decompilation" expects this to exist...
5 */
7 #include <stdio.h>
9 int fputc(int c, FILE *f)
11 unsigned char ch = c;
13 return _fwrite(&ch, 1, f) == 1 ? ch : EOF;