table of contents
| PMIX_PROC_STATE_STRING(3) | OpenPMIx | PMIX_PROC_STATE_STRING(3) |
PMIx_Proc_state_string — Return the string representation of a pmix_proc_state_t value.
SYNOPSIS¶
#include <pmix.h> const char* PMIx_Proc_state_string(pmix_proc_state_t state);
INPUT PARAMETERS¶
- •
- state : A pmix_proc_state_t process-state value.
Recognized values map to a human-readable string, for example:
- PMIX_PROC_STATE_UNDEF — "UNDEFINED"
- PMIX_PROC_STATE_RUNNING — "PROC EXECUTING"
- PMIX_PROC_STATE_CONNECTED — "PROC HAS CONNECTED TO LOCAL PMIX SERVER"
- PMIX_PROC_STATE_TERMINATED — "PROC HAS TERMINATED"
- PMIX_PROC_STATE_ABORTED — "PROC ABNORMALLY ABORTED"
- PMIX_PROC_STATE_CALLED_ABORT — "PROC CALLED PMIx_Abort"
DESCRIPTION¶
Return a human-readable, statically-allocated string naming the given pmix_proc_state_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 STATE".
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 |