reboot.h raw

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