Skip to main content

Module unix

Module unix 

Source

Modules§

conf
futexAndroid, or DragonFly BSD, or FreeBSD, or Fuchsia, or Linux, or OpenBSD, or Emscripten and atomics
linuxLinux
stack_overflow
time
weak
Support for “weak linkage” to symbols on Unix

Macros§

impl_is_minus_one 🔒

Statics§

ON_BROKEN_PIPE_USED 🔒 Neither Emscripten nor ESP-IDF nor Fuchsia nor Horizon nor Play Station Vita nor VxWorks

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-ESP-IDF
on_broken_pipe_used 🔒 Neither Emscripten nor ESP-IDF nor Fuchsia nor Horizon nor NuttX nor Play Station Vita nor VxWorks
signal