[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
long wfdbgetstart(WFDB_Signal s) |
This function returns the number of bytes in the prolog of the
signal file that contains the specified input signal, as recorded in the
header file. Note that wfdbgetstart
does not
determine the length of the prolog by inspection of the signal
file; it merely reports what has been determined by other means and
recorded in the `hea' file. Since the prolog is not readable
using the WFDB library, and since functions such as isigopen
and
isigsettime
take the prolog into account when calculating byte
offsets for getframe
and getvec
, wfdbgetstart
is
useful primarily for programs that need to rewrite existing
`hea' files, where it is necessary to preserve the previously
recorded byte offsets. For an example of how this can be done,
see section wfdbgetskew. (This function was first introduced in WFDB library
version 9.4.)