int fputc(int ch, FILE* fp);
Writes the byte ch to the file stream fp. Returns the number of bytes written, or the negation of the error code on error.
fdopen, fputs