char *dbfile(char *type, char *record)
Return:
NULL
This function attempts to locate an existing DB file by searching the database
path (see section The Database Path). Normally, the file is specified by its type
(e.g., `header', or an annotator name such as `atruth') 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 dbfile
if the name is passed in the
type variable and record is NULL
. The string returned by
dbfile
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 file cannot be found,
dbfile
returns NULL
. (This function was first introduced
in DB library version 4.3.)
Go to the first, previous, next, last section, table of contents.