|
|
1.1 ! root 1: /* x_reboot.c - x_reboot */ ! 2: ! 3: #include <conf.h> ! 4: #include <kernel.h> ! 5: ! 6: /*------------------------------------------------------------------------ ! 7: * x_reboot - (builtin command reboot) restart the system from scratch ! 8: *------------------------------------------------------------------------ ! 9: */ ! 10: BUILTIN x_reboot(stdin, stdout, stderr, nargs, args) ! 11: int stdin, stdout, stderr, nargs; ! 12: char *args[]; ! 13: { ! 14: restart(); /* warning! This terminates everything. */ ! 15: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.