MCPcopy Create free account
hub / github.com/Entware/Entware / alloc_string

Function alloc_string

scripts/config/lexer.lex.c:2325–2330  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2323}
2324
2325static void alloc_string(const char *str, int size)
2326{
2327 text = xmalloc(size + 1);
2328 memcpy(text, str, size);
2329 text[size] = 0;
2330}
2331
2332static void warn_ignored_character(char chr)
2333{

Callers 1

lexer.lex.cFile · 0.85

Calls 1

xmallocFunction · 0.85

Tested by

no test coverage detected