int omp_get_num_teams(void);
Summary The omp_get_num_teams routine returns the number of initial teams in the current teams region.
Binding The binding task set for an omp_get_num_teams region is the generating task
Effect The 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.