aboutsummaryrefslogtreecommitdiffstats
path: root/guts/execv.c
diff options
context:
space:
mode:
Diffstat (limited to 'guts/execv.c')
-rw-r--r--guts/execv.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/guts/execv.c b/guts/execv.c
new file mode 100644
index 0000000..3fec52a
--- /dev/null
+++ b/guts/execv.c
@@ -0,0 +1,15 @@
+/*
+ * Copyright (c) 2010 Wind River Systems; see
+ * guts/COPYRIGHT for information.
+ *
+ * static int
+ * wrap_execv(const char *path, char *const *argv) {
+ * int rc = -1;
+ */
+ environ = pseudo_setupenv(environ, getenv("PSEUDO_OPTS"));
+
+ rc = real_execv(path, argv);
+
+/* return rc;
+ * }
+ */