Module unix

Module unix 

Source

Modules§

futexLinux, or Android, or Emscripten and atomics, or FreeBSD, or OpenBSD, or DragonFly BSD, or Fuchsia
kernel_copyLinux or Android
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).
linuxLinux
os
Implementation of std::os functionality for unix systems
pipe
stack_overflow
time
weakNon-target_os=espidf
Support for “weak linkage” to symbols on Unix

Macros§

impl_is_minus_one 🔒

Statics§

ON_BROKEN_PIPE_FLAG_USED 🔒 Neither target_os=espidf nor Emscripten nor Fuchsia nor target_os=horizon nor target_os=vxworks nor target_os=vita

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
initNon-target_os=espidf
is_interrupted 🔒
on_broken_pipe_flag_used 🔒 Neither target_os=espidf nor Emscripten nor Fuchsia nor target_os=horizon nor target_os=vxworks nor target_os=vita nor target_os=nuttx
signal