int QccFilePathSearch(const
QccString pathlist, const QccString filename, QccString found_pathname);
FILE *QccFilePathSearchOpenRead(QccString filename, const char *environment_path_variable,
const char *default_path_list);
QccFilePathSearchOpenRead() is similar to QccFilePathSearch() except that the path to use is retrieved from the environment variable specified by environment_path_variable, and the file, if found, is opened for reading. A FILE pointer to the opened file is returned. If the file is not found, QccFilePathSearchOpenRead() returns a NULL pointer. If the file is found, the full path to the found file is returned in filename, overwriting the original filename passed to the routine. If environment_path_variable is NULL, or the environment variable is not found in the environment, then default_path_list is used as the path in the search. If, in turn, default_path_list is NULL, then the current directory (i.e., a path of ".") is used as the search path.