#include <biolibc/fastq.h>
-lbiolibc -lxtend
int bl_fastq_set_desc_ae(
bl_fastq_t *bl_fastq_ptr,
size_t c,
char new_desc_element
)
bl_fastq_ptr Pointer to the structure to set
c Subscript to the desc array
new_desc_element The new value for desc[c]
Mutator for an array element of desc member in a bl_fastq_t structure. Use this
function to set bl_fastq_ptr->desc[c] in a bl_fastq_t object from
non-member functions.
BL_FASTQ_DATA_OK if the new value is acceptable and assigned
BL_FASTQ_DATA_OUT_OF_RANGE otherwise
bl_fastq_t bl_fastq;
size_t c;
char * new_desc_element;
if ( bl_fastq_set_desc_ae(&bl_fastq, c, new_desc_element)
== BL_FASTQ_DATA_OK )
{
}