skalibs

Mirror/fork of https://skarnet.org/software/skalibs/
git clone https://ccx.te2000.cz/git/skalibs
Log | Files | Refs | README | LICENSE

xexecvep_loose.c (332B)


      1 /* ISC license. */
      2 
      3 #include <errno.h>
      4 
      5 #include <skalibs/posixplz.h>
      6 #include <skalibs/strerr.h>
      7 #include <skalibs/exec.h>
      8 
      9 void xexecvep_loose (char const *file, char const *const *argv, char const *const *envp, char const *path)
     10 {
     11   execvep_loose(file, argv, envp, path) ;
     12   strerr_dieexec(errno == ENOENT ? 127 : 126, file) ;
     13 }