Reboot

 · Jean Schurger

In today's rapidly changing world, rebooting computers become more and more difficult. Here is a little brutal program to reboot an x86 computer.

/* cc -o reboot reboot.c */
/* ./reboot */

#include <sys/io.h>

void main(void) {
    iopl(3);
    outb(6, 0xcf9);
}