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