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