bl_align_set_max_mismatch_percent(3)

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

SYNOPSIS
int     bl_align_set_max_mismatch_percent(
bl_align_t *bl_align_ptr,
unsigned new_max_mismatch_percent
)

ARGUMENTS
bl_align_ptr    Pointer to the structure to set
new_max_mismatch_percent The new value for max_mismatch_percent

DESCRIPTION
Mutator for max_mismatch_percent member in a bl_align_t structure. Use this function to set max_mismatch_percent in a bl_align_t object from non-member functions. This function performs a direct assignment for scalar or pointer structure members. If max_mismatch_percent is a pointer, data previously pointed to should be freed before calling this function to avoid memory leaks.

RETURN VALUES
BL_ALIGN_DATA_OK if the new value is acceptable and assigned BL_ALIGN_DATA_OUT_OF_RANGE otherwise

EXAMPLES
bl_align_t      bl_align;
unsigned        new_max_mismatch_percent;
if ( bl_align_set_max_mismatch_percent(&bl_align, new_max_mismatch_percent)
        == BL_ALIGN_DATA_OK )
{
}

SEE ALSO
(3)