stralloc_diff - compare two strallocs

NAME  SYNTAX  DESCRIPTION  RETURN VALUE  SEE ALSO 

NAME

stralloc_diffs − compare two strallocs

SYNTAX

#include <libowfat/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.

SEE ALSO

stralloc_diffs(3), stralloc_starts(3)


Updated 2024-01-29 - jenkler.se | uex.se