Scroll to navigation

PMIX_NODE_PID_DESTRUCT(3) OpenPMIx PMIX_NODE_PID_DESTRUCT(3)

PMIx_Node_pid_destruct — Release the contents of a pmix_node_pid_t(5) <#man5-pmix-node-pid-t> structure.

SYNOPSIS

#include <pmix.h>
void PMIx_Node_pid_destruct(pmix_node_pid_t *d);


Python Syntax

No Python equivalent

INPUT PARAMETERS

•
d: Pointer to the pmix_node_pid_t(5) <#man5-pmix-node-pid-t> structure whose contents are to be released.

DESCRIPTION

Release the dynamically allocated payload held within a pmix_node_pid_t <#man5-pmix-node-pid-t> structure. The function frees the hostname string if one is present.

PMIx_Node_pid_destruct releases only the contents of the structure; it does not free the storage of the pmix_node_pid_t structure itself. When the structure was allocated on the stack or embedded in another object, that storage is reclaimed by its owner.

RETURN VALUE

PMIx_Node_pid_destruct returns no value (void).

NOTES

PMIx_Node_pid_destruct is the counterpart to PMIx_Node_pid_construct(3) <#man3-pmix-node-pid-construct>. To release an array of structures that was allocated by PMIx_Node_pid_create(3) <#man3-pmix-node-pid-create>, including the array storage itself, use PMIx_Node_pid_free(3) <#man3-pmix-node-pid-free> instead.

See also:

PMIx_Node_pid_construct(3) <#man3-pmix-node-pid-construct>, PMIx_Node_pid_create(3) <#man3-pmix-node-pid-create>, PMIx_Node_pid_free(3) <#man3-pmix-node-pid-free>, pmix_node_pid_t(5) <#man5-pmix-node-pid-t>


Copyright

2014-2026, OpenPMIx Community

November 5, 2026