C Collections

cstring · Section 3

cstr_equals

cstr_equals - check whether the string equals a C string

C Collections (libccollections, -lccollections)

#include <ccollections/cstring.h>
 
cstr_equals(s, str);

This macro just forwards its arguments to cstring_equals().

s     cstr to compare
str   C string to compare against

true if the two contents are equal, false if they are not

cstring_equals(3), cstr_compare(3)