Available on crate feature
system only.Expand description
Uname and other system-level functions.
Structs§
Enums§
- Reboot
Command Linux - Reboot command for use with
reboot.
Functions§
- delete_
module linux_kernel delete_module—Unload a kernel module.- finit_
module linux_kernel finit_module—Load a kernel module from a file descriptor.- init_
module linux_kernel init_module—Load a kernel module.- reboot
Linux reboot—Reboot the system or enable/disable Ctrl-Alt-Del.- setdomainname
Neither Cygwin nor Emscripten nor target_os=espidfnor Haiku nortarget_os=horizonnor illumos nor Redox nor Solaris nortarget_os=vitanor WASI setdomain(name)—Sets the system NIS domain name.- sethostname
Neither Emscripten nor target_os=espidfnortarget_os=horizonnor Redox nortarget_os=vitanor WASI sethostname(name)—Sets the system host name.- sysinfo
linux_kernel sysinfo()—Returns status information about the runtime OS.- uname
uname()—Returns high-level information about the runtime OS and hardware.