cctools
envtools.h
1 /*
2 Copyright (C) 2022 The University of Notre Dame
3 This software is distributed under the GNU General Public License.
4 See the file COPYING for details.
5 */
6 
7 #ifndef ENVTOOLS_H
8 #define ENVTOOLS_H
9 
10 int find_executable(const char *exe_name, const char *env_path_var, char *exe_path, int max_length);
11 
20 int 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  */
27 const char *system_tmp_dir(const char *override_tmp_dir);
28 #endif