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.
structFD
nothrow @safe @nogc
void
close
()
Throws
Nothing. There is nothing useful to do if close fails.
Close the OS handle prematurely.
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.