18.2.109. PMIx_Info_list_get_size

PMIx_Info_list_get_size — Return the number of pmix_info_t(5) entries on an opaque list

18.2.109.1. SYNOPSIS

#include <pmix.h>

size_t PMIx_Info_list_get_size(void *ptr);

18.2.109.1.1. Python Syntax

No Python equivalent

18.2.109.2. INPUT PARAMETERS

18.2.109.3. DESCRIPTION

Return the current number of pmix_info_t entries accumulated on the list identified by ptr. This is the count that PMIx_Info_list_convert(3) would use to size the resulting pmix_data_array_t.

18.2.109.4. RETURN VALUE

Returns the number of entries currently on the list. A newly started list, or a list from which all entries have been removed, returns 0.