xt_ff_set_start_ptr_ae(3)

LIBRARY
#include <xtend/fast-file.h>
-lxtend

SYNOPSIS
int     xt_ff_set_start_ptr_ae(xt_ff_t *xt_ff_ptr, size_t c, unsigned char  new_start_ptr_element)

ARGUMENTS
xt_ff_ptr    Pointer to the structure to set
c               Subscript to the start_ptr array
new_start_ptr_element The new value for start_ptr[c]

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

RETURN VALUES
EXTEND_DATA_OK if the new value is acceptable and assigned EXTEND_DATA_OUT_OF_RANGE otherwise

EXAMPLES
xt_ff_t      xt_ffile;
size_t          c;
unsigned char * new_start_ptr_element;
if ( xt_ff_set_start_ptr_ae(&xt_ffile, c, new_start_ptr_element)
        == EXTEND_DATA_OK )
{
}

SEE ALSO
XT_FFILE_SET_START_PTR_AE(3)