Wrapper for adopting an fd immediately after being returned from external function
The usage should be FD fd = FD.adopt!"open"( .open("/path/to/file", O_RDWR) );
ErrnoException in case fd is invalid
See Implementation
Wrapper for adopting an fd immediately after being returned from external function
The usage should be FD fd = FD.adopt!"open"( .open("/path/to/file", O_RDWR) );