cstring · Section 3
cstring_equals
NAME
cstring_equals - check whether the string equals a C string
LIBRARY
C Collections (libccollections, -lccollections)
SYNOPSIS
#include <ccollections/cstring.h> bool cstring_equals(cstr s, const char *str);
DESCRIPTION
This function returns true exactly when the content of s is identical to str.
PARAMETERS
s String to compare str C string to compare against
RETURN VALUE
true if the contents are equal, false if they are not
NOTES
Asserts if s is NULL
SEE ALSO
cstring_compare(3), cstring_starts_with(3), cstring_ends_with(3)