bl_gff_set_source_cpy(3)

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

SYNOPSIS

int     bl_gff_set_source_cpy(bl_gff_t *bl_gff_ptr, char new_source[], size_t array_size)

ARGUMENTS
bl_gff_ptr      Pointer to the structure to set
new_source      The new value for source
array_size      Size of the source array.

DESCRIPTION
Mutator for source member in a bl_gff_t structure. Use this function to set source in a bl_gff_t variable from non-member functions. This function copies the array pointed to by new_source to ->source. Note that there is an equivalent macro BL_GFF_SET_SOURCE(), which performs this function with no data verification or function call overhead. Use the macro version to maximize performance where the validity of new_source is guaranteed by other means.

EXAMPLES
bl_gff_t        bl_gff;
char            new_source;
size_t          array_size;
if ( bl_gff_set_source(&bl_gff, new_source, array_size) == BL_DATA_OK )
{
}

SEE ALSO
BL_GFF_SET_SOURCE(3)