stralloc_diff - Man Page
compare two strallocs
Syntax
#include <stralloc.h>
int stralloc_diff(const stralloc* a,const stralloc* b);
Description
stralloc_diff returns negative, 0, or positive, depending on whether a is lexicographically smaller than, equal to, or greater than the string b.
Return Value
<0 if a<b, 0 if a==b, >0 if a>b.