bl_vcf_set_single_sample(3)

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

SYNOPSIS

int     bl_vcf_set_single_sample(bl_vcf_t *bl_vcf_ptr, char * new_single_sample)

ARGUMENTS
bl_vcf_ptr      Pointer to the structure to set
new_single_sample The new value for single_sample

DESCRIPTION
Mutator for single_sample member in a bl_vcf_t structure. Use this function to set single_sample in a bl_vcf_t variable from non-member functions. This function performs a direct assignment for scalar or pointer structure members. If single_sample is a pointer, data previously pointed to should generally be freed before calling this function to avoid memory leaks. Note that there is an equivalent macro (), which performs this function with no data verification or function call overhead. Use the macro version to maximize performance where the validity of new_single_sample is guaranteed by other means.

EXAMPLES
bl_vcf_t        bl_vcf;
char *          new_single_sample;
if ( bl_vcf_set_single_sample(&bl_vcf, new_single_sample) == BL_DATA_OK )
{
}

SEE ALSO
(3)