C > Code Snippets
Reboot a PC , probably DOS
Reboot a PC , probably DOS #include
#define reboot 0x19 void rebootpc() { union REGS inregs,outregs; int86(reboot, &inregs, &outregs); // Call BIOS } void main() { rebootpc(); }
C Codes
Beginners
C on Unix
Code Snippets
Data Structures
File Operations
Games Graphics
Gnu-Linux
Hardware
Mathematics
Miscellaneous
Small Programs
Sorting