#include #include <__fio.h> int fputc(int c, FILE *fp) { char ch = c; __fio_write(fp, &ch, 1); if (__fio_error(fp)) { return EOF; } return c; }