Module linux_io::fd

source ·
Expand description

The main File type and its supporting utilities for working safely with file descriptors.

Modules§

  • A safer abstraction for fcntl.
  • A safer abstraction for ioctl.
  • A safer abstraction for setsockopt and getsockopt.

Structs§

  • An iterator over directory entries in an already-populated getdents64 result buffer.
  • A single directory entry extracted from a buffer populated by getdents64.
  • An encapsulated Linux file descriptor.
  • Encapsulates the various options for the open system call behind a builder API.

Enums§

Constants§

Traits§

  • A marker trait used with OpenOptions to represent whether a particular set of options must be opened with an additional mode argument.