summaryrefslogtreecommitdiff
path: root/src/libstddjb/xpathexec0_run.c
blob: ab3e6459557919e9e8feecd233b6512a980b54db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* ISC license. */

#include <errno.h>

#include <skalibs/djbunix.h>
#include <skalibs/strerr2.h>

void xpathexec0_run (char const *const *argv, char const *const *envp)
{
  pathexec0_run(argv, envp) ;
  strerr_dieexec(errno == ENOENT ? 127 : 126, argv[0]) ;
}