18.2.6. PMIx_Info_create
PMIx_Info_create — Initialize the contents of a pmix_info_t(5)
18.2.6.1. SYNOPSIS
#include <pmix.h>
pmix_info_t *info;
size_t sz;
sz = 5;
info = PMIx_Info_create(sz);
18.2.6.1.1. Python Syntax
No Python equivalent
18.2.6.2. INPUT PARAMETERS
sz: Number of pmix_info_t(5) structures to allocate
18.2.6.3. DESCRIPTION
The PMIx_Info_create function creates an array of pmix_info_t(5) structures and initializes all fields within them.
18.2.6.4. RETURN VALUE
Pointer to the allocated array. A return of NULL indicates that the memory allocation failed.
18.2.6.5. EXAMPLES
Allocate an array:
pmix_info_t *info;
info = PMIx_Info_create(3);
See also