/*
 cLIeNUX restart     
Copyright 2000 Rick Hohensee  humbubba@smart.net
Uses the reboot syscall calling option that passes boot parameters 
to the next boot. Plain pole-axe. No cache-coddling. 
Don't come crying to me. 

USEAGE:    
	:; cLIeNUX 
	:;restart  [bootparams....]
			
		GAME    OVER

#  cLIeNUX pasteable libc-less build script
cp restart.c /help/see/restart.0.html 		#   "make install_man"
gcc -o restart.o -c restart.c
ld -nostdlib -o restart restart.o /.li/static/libsys.a /.li/static/arg_env.o
strip -R .comment -R .note restart
rm restart.o
flush
file restart
wc restart
cp restart  /.sbi				#    "make install"
*/


int i, argc;
char **  argv;
int reboot (  int magic,   int magic2,   int mode_flag,      void *arg        );

main(){
return reboot(0xfee1dead,  672274793,    0xA1B2C3D4        , (void *)(int)argv[1] ); 
}

/* 
Manpage says this does normal syscall return values. On success? Curious. reboot This file is released for redistribution only as part of an intact entire cLIeNUX Core. */