Scroll to navigation

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:

PMIx_Load_nspace(3) <#man3-pmix-load-nspace>, PMIx_Check_nspace(3) <#man3-pmix-check-nspace>, PMIx_Procid_invalid(3) <#man3-pmix-procid-invalid>, pmix_nspace_t(5) <#man5-pmix-nspace-t>


Copyright

2014-2026, OpenPMIx Community

September 27, 2026