. pci driver now returns devices, even when they have been pci_reserve()d
[minix3.git] / lib / posix / _execl.c
blob4592d0731c3a452bc63eb9269c0967e27b95c704
1 /* execl() - execute Author: Kees J. Bot
2 * 21 Jan 1994
3 */
4 #define execl _execl
5 #define execve _execve
6 #include <unistd.h>
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);