Expand description
Uname and other system-level functions.
§Safety
This function converts from struct utsname fields provided from the
kernel into &str references, which assumes that they’re NUL-terminated.
Structs§
struct utsname—Return type foruname.
Enums§
- Reboot command for use with
reboot.
Functions§
delete_module—Unload a kernel modulefinit_module—Load a kernel module from a file descriptorinit_module—Load a kernel modulereboot—Reboot the system or enable/disable Ctrl-Alt-Delsethostname(name)—Sets the system host name.sysinfo()—Returns status information about the runtime OS.uname()—Returns high-level information about the runtime OS and hardware.
Type Aliases§
sysinfo