![]() |
![]()
| ![]() |
![]()
LIBRARY#include <xtend/fast-file.h> -lxtend SYNOPSISint xt_ff_set_start_ptr_cpy(xt_ff_t *xt_ff_ptr, unsigned char * new_start_ptr, size_t array_size) ARGUMENTSxt_ff_ptr Pointer to the structure to set new_start_ptr The new value for start_ptr array_size Size of the start_ptr array. DESCRIPTIONMutator for start_ptr member in a xt_ff_t structure. Use this function to set start_ptr in a xt_ff_t object from non-member functions. This function copies the array pointed to by new_start_ptr to xt_ff_ptr->start_ptr. RETURN VALUESEXTEND_DATA_OK if the new value is acceptable and assigned EXTEND_DATA_OUT_OF_RANGE otherwise EXAMPLESxt_ff_t xt_ffile; unsigned char * new_start_ptr; size_t array_size; if ( xt_ff_set_start_ptr_cpy(&xt_ffile, new_start_ptr, array_size) SEE ALSOXT_FFILE_SET_START_PTR(3)
|