MCPcopy Create free account
hub / github.com/assaultcube/AC / strtok_r

Function strtok_r

source/src/tools.cpp:8–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6
7#ifdef NO_POSIX_R
8char *strtok_r(char *s, const char *delim, char **b)
9{
10 if(s) *b = s;
11 *b += strspn(*b, delim);
12 if(!**b) return NULL;
13 s = *b;
14 *b += strcspn(s, delim);
15 if(**b) *(*b)++ = '\0';
16 return s;
17}
18#endif
19
20string _timestringbuffer = "";

Callers 15

parseMethod · 0.85
filterconfigsetFunction · 0.85
filter_use_hx_modeinfoFunction · 0.85
loadMethod · 0.85
readFunction · 0.85
loopiFunction · 0.85
readMethod · 0.85
loadMethod · 0.85
parsevitasFunction · 0.85
gmode_parseFunction · 0.85
echoFunction · 0.85
hudechoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected