diff options
author | Bruce Guenter <bruce@untroubled.org> | 2016-01-18 12:04:41 -0600 |
---|---|---|
committer | Bruce Guenter <bruce@untroubled.org> | 2016-01-19 09:26:56 -0600 |
commit | b83af86a6fe9f308e51ed9528df700acce1626fd (patch) | |
tree | 3c4f4a8dd90206b0f3c50fc4f492cc9089a20063 /lib/forkexec.h | |
parent | 84e4916f1a3fed45ac55611b342f661e9b0c7644 (diff) |
lib: Add program_path function for calculating program names
Diffstat (limited to 'lib/forkexec.h')
-rw-r--r-- | lib/forkexec.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/forkexec.h b/lib/forkexec.h index 16091ab..7a83764 100644 --- a/lib/forkexec.h +++ b/lib/forkexec.h @@ -3,8 +3,11 @@ #include <sys/types.h> #include <sys/wait.h> +#include "mystring/mystring.h" #include "autoclose.h" +mystring program_path(const char* basedir, const char* name, const char* envvar); + #define REDIRECT_NULL -2 #define REDIRECT_PIPE_FROM -3 #define REDIRECT_PIPE_TO -4 |