Function lrs::sys::restart

Shuts the system down and powers it off.

Syntax

fn restart<T>(msg: Option<T>) -> Result<(), Errno>
    where T: ToCStr,

Arguments

NameDescription
msg

See also