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

Function SkipInitialWhitespace

scripts/Geodomes.cpp:247–252  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

245
246// Returns a pointer to the first non-whitespace char in given string
247char *SkipInitialWhitespace(char *s) {
248 while ((*s) != '\0' && isspace(*s))
249 s++;
250
251 return (s);
252}
253
254// Read in the Messages
255int ReadMessageFile(const char *filename) {

Callers 1

ReadMessageFileFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected