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

#include <errno.h>

#include <skalibs/exec.h>
#include <skalibs/strerr.h>

void xexec_ae (char const *file, char const *const *argv, char const *const *envp)
{
  exec_ae(file, argv, envp) ;
  strerr_dieexec(errno == ENOENT ? 127 : 126, file) ;
}