#include <unistd.h>
#include <sys/reboot.h>

int main(void) {
  return(reboot(0));
}


syntax highlighted by Code2HTML, v. 0.9.1