User`s guide
SdfTrunc
Syntax long SdfTrunc (short fn);
Returns a long integer or minus one (-1 indicates an error).
This function returns a long integer. This integer is the accumulated number of times that data was
truncated by any of these functions:
• SdfYdata()
• SdfYdataWrite()
• SdfXdata()
• SdfScanData()
Separate truncation counts are kept for each open file. Therefore, you must specify the number (fn) of the
open SDF file with this function (for details about fn, see SdfOpen).
The count for an SDF file is cleared (reset) when the file is open or after calling this routine.
Using SDF Data with C Programs
SdfTrunc
6-19