C

Examples of C language constructs that terminate the enclave are: kill(), abort(), raise(SIGTERM), raise(SIGABND), and exit(). When you use a C language construct to terminate an enclave, the T_I_S (Termination Imminent Due to STOP) condition is raised. After T_I_S has been processed and all user code has been removed from the stack, the C atexit list is honored.