MCPcopy Create free account
hub / github.com/AHXR/ghost / lskip

Function lskip

_src/server/ini.cpp:43–48  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

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

Callers 1

ini_parse_streamFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected