diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2017-05-18 13:33:40 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2017-05-18 13:33:40 +0000 |
commit | 3d210ed280513100f9466a2c171db77ee6952a25 (patch) | |
tree | a5a40ee9ab6b314db6aa66843ceb85a2a06cc9bb /src/libstddjb/xexecvep.c | |
parent | 5246da15e870b83bb0c803bde31317b01731b23f (diff) | |
download | skalibs-3d210ed280513100f9466a2c171db77ee6952a25.tar.xz |
Add xpathexec_* functions, prepare for 2.5.1.0
Diffstat (limited to 'src/libstddjb/xexecvep.c')
-rw-r--r-- | src/libstddjb/xexecvep.c | 10 |
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) ; +} |