summaryrefslogtreecommitdiff
path: root/otherlibs/unix/execv.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/unix/execv.c')
-rw-r--r--otherlibs/unix/execv.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/otherlibs/unix/execv.c b/otherlibs/unix/execv.c
deleted file mode 100644
index 851d331cb1..0000000000
--- a/otherlibs/unix/execv.c
+++ /dev/null
@@ -1,18 +0,0 @@
-#include <mlvalues.h>
-#include <memory.h>
-#include "unix.h"
-
-extern char ** cstringvect();
-
-value unix_execv(path, args) /* ML */
- value path, args;
-{
- char ** argv;
- argv = cstringvect(args);
- (void) execv(String_val(path), argv);
- stat_free((char *) argv);
- uerror("execv", path);
- return Val_unit; /* never reached, but suppress warnings */
- /* from smart compilers */
-}
-