Edit

Share via


EOF, WEOF

Syntax

#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

putc, putwc
ungetc, ungetwc
scanf, _scanf_l, wscanf, _wscanf_l
fflush
fclose, _fcloseall
_ungetch, _ungetwch, _ungetch_nolock, _ungetwch_nolock
_putch, _putwch
isascii, __isascii, iswascii
Global constants