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

Function SkipInitialWhitespace

scripts/LEVEL15.cpp:1533–1538  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1531
1532// Returns a pointer to the first non-whitespace char in given string
1533char *SkipInitialWhitespace(char *s) {
1534 while ((*s) != '\0' && isspace(*s))
1535 s++;
1536
1537 return (s);
1538}
1539
1540// Read in the Messages
1541int ReadMessageFile(const char *filename) {

Callers 1

ReadMessageFileFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected