statsf_set_tmp_file_ae(3)

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

SYNOPSIS

int     statsf_set_tmp_file_ae(statsf_t *statsf_ptr, size_t c, FILE  new_tmp_file_element)

ARGUMENTS
statsf_ptr      Pointer to the structure to set
c               Subscript to the tmp_file array
new_tmp_file_element The new value for tmp_file[c]

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

RETURN VALUES
STATSF_DATA_OK if the new value is acceptable and assigned STATSF_DATA_OUT_OF_RANGE otherwise

EXAMPLES
statsf_t        statsf;
size_t          c;
FILE *          new_tmp_file_element;
if ( statsf_set_tmp_file_ae(&statsf, c, new_tmp_file_element)
        == STATSF_DATA_OK )
{
}

SEE ALSO
STATSF_SET_TMP_FILE_AE(3)