vibe.d beta banner
get vibe.d
0.10.1

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

Function EventDriverFiles.releaseRef

Decrements the reference count of the given file.

abstract bool releaseRef (
  FileFD descriptor
) nothrow @safe;

Once the reference count reaches zero, all associated resources will be freed and the resource descriptor gets invalidated.

Returns

Returns false iff the last reference was removed by this call.

Passing an invalid handle will result in a return value of true.

Authors
Copyright
License