diff options
Diffstat (limited to 'otherlibs/unix/exit.c')
-rw-r--r-- | otherlibs/unix/exit.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/otherlibs/unix/exit.c b/otherlibs/unix/exit.c new file mode 100644 index 000000000..c3cf6572c --- /dev/null +++ b/otherlibs/unix/exit.c @@ -0,0 +1,12 @@ +#include <mlvalues.h> +#include "unix.h" + +value unix_exit(n) /* ML */ + value n; +{ + _exit(Int_val(n)); + return Val_unit; /* never reached, but suppress warnings */ + /* from smart compilers */ +} + + |