table of contents
| PMIX_APP_RELEASE(3) | OpenPMIx | PMIX_APP_RELEASE(3) |
PMIx_App_release — Release a single pmix_app_t(5) <#man5-pmix-app-t> structure allocated by PMIx_App_create(3) <#man3-pmix-app-create>.
SYNOPSIS¶
#include <pmix.h> void PMIx_App_release(pmix_app_t *p);
Python Syntax¶
No Python equivalent
INPUT PARAMETERS¶
- •
- p: Pointer to the single pmix_app_t(5) <#man5-pmix-app-t> structure to be released.
DESCRIPTION¶
Release a single heap-allocated pmix_app_t <#man5-pmix-app-t> structure. The structure’s payload (cmd, argv, env, cwd, and info) is destructed and then the storage for the structure itself is freed. PMIx_App_release is exactly equivalent to calling PMIx_App_free(p, 1).
If p is NULL, the function does nothing.
RETURN VALUE¶
PMIx_App_release returns no value (void).
NOTES¶
Use PMIx_App_release only for a structure that the library allocated (e.g., via PMIx_App_create(3) <#man3-pmix-app-create> with a count of one). Do not call it on a caller-provided structure that was merely constructed with PMIx_App_construct(3) <#man3-pmix-app-construct>; use PMIx_App_destruct(3) <#man3-pmix-app-destruct> for that case.
See also:
Copyright¶
2014-2026, OpenPMIx Community
| November 5, 2026 |