fd is a library to handle file descriptors:
FileDescis a raw file descriptor wrapper properly closing itself when dropped.Pipeis an interface topipe(2).- The
loop_splice()function can be used for zero-copy transfers usingsplice(2)(Linux specific).
This library is a work in progress. The API may change.