mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-16 10:29:22 +08:00
849ec1684a
PUBLISHED_FROM=5cd78790a03580aa23dd3d2d8b825ad449083cc2
15 lines
374 B
Markdown
15 lines
374 B
Markdown
---
|
|
title: "mg_match_prefix()"
|
|
decl_name: "mg_match_prefix"
|
|
symbol_kind: "func"
|
|
signature: |
|
|
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.
|
|
|