__cterm() - Terminate a Metal C environment

Format

#include <metal.h>
void __cterm(__csysenv_t csysenvtkn);

General description

The __cterm() function terminates a Metal C environment, freeing all resources obtained on behalf of the environment.

Table 1. csysenvtkn argument in __cterm()
Argument Description
csysenvtkn The environment token representing the environment to be terminated.

Returned value

None.

Example

See the example provided for the __cinit() function.

Output: None.