Crate fd

Source

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 when do_flush is set to true. At the end, a flush event is send to flush_event if any.
  • Return the original fd status flags if modified (cf. fcntl(2)).