TSfclose

Synopsis

#include <ts/ts.h>
void TSfclose(TSFile filep)

Description

Closes the file to which filep points and frees the data structures and buffers associated with it.

If the file was opened for writing, any pending data is flushed.