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

670 B

title decl_name symbol_kind signature
mg_skip() mg_skip func const char *mg_skip(const char *s, const char *end_string, const char *delimiters, struct mg_str *v);

Fetches substring from input string s, end into v. Skips initial delimiter characters. Records first non-delimiter character at the beginning of substring v. Then scans the rest of the string until a delimiter character or end-of-string is found. delimiters is a 0-terminated string containing delimiter characters. Either one of delimiters or end_string terminates the search. Returns an s pointer, advanced forward where parsing has stopped.