int dbinit(char *record, DB_Anninfo *aiarray, unsigned int nann,
DB_Siginfo *siarray, unsigned int nsig)
Return:
stat (in aiarray) specified for annotation file
(see section Annotator Information Structures)
This function opens database files other than output signal files for a selected record. The code
n = dbinit(record, a, na, s, ns);
is exactly equivalent to
n = annopen(record, a, na);
if (n == 0)
n = isigopen(record, s, ns);
See section Example 9: A Signal Averager, for an illustration of the use of dbinit.
See section osigopen, and see section osigfopen,
for methods of opening output signal files.
Go to the first, previous, next, last section, table of contents.