statsf_list_set_functions_cpy(3)

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

SYNOPSIS

int     statsf_list_set_functions_cpy(statsf_list_t *statsf_list_ptr, statsf_t new_functions[], size_t array_size)

ARGUMENTS
statsf_list_ptr Pointer to the structure to set
new_functions   The new value for functions
array_size      Size of the functions array.

DESCRIPTION
Mutator for functions member in a statsf_list_t structure. Use this function to set functions in a statsf_list_t object from non-member functions. This function copies the array pointed to by new_functions to statsf_list_ptr->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;
statsf_t        new_functions;
size_t          array_size;
if ( statsf_list_set_functions_cpy(&statsf_list, new_functions, array_size)
        == STATSF_LIST_DATA_OK )
{
}

SEE ALSO
STATSF_LIST_SET_FUNCTIONS(3)