Module unix

Source

Modules§

futex
kernel_copy
This module contains specializations that can offload io::copy() operations on file descriptor containing types (File, TcpStream, etc.) to more efficient syscalls than read(2) and write(2).
linux
os
Implementation of std::os functionality for unix systems
pipe
stack_overflow
thread
time
weak
Support for “weak linkage” to symbols on Unix

Macros§

impl_is_minus_one 🔒

Statics§

ON_BROKEN_PIPE_FLAG_USED 🔒

Traits§

IsMinusOne 👻

Functions§

abort_internal
cleanup
cvt
Converts native return values to Result using the -1 means error is in errno convention. Non-error values are Ok-wrapped.
cvt_nz
Zero means Ok(), all other values are treated as raw OS errors. Does not look at errno.
cvt_r
-1 → look at errno → retry on EINTR. Otherwise Ok()-wrap the closure return value.
decode_error_kind
init
is_interrupted 🔒
on_broken_pipe_flag_used 🔒
signal