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

Function SkipInitialWhitespace

scripts/level13.cpp:1385–1390  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1383
1384// Returns a pointer to the first non-whitespace char in given string
1385char *SkipInitialWhitespace(char *s) {
1386 while ((*s) != '\0' && isspace(*s))
1387 s++;
1388
1389 return (s);
1390}
1391
1392// Read in the Messages
1393int ReadMessageFile(const char *filename) {

Callers 1

ReadMessageFileFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected