1 /* execl() - execute Author: Kees J. Bot
8 extern char * const **_penviron
; /* The default environment. */
10 int execl(const char *path
, const char *arg1
, ...)
11 /* execl("/bin/sh", "sh", "-c", "example", (char *) 0); */
13 /* Assumption: The C-implementation for this machine pushes
14 * function arguments downwards on the stack making a perfect
15 * argument array. Luckily this is almost always so.
17 return execve(path
, (char * const *) &arg1
, *_penviron
);