cppreference.com
>
C++ I/O
>
rdstate
rdstate
Syntax:
iostate rdstate();
The rdstate() function returns the
io stream state flag
s of the current stream.
Related topics:
bad
clear
eof
fail
good