source: trunk/minix/lib/posix/_execlp.c@ 11

Last change on this file since 11 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

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
8int 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.