diff options
Diffstat (limited to 'src/libenvexec/mexec0_afm.c')
-rw-r--r-- | src/libenvexec/mexec0_afm.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/libenvexec/mexec0_afm.c b/src/libenvexec/mexec0_afm.c new file mode 100644 index 0000000..1ece07e --- /dev/null +++ b/src/libenvexec/mexec0_afm.c @@ -0,0 +1,11 @@ +/* ISC license. */ + +#include <unistd.h> + +#include <skalibs/exec.h> + +void mexec0_afm (char const *file, char const *const *argv, char const *const *envp, size_t envlen, char const *modif, size_t modiflen) +{ + if (!argv[0]) _exit(0) ; + mexec_afm(file, argv, envp, envlen, modif, modiflen) ; +} |