table of contents
- unstable 7.0.0~rc1-1
| PMIX_NSPACE_INVALID(3) | OpenPMIx | PMIX_NSPACE_INVALID(3) |
PMIx_Nspace_invalid — Test whether a pmix_nspace_t(5) <#man5-pmix-nspace-t> is invalid
SYNOPSIS¶
#include <pmix.h> bool PMIx_Nspace_invalid(const char *nspace);
Python Syntax¶
No Python equivalent
INPUT PARAMETERS¶
- •
- nspace: Pointer to the namespace (typically a pmix_nspace_t(5) <#man5-pmix-nspace-t>) to be tested. May be NULL.
DESCRIPTION¶
Test whether a namespace is invalid. A namespace is considered invalid when the pointer is NULL or when the string is zero-length (empty). Any non-empty namespace string is considered valid.
RETURN VALUE¶
Returns true if the namespace is NULL or empty (invalid), and false if it contains at least one character (valid).
NOTES¶
PMIx_Nspace_invalid is an OpenPMIx convenience routine and is the backing implementation of the PMIX_NSPACE_INVALID macro. It is safe to call with a NULL argument.
See also:
Copyright¶
2014-2026, OpenPMIx Community
| September 27, 2026 |