MCPcopy Create free account
hub / github.com/cpputest/cpputest / strdupAllocation

Function strdupAllocation

tests/CppUTest/AllocationInCFile.c:12–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10}
11
12char* strdupAllocation()
13{
14#ifdef CPPUTEST_USE_STRDUP_MACROS
15 return strdup("0123456789");
16#else
17 return NULL;
18#endif
19}
20
21
22char* strndupAllocation()

Callers 1

TESTFunction · 0.85

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.68