![]() |
![]()
| ![]() |
![]()
LIBRARY#include <xtend/fast-file.h> -lxtend SYNOPSISint xt_ff_set_start_ptr(xt_ff_t *xt_ff_ptr, unsigned char * new_start_ptr) ARGUMENTSxt_ff_ptr Pointer to the structure to set new_start_ptr The new value for start_ptr 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 performs a direct assignment for scalar or pointer structure members. If start_ptr is a pointer, data previously pointed to should be freed before calling this function to avoid memory leaks. 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; if ( xt_ff_set_start_ptr(&xt_ffile, new_start_ptr) SEE ALSO(3)
|