Scroll to navigation

PMIX_INFO_CREATE(3) OpenPMIx PMIX_INFO_CREATE(3)

PMIx_Info_create — Initialize the contents of a pmix_info_t(5) <#man5-pmix-info-t>

SYNOPSIS

#include <pmix.h>
pmix_info_t *info;
size_t sz;
sz = 5;
info = PMIx_Info_create(sz);


Python Syntax

No Python equivalent

INPUT PARAMETERS

•
sz: Number of pmix_info_t(5) <#man5-pmix-info-t> structures to allocate

DESCRIPTION

The PMIx_Info_create function creates an array of pmix_info_t(5) <#man5-pmix-info-t> structures and initializes all fields within them.

RETURN VALUE

Pointer to the allocated array. A return of NULL indicates that the memory allocation failed.

EXAMPLES

Allocate an array:

pmix_info_t *info;
info = PMIx_Info_create(3);


See also:

pmix_info_t(5) <#man5-pmix-info-t>


Copyright

2014-2026, OpenPMIx Community

September 27, 2026