![]() |
![]()
| ![]() |
![]()
LIBRARY#include <statsf-list.h> -lbasic-stats -lxtend SYNOPSISint statsf_list_set_functions_cpy(statsf_list_t *statsf_list_ptr, statsf_t new_functions[], size_t array_size) ARGUMENTSstatsf_list_ptr Pointer to the structure to set new_functions The new value for functions array_size Size of the functions array. DESCRIPTIONMutator 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 VALUESSTATSF_LIST_DATA_OK if the new value is acceptable and assigned STATSF_LIST_DATA_OUT_OF_RANGE otherwise EXAMPLESstatsf_list_t statsf_list; statsf_t new_functions; size_t array_size; if ( statsf_list_set_functions_cpy(&statsf_list, new_functions, array_size) SEE ALSOSTATSF_LIST_SET_FUNCTIONS(3)
|