source:
trunk/minix/lib/posix/_execv.c@
16
| Last change on this file since 16 was 9, checked in by , 14 years ago | |
|---|---|
| File size: 313 bytes | |
| Rev | Line | |
|---|---|---|
| [9] | 1 | /* execv() - execute with prepared arguments Author: Kees J. Bot |
| 2 | * 21 Jan 1994 | |
| 3 | */ | |
| 4 | #define execv _execv | |
| 5 | #define execve _execve | |
| 6 | #include <unistd.h> | |
| 7 | ||
| 8 | extern char * const **_penviron; /* The default environment. */ | |
| 9 | ||
| 10 | int execv(const char *path, char * const *argv) | |
| 11 | { | |
| 12 | return execve(path, argv, *_penviron); | |
| 13 | } |
Note:
See TracBrowser
for help on using the repository browser.