EOF, WEOF
#include <stdio.h>
Remarks
EOF is returned by an I/O routine when the end-of-file (or in some cases, an error) is encountered.
WEOF yields the return value, of type wint_t, used to signal the end of a wide stream, or to report an error condition.
See Also
Reference
scanf, _scanf_l, wscanf, _wscanf_l