statsf_list_set_functions_ae(3)

LIBRARY
#include <statsf-list.h>
-lbasic-stats -lxtend

SYNOPSIS

int     statsf_list_set_functions_ae(statsf_list_t *statsf_list_ptr, size_t c, statsf_t new_functions_element)

ARGUMENTS
statsf_list_ptr Pointer to the structure to set
c               Subscript to the functions array
new_functions_element The new value for functions[c]

DESCRIPTION
Mutator for an array element of functions member in a statsf_list_t structure. Use this function to set statsf_list_ptr->functions[c] in a statsf_list_t object from non-member functions.

RETURN VALUES
STATSF_LIST_DATA_OK if the new value is acceptable and assigned STATSF_LIST_DATA_OUT_OF_RANGE otherwise

EXAMPLES
statsf_list_t   statsf_list;
size_t          c;
statsf_t        new_functions_element;
if ( statsf_list_set_functions_ae(&statsf_list, c, new_functions_element)
        == STATSF_LIST_DATA_OK )
{
}

SEE ALSO
STATSF_LIST_SET_FUNCTIONS_AE(3)