source:
trunk/minix/lib/posix/_execlp.c@
10
Last change on this file since 10 was 9, checked in by , 13 years ago | |
---|---|
File size: 310 bytes |
Line | |
---|---|
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.