long cdds_lseek(bin , tag, offset, whence);
<P> [ <A HREF="#input">Input</A> | <A HREF="#output">Output</A> | <A HREF="#examples">Examples</A> ] <Hr>
Pipe media only supports forward seeks.
tag is a field tag which specifies a tag associated with bin. This provides an offset relative to an absolute origin as defined by whence. If tag is zero (nominal), it defaults to the target (trace type) associated with bin.
Offset is a position, measured relative to the whence origin. The Offset should be an integral multiple of type relative to the absolute origin. tab(|); lI lB lB l. whence|seek origin. SEEK_SET|beginning of the file. SEEK_CUR|current file position. SEEK_END|end of the file.
The return value is the new offset, or -1 if an error occurred.
BIN_TAG bin;
...
/* skip next 10 target types (traces) */
cdds_lseek(bin, 0, +10, SEEK_CUR);
} tab(|); lb l. dds(1)|End user overview cdds_api(3)|"C" Application Program Interface }