bl_fastq_set_qual_cpy(3)

LIBRARY
#include <biolibc/fastq.h>
-lbiolibc -lxtend

SYNOPSIS
int     bl_fastq_set_qual_cpy(
bl_fastq_t *bl_fastq_ptr,
char * new_qual,
size_t array_size
)

ARGUMENTS
bl_fastq_ptr    Pointer to the structure to set
new_qual        The new value for qual
array_size      Size of the qual array.

DESCRIPTION
Mutator for qual member in a bl_fastq_t structure. Use this function to set qual in a bl_fastq_t object from non-member functions. This function copies the array pointed to by new_qual to bl_fastq_ptr->qual.

RETURN VALUES
BL_FASTQ_DATA_OK if the new value is acceptable and assigned BL_FASTQ_DATA_OUT_OF_RANGE otherwise

EXAMPLES
bl_fastq_t      bl_fastq;
char *          new_qual;
size_t          array_size;
if ( bl_fastq_set_qual_cpy(&bl_fastq, new_qual, array_size)
        == BL_FASTQ_DATA_OK )
{
}

SEE ALSO
BL_FASTQ_SET_QUAL(3)