int omp_get_num_teams(void);
SummaryThe omp_get_num_teams routine returns the number of initial teams in the current teams region.
BindingThe binding task set for an omp_get_num_teams region is the generating task
EffectThe effect of this routine is to return the number of initial teams in the current teams region. The routine returns 1 if it is called from outside of a teams region.