mongoose/docs/c-api/util.h/mg_match_prefix.md
Alexander Alashkin 4f210cd8eb Fix error messages and more
PUBLISHED_FROM=11c57fc5ece01686e9cecab5e3bfce54a2825836
2016-07-25 17:21:23 +00:00

370 B

title decl_name symbol_kind signature
mg_match_prefix() mg_match_prefix func int mg_match_prefix(const char *pattern, int pattern_len, const char *str);

Match 0-terminated string (mg_match_prefix) or string with given length mg_match_prefix_n against a glob pattern. Match is case-insensitive. Return number of bytes matched, or -1 if no match.