int omp_get_cancellation(void);
Summary The omp_get_cancellation routine returns the value of the cancel-var ICV, which determines if cancellation is enabled or disabled.
Binding The binding task set for an omp_get_cancellation region is the whole program.
Effect This routine returns true if cancellation is enabled. It returns false otherwise.