summaryrefslogtreecommitdiff
path: root/src/libstddjb/pathexec0_run.c
blob: 818877e1dcaff9fc729314e0f9788e16a58d843b (plain)
1
2
3
4
5
6
7
8
9
10
/* ISC license. */

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

void pathexec0_run (char const *const *argv, char const *const *envp)
{
  if (!argv[0]) _exit(0) ;
  pathexec_run(argv[0], argv, envp) ;
}