[][src]Function linux::syscall::reboot

pub fn reboot(cmd: c_uint, arg: KStr) -> c_int

Performs reboot-related operations.

[argument, cmd] The command to be executed.

[argument, arg] An optional argument.

= Remarks

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

= See also

  • link:man:reboot(2)