uname_release

Function uname_release 

Source
pub fn uname_release() -> Result<String>
Expand description

uname(2) syscall wrapper. Returns the running kernel’s release string (the field that uname -r prints).

SAFETY: libc::uname populates a utsname struct on the stack; the release field is a NUL-terminated c_char[65] in glibc / musl’s definition.