diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2018-02-14 17:16:53 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2018-02-14 17:16:53 +0000 |
commit | ccb423ed6f317da5a02f4feeda082d791215a4ba (patch) | |
tree | 8bd8cf32c0e36f7748c077edcbb4f9886aa7dfb4 /doc/libstddjb/djbunix.html | |
parent | 7886cf7020c49586e41aed190165dc6e134e9a5c (diff) | |
download | skalibs-ccb423ed6f317da5a02f4feeda082d791215a4ba.tar.xz |
Add execvep_loose, prepare for 2.6.4.0
Diffstat (limited to 'doc/libstddjb/djbunix.html')
-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> |