Mega Code Archive
Categories
/
C
/
Code Snippets
Reboot a PC , probably DOS
#include
#define reboot 0x19 void rebootpc() { union REGS inregs,outregs; int86(reboot, &inregs, &outregs); // Call BIOS } void main() { rebootpc(); }