EOF、WEOFEOF, WEOF

语法Syntax


#include <stdio.h>  

备注Remarks

当文件尾(或在某些情况下为错误)遇到错误时,I/O 例程将返回 EOF。EOF is returned by an I/O routine when the end-of-file (or in some cases, an error) is encountered.

WEOF 将生成用于在宽流的结尾发出信号或报告错误条件的 wint_t 类型的值。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 putc, putwc
ungetc、ungetwc ungetc, ungetwc
scanf、_scanf_l、wscanf、_wscanf_l scanf, _scanf_l, wscanf, _wscanf_l
fflush fflush
fclose、_fcloseall fclose, _fcloseall
_ungetch、_ungetwch、_ungetch_nolock、_ungetwch_nolock _ungetch, _ungetwch, _ungetch_nolock, _ungetwch_nolock
_putch、_putwch _putch, _putwch
isascii、__isascii、iswascii isascii, __isascii, iswascii
全局常量Global Constants