Next: , Previous: rangel_parse, Up: Ranges


3.7 rangel_count

determine the number of elements in a range list

Synopsis

     #include <suplib/range.h>
     
     
     
unsigned long rangel_count(RangeLList *rl);

Parameters

RangeLList *rl
the range list to count

Description

rangel_count counts the number of elements in each range of a range list, returning the grand total.

Returns

It returns the number of elements in the range list.

Author

Diab Jerius