skalibs

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

mexec0_afn.c (315B)


      1 /* ISC license. */
      2 
      3 #include <unistd.h>
      4 
      5 #include <skalibs/exec.h>
      6 
      7 void mexec0_afn (char const *file, char const *const *argv, char const *const *envp, size_t envlen, char const *modif, size_t modiflen, size_t modifn)
      8 {
      9   if (!argv[0]) _exit(0) ;
     10   mexec_afn(file, argv, envp, envlen, modif, modiflen, modifn) ;
     11 }