cp_string_cmp(3) - Linux man page
Name
cp_string_cmp - string comparison functionSynopsis
#include <cprops/str.h>int cp_string_cmp(cp_string *s1, cp_string *s2);
Description
cp_string_cmp compares the internal buffers of s1 and s2 and returns less than, equal to, or greater than zero if s1 is less than, matches, or is greater than s2 respectively.Return Value
0 if the strings are identical< 0 if s1 is less than s2
> 0 if s1 is greater than s2.