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

Function SkipInitialWhitespace

scripts/merc5.cpp:1081–1086  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1079
1080// Returns a pointer to the first non-whitespace char in given string
1081char *SkipInitialWhitespace(char *s) {
1082 while ((*s) != '\0' && isspace(*s))
1083 s++;
1084
1085 return (s);
1086}
1087
1088// Read in the Messages
1089int ReadMessageFile(const char *filename) {

Callers 1

ReadMessageFileFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected