When you want to stop interacting with the ToolTalk service and other ToolTalk session participants, you must unregister your process before your application exits.
/* * Before leaving, allow ToolTalk to clean up. */ tt_close(); exit(0); } |
tt_close returns Tt_status and closes the current default procid.