int tsmCloseStream ( FILE *stream ) Closes a stream opened with tsmOpenStream
Closes a stream opened with tsmOpenStream.This function should be used to close a stream that was previously opened by the tsmOpenStream function. This function will not perform any close operation if the stream is NULL. Note that some of the stream utility functions close the stream automatically upon completion so you do not need to call this function if you use one of tsmStreamToFile, tsmStreamToBuffer, or tsmStreamToStdout.