vibe.d beta banner
get vibe.d
0.9.4

Asynchronous I/O that doesn’t get in your way, written in D

Function EventDriverFiles.close

Disallows any reads/writes and removes any exclusive locks.

abstract void close (
  FileFD file,
  nothrow @safe void delegate(FileFD, CloseStatus) on_closed
) nothrow @safe;

Note that the file handle may become invalid at any point after the call to close, regardless of its current reference count. Any operations on the handle will not have an effect.

Authors
Copyright
License