EOF


constant
<cstdio>

End-of-File

It is a macro constant definition. It expands to a negative integral constant expression.

It is used as the value returned by several <cstdio> functions to indicate failure, either because the End-of-File has been reached in a reading operation or because an error happened.

See also