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