summary refs log tree commit diff
path: root/src/reboot_system.h1
blob: d4950c9d3e6aaefe505e509659a0e49c6d971192 (plain) (blame)
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));
}