The putc function

Name

putc -- 

Synopsis

#include <stdio.h>

int putc (int c , FILE *stream );

Description

The putc function is supported as specified in ANSI C 7.9.7.8.

Returns

The putc function returns the character written. If a write error occurs, the error indicator for the stream is set and putc returns EOF.

Implementation Notes

The value of stream must be stdout or stderr.