diff options
Diffstat (limited to 'doc/libstddjb')
-rw-r--r-- | doc/libstddjb/djbunix.html | 8 |
1 files changed, 7 insertions, 1 deletions
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. <h3> Executable search and execution, and environment </h3> <p> -<code> void execvep (char const *file, char const *const *argv, char const *const *envp, char const *path) </code> <br /> +<code> void execvep_loose (char const *file, char const *const *argv, char const *const *envp, char const *path) </code> <br /> Executes into the executable file at <em>file</em>, with the command line set to <em>argv</em> and the environment set to <em>envp</em>. If <em>file</em> is not an absolute path, it is searched in the @@ -339,6 +339,12 @@ error that happened. </p> <p> +<code> void execvep (char const *file, char const *const *argv, char const *const *envp, char const *path) </code> <br /> +Like <tt>execvep_loose()</tt>, but if <em>file</em> contains a slash, +it is treated as an absolute path. +</p> + +<p> <code> void pathexec_run (char const *file, char const *const *argv, char const *const *envp) </code> <br /> Performs <tt>execvep(file, argv, envp, path)</tt>, <em>path</em> being the contents of the PATH environment variable. If PATH is not set, <em>path</em> |