aboutsummaryrefslogtreecommitdiff
path: root/src/linux/reboot.c
blob: 37559b353e24ca6ef445ce942cd441035b17a35e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <sys/reboot.h>
#include "syscall.h"

int reboot(int type)
{
	return syscall(SYS_reboot, 0xfee1dead, 672274793, type);
}


#ifdef TEST
int
main(void) {
	return 0;
}
#endif