AutoFile::fclose

Close the wrapped file early and return the C fclose result.

Synopsis

Declared in <streams.h>

[[nodiscard]]
int
fclose();

Return Value

The result of the C fclose call, or 0 if no file was open.

NOTE

The return value should not be discarded.