cstring · Section 3
cstr_ends_with
NAME
cstr_ends_with - check whether the string ends with a suffix
LIBRARY
C Collections (libccollections, -lccollections)
SYNOPSIS
#include <ccollections/cstring.h> cstr_ends_with(s, sfx);
DESCRIPTION
This macro just forwards its arguments to cstring_ends_with().
PARAMETERS
s cstr to test sfx Suffix string
RETURN VALUE
true if the string ends with sfx, false if it does not