MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / SkipInitialWhitespace

Function SkipInitialWhitespace

scripts/ChrisTest.cpp:221–226  ·  view source on GitHub ↗

Returns a pointer to the first non-whitespace char in given string

Source from the content-addressed store, hash-verified

219
220// Returns a pointer to the first non-whitespace char in given string
221char *SkipInitialWhitespace(char *s) {
222 while ((*s) != '\0' && isspace(*s))
223 s++;
224
225 return (s);
226}
227
228// Read in the Messages
229int ReadMessageFile(const char *filename) {

Callers 1

ReadMessageFileFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected