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

FreeBSD Manual Pages

  
 
  

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

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

SYNOPSIS
       int	fastq_trim_set_adapter2_cpy(fastq_trim_t *fastq_trim_ptr, char
       * new_adapter2, size_t array_size)

ARGUMENTS
       fastq_trim_ptr  Pointer to the structure	to set
       new_adapter2    The new value for adapter2
       array_size      Size of the adapter2 array.

DESCRIPTION
       Mutator for adapter2 member in  a  fastq_trim_t	structure.   Use  this
       function	 to  set  adapter2  in a fastq_trim_t variable from non-member
       functions.  This	function copies	the array pointed to  by  new_adapter2
       to ->adapter2.

       Note that there is an equivalent	macro FASTQ_TRIM_SET_ADAPTER2(), which
       performs	this function with no data verification	or function call over-
       head.  Use the macro version to maximize	performance where the validity
       of new_adapter2 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;
       char *	       new_adapter2;
       size_t	       array_size;

       if ( fastq_trim_set_adapter2(&fastq_trim, new_adapter2, array_size) == FASTQ_TRIM_DATA_OK )
       {
       }

SEE ALSO
       FASTQ_TRIM_SET_ADAPTER2(3)

						     fastq_tri...apter2_cpy(3)

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

home | help