The ts_close() function

The ts_close() procedure closes the associated time series.

Syntax

void 
ts_close(ts_tsdesc *tsdesc)
tsdesc
A time series descriptor returned by ts_open.

Description

After a call to this procedure, tsdesc is no longer valid and so should not be passed to any routine requiring the tsdesc argument.

Example

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