BL_SAM_SET_RNAME_CPY(3)

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

SYNOPSIS

BL_SAM_SET_RNAME_CPY(ptr, new_rname)

ARGUMENTS
ptr             Pointer to a bl_sam_t structure
new_rname       New value for rname

DESCRIPTION
Mutator macro for rname. Use this macro to set rname in a bl_sam_t structure from functions that are not members of the class. This allows separation of implementation from interface. While the implementation of the bl_sam_t structure may change, effort is made to preserve the API of functions and macros used to access it. Note that there is an equivalent function bl_sam_set_rname_cpy(), which performs this function with data verification. Use the function version for more robust code with a slight performance penalty if the value of new_rname is not validated by other means.

EXAMPLES
bl_sam_t        bl_sam;
char            new_rname[];
BL_SAM_SET_RNAME_CPY(&bl_sam, new_rname);

SEE ALSO
bl_sam_set_rname_cpy(3)
See biolibc/sam.h for a full list of macros.