File.clearerr

void clearerr() @safe pure nothrow

If the file is closed or not yet opened, succeeds vacuously. Otherwise, returns clearerr for the file handle.