#include <fastq-trim.h>
-lfastq-trim
int fastq_trim_set_infile1_cpy(fastq_trim_t *fastq_trim_ptr, char * new_infile1,
size_t array_size)
fastq_trim_ptr Pointer to the structure to set
new_infile1 The new value for infile1
array_size Size of the infile1 array.
Mutator for infile1 member in a fastq_trim_t structure. Use this function to set
infile1 in a fastq_trim_t variable from non-member functions. This function
copies the array pointed to by new_infile1 to ->infile1.
Note that there is an equivalent macro FASTQ_TRIM_SET_INFILE1(),
which performs this function with no data verification or function call
overhead. Use the macro version to maximize performance where the validity
of new_infile1 is guaranteed by other means.
FASTQ_TRIM_DATA_OK if the new value is acceptable and assigned
FASTQ_TRIM_DATA_OUT_OF_RANGE otherwise
fastq_trim_t fastq_trim;
char * new_infile1;
size_t array_size;
if ( fastq_trim_set_infile1(&fastq_trim, new_infile1, array_size) == FASTQ_TRIM_DATA_OK )
{
}
FASTQ_TRIM_SET_INFILE1(3)