devela::sys::os

Module linux

Source
Available on crate feature linux only.
Expand description

Linux-specific definitions

§Supported architectures

Linux functionality will only be compiled in the following target architectures:

  • x86-64, x86, ARM, AArch64, RISC-V RV32, RISC-V RV64.

Apart from that, this module will compile without checking whether the current OS is linux, since that would require enabling std and the whole point is to be able to use all of this functionality from no_std.

Modules§

Structs§

Statics§

  • LINUX_TERMINAL_STATEunsafe_syscall and dep_atomic and dep_bytemuck
    State of the terminal saved globally, that can be restored from anywhere.