home | help
bl_vcf_set_phred_count(3)   Library Functions Manual   bl_vcf_set_phred_count(3)

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

SYNOPSIS
     int     bl_vcf_set_phred_count(bl_vcf_t *bl_vcf_ptr, size_t new_phred_count)

ARGUMENTS
     bl_vcf_ptr      Pointer to the structure to set
     new_phred_count The new value for phred_count

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

RETURN VALUES
     BL_VCF_DATA_OK    if   the   new	value	is   acceptable   and	assigned
     BL_VCF_DATA_OUT_OF_RANGE otherwise

EXAMPLES
     bl_vcf_t	     bl_vcf;
     size_t	     new_phred_count;

     if ( bl_vcf_set_phred_count(&bl_vcf, new_phred_count)
	     == BL_VCF_DATA_OK )
     {
     }

SEE ALSO
     (3)

						       bl_vcf_set_phred_count(3)

home | help