Function FD.close
Close the OS handle prematurely.
void close
() nothrow @nogc @safe;
Closes the OS handle. This happens automatically on struct destruction. It is only necessary to call this method if you wish to close the underlying FD before the struct goes out of scope.
Throws
Nothing. There is nothing useful to do if close fails.