rustit/mirror_runit/runit-2.1.2/src/reboot_system.h1
2024-03-24 23:51:57 +00:00

8 lines
139 B
Text

#include <unistd.h>
#include <sys/reboot.h>
/* sysdep: -std reboot */
int reboot_system(int what) {
return(reboot(what, (char *)0));
}