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

Function SkipInitialWhitespace

scripts/myPowerHouse.cpp:203–208  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

201
202// Returns a pointer to the first non-whitespace char in given string
203char *SkipInitialWhitespace(char *s) {
204 while ((*s) != '\0' && isspace(*s))
205 s++;
206
207 return (s);
208}
209
210// Read in the Messages
211int ReadMessageFile(const char *filename) {

Callers 1

ReadMessageFileFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected