blob: 386d86cb0ae292aa0d3c14508ebf5e8d58723d32 [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;
}