long dbgetstart(DB_Signal s)
Return:
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 dbgetstart
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 `header' file. Since the prolog is not readable
using the DB library, and since functions such as isigopen
and
isigsettime
take the prolog into account when calculating byte
offsets for getframe
and getvec
, dbgetstart
is
useful primarily for programs that need to rewrite existing
`header' files, where it is necessary to preserve the previously
recorded byte offsets. For an example of how this can be done,
see section dbgetskew. (This function was first introduced in DB library
version 9.4.)
Go to the first, previous, next, last section, table of contents.