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