Name
EOF macro — End-of-file or error
Synopsis
int EOF
The EOF
macro represents
end-of-file when returned from getchar
and other functions. Some
functions return EOF
to indicate
an error.
The value of EOF
is a
negative integer constant. The precise value is
implementation-defined.
Get C++ In a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.