ec_find_conf_file2
Last updated March 2020
Name
ec_find_conf_file2 — Find a filename in the given search path and return the resulting path
Synopsis
#include "util.h"
| int **ec_find_conf_file2** ( | path, | |
| | base, | |
| | outstr, | |
| | errstr); | |
const char * <var class="pdparam">path</var>;
const char * <var class="pdparam">base</var>;
string * <var class="pdparam">outstr</var>;
string * <var class="pdparam">errstr</var>;
Description
Find a filename in the given search path and return the resulting path.
- path
-
A colon-separated path to search before the system configuration path.
- base
-
The base filename to be found.
- outstr
-
The string holding the resulting path.
- errstr
-
The error message, set on failure.
On success this function returns 1; on failure it returns 0.
It is legal to call this function in any thread.
Was this page helpful?