Currently At: Programming Reference > C Reference > Stndard C I/O > fputc()

fputc()


Syntax:
#include <stdio.h>
int fputc( int ch, FILE *stream );


Description:
The function fputc() writes the given character ch to the given output stream. The return value is the character, unless there is an error, in which case the return value is EOF.

Related Topics:
fgetc(), fopen(), fprintf(), fread(), fwrite()


Web Standards & Support:

Link to and support eLook.org Powered by LoadedWeb Web Hosting
Valid XHTML 1.0! Valid CSS! eLook.org FireFox Extensions