Next: omp_get_num_threads, Previous: omp_get_num_procs, Up: Runtime Library Routines [Contents][Index]

### 2.12 `omp_get_num_teams` – Number of teams

Description:

  Returns the number of teams in the current team region.

C/C++:

  Prototype: | `int omp_get_num_teams(void);`

Fortran:

  Interface: | `integer function omp_get_num_teams()`

Reference:

  OpenMP specification v4.0, Section 3.2.26.