Skip to main content
Module unix Copy item path Source futex Linux, or Android, or Emscripten and atomics, or FreeBSD, or OpenBSD, or DragonFly BSD, or Fuchsia linux Linux os Implementation of std::os functionality for unix systems stack_overflow time weak Support for “weak linkage” to symbols on Unix impl_is_minus_one 🔒 ON_BROKEN_PIPE_USED 🔒 Neither target_os=espidf nor Emscripten nor Fuchsia nor target_os=horizon nor target_os=vxworks nor target_os=vita IsMinusOne 👻 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.init ⚠ Non-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 ⚠