#include <biolibc/pos-list.h>
-lbiolibc -lxtend
int bl_pos_list_from_csv(bl_pos_list_t *pos_list, const char *bounds_str, size_t
array_size)
pos_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
Convert 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.
The number of positions added to the list
bl_pos_list_allocate(3), bl_pos_list_add_position(3), bl_pos_list_free(3),
bl_pos_list_sort(3)