logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git

reboot.h (374B)


  1. #ifndef _SYS_REBOOT_H
  2. #define _SYS_REBOOT_H
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. #define RB_AUTOBOOT 0x01234567
  7. #define RB_HALT_SYSTEM 0xcdef0123
  8. #define RB_ENABLE_CAD 0x89abcdef
  9. #define RB_DISABLE_CAD 0
  10. #define RB_POWER_OFF 0x4321fedc
  11. #define RB_SW_SUSPEND 0xd000fce2
  12. #define RB_KEXEC 0x45584543
  13. int reboot(int);
  14. #ifdef __cplusplus
  15. }
  16. #endif
  17. #endif