Added _exit.c

This commit is contained in:
ceriel 1989-10-26 11:39:31 +00:00
parent 69d8dc3b44
commit acfb0f2eed
3 changed files with 3 additions and 2 deletions

View file

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

View file

@ -4,5 +4,5 @@ PUBLIC int exit(status)
int status; int status;
{ {
_cleanup(); _cleanup();
return callm1(MM, EXIT, status, 0, 0, NIL_PTR, NIL_PTR, NIL_PTR); _exit(status);
} }

View file

@ -4,5 +4,5 @@ PUBLIC int exit(status)
int status; int status;
{ {
_cleanup(); _cleanup();
return callm1(MM, EXIT, status, 0, 0, NIL_PTR, NIL_PTR, NIL_PTR); _exit(status);
} }