The function creates a persistent C environment that does not require the dynamic library facilities of z/OS® Language Environment® at run time.
For an extensive example of the use of __xhotc(), see Creating and using persistent C environments.
#include <spc.h>
void *__xhotc(void *handle, int stack, int location);
__xhotc() returns a token (or handle) which is used in subsequent calls to __xhotu() and __xhott() to use or terminate a persistent C environment. This handle is found in both the first parameter passed and R15.
The RENT compiler option is not supported for routines called using this environment.