cstring · Section 3
cstr_starts_with
NAME
cstr_starts_with - check whether the string begins with a prefix
LIBRARY
C Collections (libccollections, -lccollections)
SYNOPSIS
#include <ccollections/cstring.h> cstr_starts_with(s, pfx);
DESCRIPTION
This macro just forwards its arguments to cstring_starts_with().
PARAMETERS
s cstr to test pfx Prefix string
RETURN VALUE
true if the string starts with pfx, false if it does not