18.2.239. PMIx_Nspace_invalid
PMIx_Nspace_invalid — Test whether a
pmix_nspace_t(5) is invalid
18.2.239.1. SYNOPSIS
#include <pmix.h>
bool PMIx_Nspace_invalid(const char *nspace);
18.2.239.1.1. Python Syntax
No Python equivalent
18.2.239.2. INPUT PARAMETERS
nspace: Pointer to the namespace (typically a pmix_nspace_t(5)) to be tested. May beNULL.
18.2.239.3. 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.
18.2.239.4. RETURN VALUE
Returns true if the namespace is NULL or empty (invalid), and
false if it contains at least one character (valid).
18.2.239.5. 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.