Karl Berry Olaf Bachmann and many others. 13.4 File Status File status is maintained in several ways.
Errors occuring during constructors and file opens also invoke the function error .
Since error cannot tell if the current system error is actually responsible for a failure, it may at times print out spurious messages. Three error handlers are provided. C programmers who are unfamiliar with these conventions should note that, unlike the stdio library, File functions indicate IO success, status, or failure solely through the state, not via return values of the functions. Most code using previous versions should still work. Additionally, the feature of previous streams that allowed free intermixing of stream and stdio input and output is no longer guaranteed to always behave as desired.