table of contents
| PMIX_PERSISTENCE_STRING(3) | OpenPMIx | PMIX_PERSISTENCE_STRING(3) |
PMIx_Persistence_string — Return the string representation of a pmix_persistence_t value.
SYNOPSIS¶
#include <pmix.h> const char* PMIx_Persistence_string(pmix_persistence_t persist);
INPUT PARAMETERS¶
- •
- persist : A pmix_persistence_t data-persistence value.
Recognized values map to a human-readable string:
- PMIX_PERSIST_INDEF — "INDEFINITE"
- PMIX_PERSIST_FIRST_READ — "DELETE ON FIRST ACCESS"
- PMIX_PERSIST_PROC — "RETAIN UNTIL PUBLISHING PROCESS TERMINATES"
- PMIX_PERSIST_APP — "RETAIN UNTIL APPLICATION OF PUBLISHING PROCESS TERMINATES"
- PMIX_PERSIST_SESSION — "RETAIN UNTIL ALLOCATION OF PUBLISHING PROCESS TERMINATES"
- PMIX_PERSIST_NSPACE — "RETAIN UNTIL NAMESPACE OF PUBLISHING PROCESS TERMINATES"
- PMIX_PERSIST_INVALID — "INVALID"
DESCRIPTION¶
Return a human-readable, statically-allocated string naming the given pmix_persistence_t value. The returned string is owned by the library and must not be modified or freed by the caller. An unrecognized value yields the fallback string "UNKNOWN PERSISTENCE".
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:
Copyright¶
2014-2026, OpenPMIx Community
| November 5, 2026 |