summaryrefslogtreecommitdiff
path: root/src/linux/reboot.c
blob: 240dac5aee1c56817648c8881a2327e728da3724 (plain)
1
2
3
4
5
6
7
#include <sys/reboot.h>
#include "syscall.h"

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