libc, libutil: remove compat hacks
[minix.git] / lib / libc / sys-minix / reboot.c
blob393757b3c811b4ca6d588adac653bdcdb54b3f2a
1 /* reboot.c - Systemcall interface to mm/signal.c::do_reboot()
3 author: Edvard Tuinder v892231@si.hhs.NL
4 */
6 #include <sys/cdefs.h>
7 #include <lib.h>
8 #include "namespace.h"
10 #include <unistd.h>
11 #include <sys/reboot.h>
12 #include <stdarg.h>
14 int reboot(int how)
16 message m;
18 m.m1_i1 = how;
19 return _syscall(PM_PROC_NR, REBOOT, &m);