VSeekData
Name
VSeekData - seeks the data in a 3DVIEWNIX data file.
Synopsis
VSeekData(fp, offset)
FILE *fp;
long offset;
Description
VSeekData skips the file header and offset bytes from the data segment
and makes the file pointer point to the correct location in the data.
Return Value
0 - work successfully.
2 - read error.
5 - improper seeks.
100 - incorrect 3DVIEWNIX file header format.
Parameters
fp - a pointer to the output data file.
offset - number of data bytes to skip.
Side Effects
VSeekData cannot seek data more than the size of a long. This is a
limitaiton of the operating system (Unix).
Entry Condition
None
Related Functions
VWriteData,
VReadData.