1 /* reboot.c - Systemcall interface to mm/signal.c::do_reboot()
3 author: Edvard Tuinder v892231@si.hhs.NL
11 #include <sys/reboot.h>
14 int reboot(int how
, ...)
20 if ((m
.m1_i1
= how
) == RBT_MONITOR
) {
21 m
.m1_p1
= va_arg(ap
, char *);
22 m
.m1_i2
= va_arg(ap
, size_t);
26 return _syscall(PM_PROC_NR
, REBOOT
, &m
);