From ccb423ed6f317da5a02f4feeda082d791215a4ba Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Wed, 14 Feb 2018 17:16:53 +0000 Subject: Add execvep_loose, prepare for 2.6.4.0 --- doc/libstddjb/djbunix.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'doc/libstddjb') diff --git a/doc/libstddjb/djbunix.html b/doc/libstddjb/djbunix.html index da8ed23..05515aa 100644 --- a/doc/libstddjb/djbunix.html +++ b/doc/libstddjb/djbunix.html @@ -328,7 +328,7 @@ Returns -1 and sets errno if it fails; returns 0 if it succeeds.

Executable search and execution, and environment

- void execvep (char const *file, char const *const *argv, char const *const *envp, char const *path)
+ void execvep_loose (char const *file, char const *const *argv, char const *const *envp, char const *path)
Executes into the executable file at file, with the command line set to argv and the environment set to envp. If file is not an absolute path, it is searched in the @@ -338,6 +338,12 @@ The function returns if it fails, and sets errno to the most relevant error that happened.

+

+ void execvep (char const *file, char const *const *argv, char const *const *envp, char const *path)
+Like execvep_loose(), but if file contains a slash, +it is treated as an absolute path. +

+

void pathexec_run (char const *file, char const *const *argv, char const *const *envp)
Performs execvep(file, argv, envp, path), path being the -- cgit v1.2.3