cctools
envtools.h
1/*
2Copyright (C) 2022 The University of Notre Dame
3This software is distributed under the GNU General Public License.
4See the file COPYING for details.
5*/
6
7#ifndef ENVTOOLS_H
8#define ENVTOOLS_H
9
10int find_executable(const char *exe_name, const char *env_path_var, char *exe_path, int max_length);
11
20int env_replace( const char *infile, const char *outfile );
21
22
23/* Return the first temporary directory found in the following order:
24 override_tmp_dir argument value, CCTOOLS_TEMP env var, _CONDOR_SCRATCH_DIR
25 env var, TMPDIR env var, TEMP env var, /tmp
26 */
27const char *system_tmp_dir(const char *override_tmp_dir);
28#endif