putchar [ HP C/iX Library Reference Manual ] MPE/iX 5.0 Documentation
HP C/iX Library Reference Manual
putchar
Writes a character to the standard output stream stdout.
Syntax
#include <stdio.h>
int putchar (int c);
Parameters
c A character to be written to stdout.
Return Values
x The character written to stdout.
EOF An error occurred; errno is set to indicate the error
condition.
Description
The putchar function writes a single character c to the standard
output stream stdout. The putchar(c) function is equivalent to
putc(c,stdout_ptr).
Examples
Refer to the examples located in the getchar function description.
See Also
fputc(), putc(), puts(), fwrite(), getchar(), ANSI C 4.9.7.9, POSIX.1 8.1
MPE/iX 5.0 Documentation