Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
xt_ff_set_buff_cpy(3)	    Library Functions Manual	   xt_ff_set_buff_cpy(3)

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

SYNOPSIS
     int     xt_ff_set_buff_cpy(xt_ff_t *xt_ff_ptr, unsigned char * new_buff, size_t array_size)

ARGUMENTS
     xt_ff_ptr	  Pointer to the structure to set
     new_buff	     The new value for buff
     array_size      Size of the buff array.

DESCRIPTION
     Mutator  for  buff member in a xt_ff_t structure.	Use this function to set
     buff in a xt_ff_t object from non-member functions.  This	function  copies
     the array pointed to by new_buff to xt_ff_ptr->buff.

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;
     unsigned char * new_buff;
     size_t	     array_size;

     if ( xt_ff_set_buff_cpy(&xt_ffile, new_buff, array_size)
	     == EXTEND_DATA_OK )
     {
     }

SEE ALSO
     XT_FFILE_SET_BUFF(3)

							   xt_ff_set_buff_cpy(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=xt_ff_set_buff_cpy&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help