18.2.69. PMIx_Get_version
PMIx_Get_version — Return the PMIx version string.
18.2.69.1. SYNOPSIS
#include <pmix.h>
const char* PMIx_Get_version(void);
18.2.69.1.1. Python Syntax
from pmix import *
foo = PMIxClient()
version = foo.get_version()
18.2.69.2. DESCRIPTION
Return the PMIx version string identifying the PMIx library in use.
PMIx_Get_version may be called outside of the initialized and finalized
region — it does not require a prior call to
PMIx_Init(3) — and is usable by servers and tools in
addition to clients.
Note
The returned string is statically defined within the PMIx library and must not be modified or freed by the caller.
18.2.69.3. RETURN VALUE
Returns a pointer to a statically allocated, NULL-terminated string containing the
PMIx version information. The function takes no arguments and always returns a
valid, non-NULL pointer.
18.2.69.4. NOTES
Because the returned string is owned by the library, callers must never pass it to
free().
See also