Added _exit.c

This commit is contained in:
ceriel 1989-10-26 11:51:46 +00:00
parent acfb0f2eed
commit adc8fc6e9e
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);
}