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

FreeBSD Manual Pages

  
 
  

home | help
fastq_tri...h_function(3)  Library Functions Manual  fastq_tri...h_function(3)

LIBRARY
       #include	<fastq-trim.h>
       -lfastq-trim

SYNOPSIS
       int		    fastq_trim_set_adapter_match_function(fastq_trim_t
       *fastq_trim_ptr,	trim_afp_t new_adapter_match_function)

ARGUMENTS
       fastq_trim_ptr  Pointer to the structure	to set
       new_adapter_match_function The new value	for adapter_match_function

DESCRIPTION
       Mutator for adapter_match_function member in a fastq_trim_t  structure.
       Use this	function to set	adapter_match_function in a fastq_trim_t vari-
       able  from  non-member  functions.  This	function performs a direct as-
       signment	  for	scalar	 or    pointer	  structure    members.	    If
       adapter_match_function  is a pointer, data previously pointed to	should
       generally be freed before calling this function to avoid	memory leaks.

       Note that there is an equivalent	macro (), which	performs this function
       with no data verification or function call  overhead.   Use  the	 macro
       version	  to	maximize    performance	   where   the	 validity   of
       new_adapter_match_function is guaranteed	by other means.

RETURN VALUES
       FASTQ_TRIM_DATA_OK  if  the  new	 value	is  acceptable	and   assigned
       FASTQ_TRIM_DATA_OUT_OF_RANGE otherwise

EXAMPLES
       fastq_trim_t    fastq_trim;
       trim_afp_t      new_adapter_match_function;

       if ( fastq_trim_set_adapter_match_function(&fastq_trim, new_adapter_match_function) == FASTQ_TRIM_DATA_OK )
       {
       }

SEE ALSO
       (3)

						     fastq_tri...h_function(3)

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

home | help