diff options
Diffstat (limited to 'src/libstddjb/pathexec_r_name.c')
-rw-r--r-- | src/libstddjb/pathexec_r_name.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/libstddjb/pathexec_r_name.c b/src/libstddjb/pathexec_r_name.c deleted file mode 100644 index 29c0863..0000000 --- a/src/libstddjb/pathexec_r_name.c +++ /dev/null @@ -1,13 +0,0 @@ -/* ISC license. */ - -#include <skalibs/bytestr.h> -#include <skalibs/env.h> -#include <skalibs/djbunix.h> - -void pathexec_r_name (char const *file, char const *const *argv, char const *const *envp, size_t envlen, char const *modifs, size_t modiflen) -{ - size_t n = envlen + 1 + byte_count(modifs, modiflen, '\0') ; - char const *v[n] ; - if (env_merge(v, n, envp, envlen, modifs, modiflen)) - pathexec_run(file, argv, v) ; -} |