mirror of
https://github.com/BoredDevNL/BoredOS.git
synced 2026-05-15 18:58:40 +00:00
9 lines
203 B
C
9 lines
203 B
C
#include <stdlib.h>
|
|
#include <syscall.h>
|
|
|
|
int main(int argc, char **argv) {
|
|
(void)argc; (void)argv;
|
|
printf("Rebooting...\n");
|
|
sys_system(12, 0, 0, 0, 0); // SYSTEM_CMD_REBOOT
|
|
return 0;
|
|
}
|