Function lrs::syscall::reboot

Performs reboot-related operations.

Syntax

fn reboot(cmd: u32, arg: &CStr) -> i32

Arguments

NameDescription
cmd

The command to be executed.

arg

An optional argument.

Remarks

The argument is actually a void but currently only used as a string in one case.

See also