From 0eb30761a26c46aaf555464114851202ae9c27bd Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Sat, 4 Jun 2011 21:23:15 +0200 Subject: libc: add non standard execvpe function Signed-off-by: Henning Heinold Signed-off-by: Bernhard Reutner-Fischer --- include/unistd.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include') diff --git a/include/unistd.h b/include/unistd.h index feadf9382..947955469 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -619,6 +619,14 @@ extern int execlp (const char *__file, const char *__arg, ...) __THROW __nonnull ((1)); libc_hidden_proto(execlp) +#ifdef __USE_GNU +/* Execute FILE, searching in the `PATH' environment variable if it contains + no slashes, with arguments ARGV and environment from a pointer */ +extern int execvpe (__const char *__file, char *__const __argv[], char *__const __envp[]) + __THROW __nonnull ((1)); +libc_hidden_proto(execvpe) +#endif + #if defined __USE_MISC || defined __USE_XOPEN /* Add INC to priority of the current process. */ -- cgit v1.2.3