The fputc function

Name

fputc -- 

Synopsis

#include <stdio.h>

int fputc (int c , FILE *stream );

Description

The fputc function is supported as specified in ANSI C 7.9.7.3.

Returns

The fputc function returns the character written. If a write error occurs the error indicator is set and fputc returns EOF.

Implementation Notes

The value of stream must be stdout or stderr.