_gfortran_caf_get_team (The GNU Fortran Compiler)

#### 7.2.42 `_gfortran_caf_get_team` — Get the opaque handle of the specified team ¶

Synopsis:

  `caf_team_t _gfortran_caf_get_team (int32_t *level)`

Description:

  Get the current team, when level is null, or the team specified by level set to `INITIAL_TEAM`, `PARENT_TEAM` or `CURRENT_TEAM` from the `ISO_FORTRAN_ENV` intrinsic module. When being on the `INITIAL_TEAM` and requesting its `PARENT_TEAM`, then the initial team is returned.

Arguments:

  level | intent(in) If set to one of the levels specified in the `ISO_FORTRAN_ENV` module, the function returns the handle of the given team. Values different from the allowed ones lead to a runtime error.