Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 1.15 KB

eof-weof.md

File metadata and controls

33 lines (26 loc) · 1.15 KB
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: EOF, WEOF
EOF, WEOF
11/04/2016
EOF
STDIO/EOF
WEOF
CORECRT_WSTDIO/WEOF
EOF constant
WEOF constant
end of file
a7150563-cdae-4cdf-9798-ad509990e505

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