VMS Help
CRTL, fputc
*Conan The Librarian
|
Writes a character to a specified file.
Format
#include <stdio.h>
int fputc (int character, FILE *file_ptr);
character
An object of type int.
file_ptr
A file pointer.
The fputc function writes a single character to the specified
file and returns the character.
Compiling with the __UNIX_PUTC macro defined enables an
optimization that uses a faster, inlined version of this
function.
See also the fputc_unlocked function and the putc macro.
x The character written to the file. Indicates
success.
EOF Indicates an output error.