Added _exit.c
This commit is contained in:
parent
acfb0f2eed
commit
adc8fc6e9e
3 changed files with 15 additions and 0 deletions
7
mach/minix/libsys/_exit.c
Normal file
7
mach/minix/libsys/_exit.c
Normal 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);
|
||||
}
|
|
@ -15,6 +15,7 @@ dup.c
|
|||
dup2.c
|
||||
exec.c
|
||||
exit.c
|
||||
_exit.c
|
||||
cleanup.c
|
||||
fork.c
|
||||
fstat.c
|
||||
|
|
7
mach/minixST/libsys/_exit.c
Normal file
7
mach/minixST/libsys/_exit.c
Normal 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);
|
||||
}
|
Loading…
Reference in a new issue