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

Function SkipInitialWhitespace

scripts/CanyonsCTF.cpp:194–199  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

192
193// Returns a pointer to the first non-whitespace char in given string
194char *SkipInitialWhitespace(char *s) {
195 while ((*s) != '\0' && isspace(*s))
196 s++;
197
198 return (s);
199}
200
201// Read in the Messages
202int ReadMessageFile(const char *filename) {

Callers 1

ReadMessageFileFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected