FD.close

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.

struct FD
nothrow @safe @nogc
void
close
()

Throws

Nothing. There is nothing useful to do if close fails.

Meta