omp_get_interop_rc_desc (GNU libgomp)

#### 3.12.7 `omp_get_interop_rc_desc` – Obtain error string to an `interop_rc` error code ¶

Description:

  The `omp_get_interop_rc_desc` function returns a string value describing the ret_code in human-readable form.

  The behavior is unspecified if value of ret_code was not set by an interoperability routine invoked for interop.

  GCC implements the OpenMP 6.0 version of this function for C and C++, which is not compatible with its type signature in previous versions of the OpenMP specification. In older versions, the type `int` was used for the ret_code argument in place of the enumerated type `omp_interop_rc_t`.

C/C++:

  Prototype: | `const char *omp_get_interop_rc_desc(const omp_interop_t interop, omp_interop_rc_t ret_code)`

Fortran:

  Interface: | `character(:) function omp_get_interop_rc_desc(interop, property_id, ret_code)`
  | `pointer :: omp_get_interop_rc_desc`
  | `integer(omp_interop_kind), intent(in) :: interop`
  | `integer (omp_interop_rc_kind) ret_code`

Reference:

  OpenMP specification v5.1, Section 3.12.7, OpenMP specification v6.0, Section 26.7