Initial revision

This commit is contained in:
Ben Gras
2005-04-21 14:53:53 +00:00
commit 9865aeaa79
2264 changed files with 411685 additions and 0 deletions

15
lib/syslib/sys_exit.c Normal file
View File

@@ -0,0 +1,15 @@
#include "syslib.h"
/*===========================================================================*
* sys_exit *
*===========================================================================*/
PUBLIC int sys_exit(int status)
{
/* A server wants to exit. The exit status is passed on, possibly a panic.
*/
message m;
m.EXIT_STATUS = status;
return(_taskcall(SYSTASK, SYS_EXIT, &m));
/* NOT REACHED */
}