Crate fd [] [src]

Structs

FileDesc

Wrapper around a raw file descriptor.

Pipe

A thread-safe pipe(2) interface.

Functions

set_flags

Set file status flags (cf. fcntl(2)).

splice_loop

Loop while reading and writing from one file descriptor to another using splice(2). The loop stop when do_flush is set to true. At the end, a flush event is send to flush_event if any.

unset_append_flag

Return the original fd status flags if modified (cf. fcntl(2)).