Module base::sys::unix

source ·

Re-exports

Modules

  • fcntl 🔒
  • file_flags 🔒
  • FileReadWriteAtVolatile is implemented in terms of pread and pwrite. These are provided by platform-specific imports. On Linux they resolve to the 64-bit versions, while on MacOS the base versions are already 64-bit.
  • Macro and helper trait for handling interrupted routines.
  • iobuf 🔒
  • Used to send and receive messages with file descriptors on sockets that accept control messages (e.g. Unix domain sockets).

Structs

  • Trait for file descriptors can send and receive socket control messages via sendmsg and recvmsg.
  • An abstraction over named pipes and unix socketpairs. This abstraction can be used in a blocking and non blocking mode.

Enums

Constants

Traits

  • Trait for types that can be converted into an iovec that can be referenced by a syscall for the lifetime of this object.

Functions

  • Performs a logical OR of the given flags with the FD’s flags, setting the given bits for the FD.
  • Clears the given flags in the FD’s flags.

Type Definitions