#include <biolibc/sam.h>
-lbiolibc -lxtend
int bl_sam_set_qname_ae(
bl_sam_t *bl_sam_ptr,
size_t c,
char new_qname_element
)
bl_sam_ptr Pointer to the structure to set
c Subscript to the qname array
new_qname_element The new value for qname[c]
Mutator for an array element of qname member in a bl_sam_t structure. Use this
function to set bl_sam_ptr->qname[c] in a bl_sam_t object from non-member
functions.
BL_SAM_DATA_OK if the new value is acceptable and assigned
BL_SAM_DATA_OUT_OF_RANGE otherwise
bl_sam_t bl_sam;
size_t c;
char new_qname_element;
if ( bl_sam_set_qname_ae(&bl_sam, c, new_qname_element)
== BL_SAM_DATA_OK )
{
}