table of contents
| PMIX_PROC_INFO_DESTRUCT(3) | OpenPMIx | PMIX_PROC_INFO_DESTRUCT(3) |
PMIx_Proc_info_destruct — Release the contents of a pmix_proc_info_t(5) <#man5-pmix-proc-info-t> structure.
SYNOPSIS¶
#include <pmix.h> void PMIx_Proc_info_destruct(pmix_proc_info_t *p);
Python Syntax¶
No Python equivalent
INPUT PARAMETERS¶
- •
- p: Pointer to the pmix_proc_info_t(5) <#man5-pmix-proc-info-t> structure whose contents are to be released. The storage for the structure itself is not freed.
DESCRIPTION¶
Release the heap-allocated payload of a pmix_proc_info_t <#man5-pmix-proc-info-t> structure. If the hostname or executable_name fields are non-NULL, the strings they point to are freed. The structure is then re-initialized to its constructed state — zeroed, with state set to PMIX_PROC_STATE_UNDEF — exactly as PMIx_Proc_info_construct(3) <#man3-pmix-proc-info-construct> would leave it.
PMIx_Proc_info_destruct is the counterpart to PMIx_Proc_info_construct(3) <#man3-pmix-proc-info-construct> and releases only the contents of the structure, not the structure storage itself. To release an array of proc info structures that was heap-allocated by PMIx_Proc_info_create(3) <#man3-pmix-proc-info-create>, use PMIx_Proc_info_free(3) <#man3-pmix-proc-info-free> instead.
RETURN VALUE¶
PMIx_Proc_info_destruct returns no value (void).
NOTES¶
PMIx_Proc_info_destruct is an OpenPMIx convenience routine. The corresponding PMIX_PROC_INFO_DESTRUCT macro is implemented as a direct call to this function.
See also:
Copyright¶
2014-2026, OpenPMIx Community
| November 5, 2026 |