ec_find_conf_file
Last updated March 2020
Name
ec_find_conf_file — Find a filename in the default search path and return the resulting path
Synopsis
#include "util.h"
| int **ec_find_conf_file** (
| base, | |
| | outstr, | |
| | errstr)
; | |
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 default search path and return the resulting 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?