The ts_end_scan() procedure

The ts_end_scan() procedure ends a scan of a time series. It releases resources acquired by ts_begin_scan(). Upon return, no more elements can be retrieved using the given ts_tscan pointer.

Syntax

void 
ts_end_scan(ts_tscan *scan)
scan
The scan to be ended.

Example

See the ts_interp() function, The Interp function example, for an example of ts_end_scan().