table of contents
| PMIX_REGEX2_DESTRUCT(3) | OpenPMIx | PMIX_REGEX2_DESTRUCT(3) |
PMIx_Regex2_destruct — Release the contents of a pmix_regex2_t(5) <#man5-pmix-regex2-t> structure.
SYNOPSIS¶
#include <pmix.h> void PMIx_Regex2_destruct(pmix_regex2_t *d);
Python Syntax¶
No Python equivalent
INPUT PARAMETERS¶
- •
- d: Pointer to the pmix_regex2_t structure whose contents are to be released.
DESCRIPTION¶
Release the payload held by a pmix_regex2_t. If the type pointer is non-NULL it is freed; likewise, if the bytes pointer is non-NULL it is freed. The storage for the structure itself is not freed — that remains the responsibility of the caller.
PMIx_Regex2_destruct is the counterpart to PMIx_Regex2_construct(3) <#man3-pmix-regex2-construct> and should be used to clean up any structure that was constructed on caller-provided storage.
RETURN VALUE¶
PMIx_Regex2_destruct returns no value (void).
NOTES¶
To release an array of structures that was obtained from PMIx_Regex2_create(3) <#man3-pmix-regex2-create> — which also frees the array storage itself — use PMIx_Regex2_free(3) <#man3-pmix-regex2-free> instead.
See also:
Copyright¶
2014-2026, OpenPMIx Community
| November 5, 2026 |