fd is a library to handle file descriptors:
FileDesc
is a raw file descriptor wrapper properly closing itself when dropped.Pipe
is 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.