_gfortran_caf_end_team (The GNU Fortran Compiler)

#### 7.2.40 `_gfortran_caf_end_team` — Team termination function ¶

Synopsis:

  `void _gfortran_caf_end_team (int *stat, char *errmsg, size_t errmsg_len)`

Description:

  Terminates the last team changed to. The coarray memory epoch is terminated and all coarrays allocated since the execution of `CHANGE TEAM` are freed.

Arguments:

  stat | intent(out) Stores the status STAT= and may be NULL.
  errmsg | intent(out) When an error occurs, this is set to an error message; may be NULL.
  errmsg_len | intent(in) the buffer size of errmsg