summaryrefslogtreecommitdiff
path: root/src/libstddjb/xexecvep.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/xexecvep.c')
-rw-r--r--src/libstddjb/xexecvep.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/libstddjb/xexecvep.c b/src/libstddjb/xexecvep.c
new file mode 100644
index 0000000..3a3363e
--- /dev/null
+++ b/src/libstddjb/xexecvep.c
@@ -0,0 +1,10 @@
+/* ISC license. */
+
+#include <skalibs/djbunix.h>
+#include <skalibs/strerr2.h>
+
+void xexecvep (char const *file, char const *const *argv, char const *const *envp, char const *path)
+{
+ execvep(file, argv, envp, path) ;
+ strerr_dieexec(111, file) ;
+}