1 2 3 4 5 6 7 8
#include <unistd.h> #include <sys/reboot.h> /* sysdep: -std reboot */ int reboot_system(int what) { return(reboot(what, (char *)0)); }