File.detach

Detaches from the underlying file. If the sole owner, calls close.

struct File
@trusted
void
detach
()

Throws

ErrnoException on failure if closing the file.

Meta