Writes a character to a stream.
int fputc (int c, FILE * stream);
Required Header |
<stdio.h> |
Return Value
This function returns the character written or EOF if an error has occured.
Parameters
c
The character to write
stream
A pointer to the open FILE structure
Remarks
The fputc function writes the character c to stream.
See Also fgetc, _fputchar, fputs, fwrite, putc, putchar, puts