18.2.51. PMIx_Data_type_string
PMIx_Data_type_string — Return the string representation of a
pmix_data_type_t value.
18.2.51.1. SYNOPSIS
#include <pmix.h>
const char* PMIx_Data_type_string(pmix_data_type_t type);
18.2.51.2. INPUT PARAMETERS
type: Apmix_data_type_tdata-type identifier (for example, thetypefield of a pmix_value_t).
18.2.51.3. DESCRIPTION
Return a human-readable, statically-allocated string naming the given
pmix_data_type_t value. The lookup is delegated to the active bfrops
serialization modules, each of which knows the data types defined for its
wire-format version; the first module that recognizes the type supplies the
name. The returned string is owned by the library and must not be modified or
freed by the caller. A value that no active module recognizes yields the
fallback string "UNKNOWN".
18.2.51.4. RETURN VALUE
Returns a pointer to a constant, statically-allocated, NUL-terminated string. The pointer remains valid for the lifetime of the process and must not be freed.
See also