diff options
Diffstat (limited to 'otherlibs/unix/unlink.c')
-rw-r--r-- | otherlibs/unix/unlink.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/otherlibs/unix/unlink.c b/otherlibs/unix/unlink.c new file mode 100644 index 000000000..67684f473 --- /dev/null +++ b/otherlibs/unix/unlink.c @@ -0,0 +1,9 @@ +#include <mlvalues.h> +#include "unix.h" + +value unix_unlink(path) /* ML */ + value path; +{ + if (unlink(String_val(path)) == -1) uerror("unlink", path); + return Val_unit; +} |