MCPcopy Create free account
hub / github.com/RangeNetworks/OpenBTS-UMTS / cstrSplit

Function cstrSplit

CommonLibs/Utils.cpp:171–184  ·  view source on GitHub ↗

Split a C string into an argc,argv array in place; the input string is modified. Returns argc, and places results in argv, up to maxargc elements. The final argv receives the rest of the input string from maxargc on, even if it contains additional splitchars. The correct idiom for use is to make a copy of your string, like this: char *copy = strcpy((char*)alloca(the_string.length()+1),the_string.c

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

ip_getDnsOptionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected