2011-02-12 05:22:29 +00:00
|
|
|
#include <sys/reboot.h>
|
2011-08-03 01:22:56 +00:00
|
|
|
#include "syscall.h"
|
2011-02-12 05:22:29 +00:00
|
|
|
|
|
|
|
int reboot(int type)
|
|
|
|
{
|
2011-12-24 00:13:48 +00:00
|
|
|
return syscall(SYS_reboot, 0xfee1dead, 672274793, type);
|
2011-02-12 05:22:29 +00:00
|
|
|
}
|