blob: 278be11e28f46e145b93c47a0e927c80de09f797 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
/* ISC license. */
#include <skalibs/env.h>
#include <skalibs/exec.h>
void mexec_afn (char const *file, char const *const *argv, char const *const *envp, size_t envlen, char const *modif, size_t modiflen, size_t modifn)
{
char const *newenvp[envlen + modifn + 1] ;
env_mergen(newenvp, envlen + modifn + 1, envp, envlen, modif, modiflen, modifn) ;
exec_ae(file, argv, newenvp) ;
}
|