1\" Generated by c2man from bl_sam_set_qual_cpy.c 2.TH bl_sam_set_qual_cpy 3 3 4.SH LIBRARY 5\" Indicate #includes, library name, -L and -l flags 6.nf 7.na 8#include <biolibc/sam.h> 9-lbiolibc -lxtend 10.ad 11.fi 12 13\" Convention: 14\" Underline anything that is typed verbatim - commands, etc. 15.SH SYNOPSIS 16.PP 17.nf 18.na 19int bl_sam_set_qual_cpy(bl_sam_t *bl_sam_ptr, char * new_qual, size_t array_size) 20.ad 21.fi 22 23.SH ARGUMENTS 24.nf 25.na 26bl_sam_ptr Pointer to the structure to set 27new_qual The new value for qual 28array_size Size of the qual array. 29.ad 30.fi 31 32.SH DESCRIPTION 33 34Mutator for qual member in a bl_sam_t structure. 35Use this function to set qual in a bl_sam_t variable 36from non-member functions. This function copies the array pointed to 37by new_qual to ->qual. 38 39Note that there is an equivalent macro BL_SAM_SET_QUAL(), which performs 40this function with no data verification or function call overhead. 41Use the macro version to maximize performance where the validity 42of new_qual is guaranteed by other means. 43 44.SH EXAMPLES 45.nf 46.na 47 48bl_sam_t bl_sam; 49char * new_qual; 50size_t array_size; 51 52if ( bl_sam_set_qual(&bl_sam, new_qual, array_size) == BL_DATA_OK ) 53{ 54} 55.ad 56.fi 57 58.SH SEE ALSO 59 60BL_SAM_SET_QUAL(3) 61 62