MCPcopy Create free account
hub / github.com/F-Stack/f-stack / lskip

Function lskip

lib/ff_ini_parser.c:37–42  ·  view source on GitHub ↗

Return pointer to first non-whitespace char in given string. */

Source from the content-addressed store, hash-verified

35
36/* Return pointer to first non-whitespace char in given string. */
37static char* lskip(const char* s)
38{
39 while (*s && isspace((unsigned char)(*s)))
40 s++;
41 return (char*)s;
42}
43
44/* Return pointer to first char (of chars) or inline comment in given string,
45 or pointer to null at end of string if neither found. Inline comment must

Callers 2

ini_parse_streamFunction · 0.85
ifFunction · 0.85

Calls 1

isspaceFunction · 0.85

Tested by

no test coverage detected