Everything

putchar


Outputs one character to the standard output file (stdout).

[Format]

#include <stdio.h>

long putchar (long c);

[Parameters]

c Character to be output

[Return values]

Normal: Output character

Abnormal: EOF

[Remarks]

When a write error occurs, the error indicator for that file is set.

The putchar function outputs character c to the standard output file (stdout).

The putchar function normally returns c, the output character, but returns EOF when an error occurs.