Added _exit.c

This commit is contained in:
ceriel 1989-10-26 11:51:46 +00:00
parent 140c755977
commit 97a78aaf10
3 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,7 @@
#include "lib.h"
PUBLIC int _exit(status)
int status;
{
return callm1(MM, EXIT, status, 0, 0, NIL_PTR, NIL_PTR, NIL_PTR);
}

View File

@ -15,6 +15,7 @@ dup.c
dup2.c
exec.c
exit.c
_exit.c
cleanup.c
fork.c
fstat.c

View File

@ -0,0 +1,7 @@
#include "lib.h"
PUBLIC int _exit(status)
int status;
{
return callm1(MM, EXIT, status, 0, 0, NIL_PTR, NIL_PTR, NIL_PTR);
}