EOF, WEOF

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   putc, ungetc, scanf, fflush, _fcloseall,_ungetch, _putch, __isascii