Open Enclave  0.17.0

◆ oe_terminate_enclave()

oe_result_t oe_terminate_enclave ( oe_enclave_t enclave)

Terminate an enclave and reclaims its resources.

This function terminates an enclave and reclaims its resources. This involves unmapping the memory that was mapped by oe_create_enclave(). Once this is performed, the enclave can no longer be accessed.

Parameters
[in]enclaveThe instance of the enclave to be terminated.
Returns
Returns OE_OK on success.