Scroll to navigation

PMIX_DATA_TYPE_STRING(3) OpenPMIx PMIX_DATA_TYPE_STRING(3)

PMIx_Data_type_string — Return the string representation of a pmix_data_type_t value.

SYNOPSIS

#include <pmix.h>
const char* PMIx_Data_type_string(pmix_data_type_t type);


INPUT PARAMETERS

•
type : A pmix_data_type_t data-type identifier (for example, the type field of a pmix_value_t <#man5-pmix-value-t>).

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".

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:

pmix_value_t(5) <#man5-pmix-value-t>, pmix_data_type_t(5) <#man5-pmix-data-type-t>


Copyright

2014-2026, OpenPMIx Community

November 5, 2026