Initialize from an OS file descriptor.
Open a new file.
Run an fd based function and throw if it fails
Close the OS handle prematurely.
Duplicate an FD
Call an OS function that accepts an FD as the first argument.
@safe read
@safe write
Obtain the underlying OS handle
Report whether the FD currently holds a valid fd
Wrapper for adopting an fd immediately after being returned from external function
File descriptor wrapper
This wrapper's main purpose is to protect the fd against leakage. It does not actually do anything.