[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

ungetann

 
int ungetann(WFDB_Annotator an, WFDB_Annotation *annot)
Return:

0
Success
-1
Failure: push-back buffer full (*annot was not pushed back)
-2
Failure: incorrect annotator number specified

This function arranges for the annotation structure pointed to by annot to be the next one read by getann from input annotator an. The pushed-back annotation need not necessarily be one originally read by getann. No more than one annotation may be pushed back at a time for each input annotator. (This function was first introduced in WFDB library version 5.3.)



George B. Moody (george@mit.edu)