Table of Contents

NAME

SYNOPSIS

DESCRIPTION

The function obtains the next input character (if present) from the stream pointed at by or the next character pushed back on the stream via The function acts essentially identically to but is a macro that expands in-line. The function is equivalent to: getc with the argument stdin. The function obtains the next (if present) from the stream pointed at by

RETURN VALUES

If successful, these routines return the next requested object from the If the stream is at end-of-file or a read error occurs, the routines return The routines and must be used to distinguish between end-of-file and error. If an error occurs, the global variable is set to indicate the error. The end-of-file condition is remembered, even on a terminal, and all subsequent attempts to read will return until the condition is cleared with

SEE ALSO

STANDARDS

The and functions conform to

BUGS

Since is a valid integer value, and must be used to check for failure after calling The size and byte order of an varies from one machine to another, and is not recommended for portable applications.


Table of Contents