![]() |
![]()
| ![]() |
![]()
NAMEbl_pos_list_from_csv() - Convert comma-separated data to position list LIBRARY#include <biolibc/pos-list.h> -lbiolibc -lxtend SYNOPSISint bl_pos_list_from_csv(bl_pos_list_t *pos_list, const char *bounds_str, size_t array_size) ARGUMENTSpos_list Pointer to the bl_pos_list_t to receive the list list_str Character string containing comma-separated list of positions array_size Initial array size DESCRIPTIONConvert a comma-separated list of positions to a bl_pos_list_t list. The array_size argument should be your best guess at the final size of the list. Choosing a large enough value is not critical since it will be extended by bl_pos_list_add_position() if needed. RETURN VALUESThe number of positions added to the list SEE ALSObl_pos_list_allocate(3), bl_pos_list_add_position(3), bl_pos_list_free(3), bl_pos_list_sort(3)
|