Added _exit.c
This commit is contained in:
parent
69d8dc3b44
commit
acfb0f2eed
3 changed files with 3 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue