Skip to main content

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.

Parameters

base

The base filename to be found.

outstr

The string holding the resulting path.

errstr

The error message, set on failure.

Return Values

On success this function returns 1; on failure it returns 0.

Threading

It is legal to call this function in any thread.

Was this page helpful?