blob: 7a1bf0b91fb3e2ea33ac7022436eb572b3ed9bc9 [file] [log] [blame]
/*
* fputc.c
*
* gcc "printf decompilation" expects this to exist...
*/
#include <stdio.h>
int fputc(int c, FILE * f)
{
unsigned char ch = c;
return _fwrite(&ch, 1, f) == 1 ? ch : EOF;
}