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