Skip to main content

Module unix

Module unix 

Source

Modules§

futexLinux, or Android, or Emscripten and atomics, or FreeBSD, or OpenBSD, or DragonFly BSD, or Fuchsia
linuxLinux
os
Implementation of std::os functionality for unix systems
stack_overflow
time
weak
Support for “weak linkage” to symbols on Unix

Macros§

impl_is_minus_one 🔒

Statics§

ON_BROKEN_PIPE_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.
initNon-target_os=espidf
on_broken_pipe_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