logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

stralloc_diffs - compare two strallocs

Description

       stralloc_diff returns negative, 0, or positive, depending on whether a is lexicographically smaller than,
       equal to, or greater than the string b.

Name

       stralloc_diffs - compare two strallocs

Return Value

       <0 if a<b, 0 if a==b, >0 if a>b.

See Also

stralloc_diffs(3), stralloc_starts(3)

                                                                                               stralloc_diffs(3)

Syntax

#include<libowfat/stralloc.h>

       int stralloc_diff(const stralloc* a,const stralloc* b);

See Also