_TCEXIT returns the full pathname of the TCEXIT.* file, or an empty string if TCC-RT can't find TCEXIT.

 

Note that the string returned by _TCEXIT can change before TCEXIT is actually executed. (For example, if you modify the TCMD.INI settings.)