Structs§
- Wrapper around a raw file descriptor.
- A thread-safe
pipe(2)
interface.
Functions§
- Set file status flags (cf. fcntl(2)).
- Loop while reading and writing from one file descriptor to another using
splice(2)
. The loop stop whendo_flush
is set totrue
. At the end, a flush event is send toflush_event
if any. - Return the original
fd
status flags if modified (cf. fcntl(2)).