xmexec0_afn.c (371B)
1 /* ISC license. */ 2 3 #include <errno.h> 4 5 #include <skalibs/exec.h> 6 #include <skalibs/strerr.h> 7 8 void xmexec0_afn (char const *file, char const *const *argv, char const *const *envp, size_t envlen, char const *modif, size_t modiflen, size_t modifn) 9 { 10 mexec0_afn(file, argv, envp, envlen, modif, modiflen, modifn) ; 11 strerr_dieexec(errno == ENOENT ? 127 : 126, file) ; 12 }