#include <biolibc/fasta.h>
-lbiolibc -lxtend
int bl_fasta_set_desc_ae(
bl_fasta_t *bl_fasta_ptr,
size_t c,
char new_desc_element
)
bl_fasta_ptr Pointer to the structure to set
c Subscript to the desc array
new_desc_element The new value for desc[c]
Mutator for an array element of desc member in a bl_fasta_t structure. Use this
function to set bl_fasta_ptr->desc[c] in a bl_fasta_t object from
non-member functions.
BL_FASTA_DATA_OK if the new value is acceptable and assigned
BL_FASTA_DATA_OUT_OF_RANGE otherwise
bl_fasta_t bl_fasta;
size_t c;
char * new_desc_element;
if ( bl_fasta_set_desc_ae(&bl_fasta, c, new_desc_element)
== BL_FASTA_DATA_OK )
{
}