FreeBSD Manual Pages
xt_ff_set_buff_index(3) Library Functions Manual xt_ff_set_buff_index(3) LIBRARY #include <xtend/fast-file.h> -lxtend SYNOPSIS int xt_ff_set_buff_index(xt_ff_t *xt_ff_ptr, ssize_t new_buff_index) ARGUMENTS xt_ff_ptr Pointer to the structure to set new_buff_index The new value for buff_index DESCRIPTION Mutator for buff_index member in a xt_ff_t structure. Use this func- tion to set buff_index in a xt_ff_t object from non-member functions. This function performs a direct assignment for scalar or pointer struc- ture members. If buff_index is a pointer, data previously pointed to should be freed before calling this function to avoid memory leaks. RETURN VALUES EXTEND_DATA_OK if the new value is acceptable and assigned EX- TEND_DATA_OUT_OF_RANGE otherwise EXAMPLES xt_ff_t xt_ffile; ssize_t new_buff_index; if ( xt_ff_set_buff_index(&xt_ffile, new_buff_index) == EXTEND_DATA_OK ) { } SEE ALSO (3) xt_ff_set_buff_index(3)
LIBRARY | SYNOPSIS | ARGUMENTS | DESCRIPTION | RETURN VALUES | EXAMPLES | SEE ALSO
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=xt_ff_set_buff_index&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>