mongoose/docs/c-api/util.h/mg_match_prefix.md
Dmitry Frank 849ec1684a Apply Mongoose docs edits by Ev
PUBLISHED_FROM=5cd78790a03580aa23dd3d2d8b825ad449083cc2
2016-07-26 15:06:04 +00:00

374 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);

Matches 0-terminated string (mg_match_prefix) or string with given length mg_match_prefix_n against a glob pattern.

Match is case-insensitive. Returns number of bytes matched, or -1 if no match.