[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
char *wfdbfile(char *type, char *record) |
NULL
This function attempts to locate an existing WFDB file by searching the
database path (see section 1.4 The Database Path and Other Environment Variables). Normally, the file is specified by its
type (e.g., `hea', or an annotator name such as `atr')
and by the record to which it belongs. A file that does not include a
record name as part of its name can be found by wfdbfile
if the name is
passed in the type variable and record is NULL
. The string
returned by wfdbfile
includes the appropriate component of the database
path; since the database path may include empty or non-absolute components, the
string is not necessarily an absolute pathname. If the WFDB library has been
compiled with NETFILES support, and the WFDB path includes one or more
URL prefixes, the string returned may be a URL rather than a pathname. If the
file cannot be found, wfdbfile
returns NULL
. (This function was
first introduced in WFDB library version 4.3.)