omp_get_team_num (GNU libgomp)

#### 3.3.2 `omp_get_team_num` – Get team number ¶

Description:

  Returns the team number of the calling thread.

C/C++:

  Prototype: | `int omp_get_team_num(void);`

Fortran:

  Interface: | `integer function omp_get_team_num()`

See also:

  `omp_get_num_teams_dim` – Number of teams along a dimension, `OMP_NUM_TEAMS` – Specifies the number of teams to use by teams region, `omp_get_num_teams` – Number of teams

Reference:

  OpenMP specification v4.5, Section 3.2.33.