Writes a character to a stream.
int putc (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 putc function writes the character c to stream.
See Also fgetc, fputc, _fputchar, fputs, fwrite, putchar, puts