MCPcopy Create free account
hub / github.com/boostorg/build / copy_string

Function copy_string

v2/engine/yyacc.c:212–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

210}
211
212char * copy_string(char * s, int l)
213{
214 char * result = (char*)malloc(l+1);
215 strncpy(result,s,l);
216 result[l] = 0;
217 return result;
218}
219
220char * tokenize_string(char * s)
221{

Callers 1

mainFunction · 0.85

Calls 1

mallocFunction · 0.85

Tested by

no test coverage detected