Query: stralloc_diffs
OS: debian
Section: 3
Links: debian man pages | All man pages
Forums: Unix Linux Community | Forum Categories
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
stralloc_diffs(3) Library Functions Manual stralloc_diffs(3)NAMEstralloc_diffs - check if string is prefix of strallocSYNTAX#include <stralloc.h> int stralloc_diffs(stralloc* a,const char* b);DESCRIPTIONstralloc_diffs returns negative, 0, or positive, depending on whether the -terminated string in a, without the terminating , is lexico- graphically smaller than, equal to, or greater than the string stored in a.RETURN VALUE<0 if a<b, 0 if a==b, >0 if a>b.SEE ALSOstralloc_diff(3), stralloc_starts(3), str_diff(3) stralloc_diffs(3)