diff --git a/mach/minix/libsys/_exit.c b/mach/minix/libsys/_exit.c new file mode 100644 index 000000000..32aa51015 --- /dev/null +++ b/mach/minix/libsys/_exit.c @@ -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); +} diff --git a/mach/minixST/libsys/LIST b/mach/minixST/libsys/LIST index 95cbe89d5..c106422e0 100644 --- a/mach/minixST/libsys/LIST +++ b/mach/minixST/libsys/LIST @@ -15,6 +15,7 @@ dup.c dup2.c exec.c exit.c +_exit.c cleanup.c fork.c fstat.c diff --git a/mach/minixST/libsys/_exit.c b/mach/minixST/libsys/_exit.c new file mode 100644 index 000000000..32aa51015 --- /dev/null +++ b/mach/minixST/libsys/_exit.c @@ -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); +}