Terminates GeoStan.
Syntax
GsFunStat GsTerm(GsId gs);
Arguments
GsIdgs ID returned by GsInitWithProps() for the current instance of GeoStan. Input.
Return Values
GS_SUCCESS
GS_ERROR
Notes
You must call GsTerm() at the conclusion of a session to close files and release other resources. It closes GeoStan and invalidates GsId.
You cannot call any function that accepts a GsId parameter except GsInit_r following a call to GsTerm. Also, you should only delete the initialization, find, and status properties (by calling GsPropListDestroy) that you have used with GeoStan after the call to GsTerm.