RB_REBOOT The system is rebooted. RB_HALT The system is halted. RB_POWEROFF The system is powered off.
EINVAL code was not a valid value.