Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
statsf_set_cols_ae(3)	   Library Functions Manual	 statsf_set_cols_ae(3)

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

SYNOPSIS
       int     statsf_set_cols_ae(statsf_t *statsf_ptr,	size_t c, unsigned  new_cols_element)

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

DESCRIPTION
       Mutator	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 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;
       unsigned	*      new_cols_element;

       if ( statsf_set_cols_ae(&statsf,	c, new_cols_element)
	       == STATSF_DATA_OK )
       {
       }

SEE ALSO
       STATSF_SET_COLS_AE(3)

							 statsf_set_cols_ae(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=statsf_set_cols_ae&sektion=3&manpath=FreeBSD+Ports+15.0>

home | help