.\" @(#)getc.3 6.2 (Berkeley) %G%
getc, getchar, fgetc, getw \- get character or word from stream
returns the next character from the named input
but is a genuine function, not a macro;
it may be used to save object text.
(a 32-bit integer on a VAX-11) from the named input
upon end of file or error, but since that is a good
should be used to check the success of
assumes no special alignment in the file.
These functions return the integer constant
at end of file, upon read error,
or if an attempt is made to read a file not opened by
The end-of-file condition is remembered,
and all subsequent attempts to read will return
until the condition is cleared with
Because it is implemented as a macro,
argument with side effects incorrectly.