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

Function test_harness_c_strlen

src/CppUTest/TestHarness_c.cpp:210–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208}
209
210static size_t test_harness_c_strlen(const char * str)
211{
212 size_t n = 0;
213 while (*str++) n++;
214 return n;
215}
216
217static char* strdup_alloc(const char * str, size_t size, const char* file, size_t line)
218{

Callers 2

cpputest_strdup_locationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected