![]() |
![]()
| ![]() |
![]()
LIBRARY#include <xtend/fast-file.h> -lxtend SYNOPSISint xt_ff_set_buff_ae(xt_ff_t *xt_ff_ptr, size_t c, unsigned char new_buff_element) ARGUMENTSxt_ff_ptr Pointer to the structure to set c Subscript to the buff array new_buff_element The new value for buff[c] DESCRIPTIONMutator for an array element of buff member in a xt_ff_t structure. Use this function to set xt_ff_ptr->buff[c] in a xt_ff_t object from non-member functions. RETURN VALUESEXTEND_DATA_OK if the new value is acceptable and assigned EXTEND_DATA_OUT_OF_RANGE otherwise EXAMPLESxt_ff_t xt_ffile; size_t c; unsigned char * new_buff_element; if ( xt_ff_set_buff_ae(&xt_ffile, c, new_buff_element) SEE ALSOXT_FFILE_SET_BUFF_AE(3)
|