source:
trunk/minix/lib/posix/_execlp.c@
9
| Last change on this file since 9 was 9, checked in by , 15 years ago | |
|---|---|
| File size: 310 bytes | |
| Rev | Line | |
|---|---|---|
| [9] | 1 | /* execlp() - execute with PATH search Author: Kees J. Bot |
| 2 | * 22 Jan 1994 | |
| 3 | */ | |
| 4 | #define execlp _execlp | |
| 5 | #define execvp _execvp | |
| 6 | #include <unistd.h> | |
| 7 | ||
| 8 | int execlp(const char *file, const char *arg1, ...) | |
| 9 | /* execlp("sh", "sh", "-c", "example", (char *) 0); */ | |
| 10 | { | |
| 11 | return execvp(file, (char * const *) &arg1); | |
| 12 | } |
Note:
See TracBrowser
for help on using the repository browser.