1\" Generated by c2man from bl_gff_set_attributes_cpy.c 2.TH bl_gff_set_attributes_cpy 3 3 4.SH LIBRARY 5\" Indicate #includes, library name, -L and -l flags 6.nf 7.na 8#include <biolibc/gff.h> 9-lbiolibc -lxtend 10.ad 11.fi 12 13\" Convention: 14\" Underline anything that is typed verbatim - commands, etc. 15.SH SYNOPSIS 16.PP 17.nf 18.na 19int bl_gff_set_attributes_cpy(bl_gff_t *bl_gff_ptr, char * new_attributes, size_t array_size) 20.ad 21.fi 22 23.SH ARGUMENTS 24.nf 25.na 26bl_gff_ptr Pointer to the structure to set 27new_attributes The new value for attributes 28array_size Size of the attributes array. 29.ad 30.fi 31 32.SH DESCRIPTION 33 34Mutator for attributes member in a bl_gff_t structure. 35Use this function to set attributes in a bl_gff_t variable 36from non-member functions. This function copies the array pointed to 37by new_attributes to ->attributes. 38 39Note that there is an equivalent macro BL_GFF_SET_ATTRIBUTES(), which performs 40this function with no data verification or function call overhead. 41Use the macro version to maximize performance where the validity 42of new_attributes is guaranteed by other means. 43 44.SH EXAMPLES 45.nf 46.na 47 48bl_gff_t bl_gff; 49char * new_attributes; 50size_t array_size; 51 52if ( bl_gff_set_attributes(&bl_gff, new_attributes, array_size) == BL_DATA_OK ) 53{ 54} 55.ad 56.fi 57 58.SH SEE ALSO 59 60BL_GFF_SET_ATTRIBUTES(3) 61 62