changes.mady.by.user Will Snavely
Saved on Mar 30, 2015
Saved on Apr 07, 2015
...
Some static analysis tools can detect violations of this rule.
SEI CERT C Coding Standard
FIO34-C. Distinguish between characters read from a file and EOF or WEOF
SEI CERT C++ Coding Standard
FIO34-CPP. Use int to capture the return value of character IO functionsFIO35-CPP. Use feof() and ferror() to detect end-of-file and file errors when sizeof(int) == sizeof(char)
[API 2006]
Class InputStream
InputStream
[JLS 2005]
§4.2 Primitive Types and Values
[Pugh 2008]
Waiting for the End