![]() |
![]()
| ![]() |
![]()
LIBRARY#include <statsf.h> -lbasic-stats -lxtend SYNOPSISint statsf_set_cols_ae(statsf_t *statsf_ptr, size_t c, unsigned new_cols_element) ARGUMENTSstatsf_ptr Pointer to the structure to set c Subscript to the cols array new_cols_element The new value for cols[c] DESCRIPTIONMutator for an array element of cols member in a statsf_t structure. Use this function to set statsf_ptr->cols[c] in a statsf_t object from non-member functions. RETURN VALUESSTATSF_DATA_OK if the new value is acceptable and assigned STATSF_DATA_OUT_OF_RANGE otherwise EXAMPLESstatsf_t statsf; size_t c; unsigned * new_cols_element; if ( statsf_set_cols_ae(&statsf, c, new_cols_element) SEE ALSOSTATSF_SET_COLS_AE(3)
|