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

FreeBSD Manual Pages

  
 
  

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

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

SYNOPSIS
     int     xt_ff_set_flags(xt_ff_t *xt_ff_ptr, int new_flags)

ARGUMENTS
     xt_ff_ptr	  Pointer to the structure to set
     new_flags	     The new value for flags

DESCRIPTION
     Mutator  for flags member in a xt_ff_t structure.	Use this function to set
     flags in a xt_ff_t object from non-member functions.   This  function  per-
     forms  a  direct  assignment  for	scalar or pointer structure members.  If
     flags is a pointer, data previously pointed to should be freed before call-
     ing 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;
     int	     new_flags;

     if ( xt_ff_set_flags(&xt_ffile, new_flags)
	     == EXTEND_DATA_OK )
     {
     }

SEE ALSO
     (3)

							      xt_ff_set_flags(3)

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

home | help