Re-exports
pub use system_info::iov_max;
pub use system_info::number_of_logical_cores;
pub use system_info::pagesize;
pub use descriptor::*;
Modules
- fcntl 🔒
- FileReadWriteAtVolatile is implemented in terms of
pread
andpwrite
. 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).
- time 🔒
Structs
- Trait for file descriptors can send and receive socket control messages via
sendmsg
andrecvmsg
. - An abstraction over named pipes and unix socketpairs. This abstraction can be used in a blocking and non blocking mode.
Enums
Constants
- The maximum number of FDs that can be sent in a single send.
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.
- Return a timespec filed with the specified Duration
duration
.
Type Definitions
- Cross platform binary compatible iovec. See
crate::IoBufMut
for documentation. - Process identifier.