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

Function C2000Memset

src/Platforms/C2000/UtestPlatform.cpp:197–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195}
196
197static void* C2000Memset(void* mem, int c, size_t size)
198{
199 register unsigned long i = size;
200 register long p = (long) mem;
201 while (i--) *__farptr_to_word(p++) = c;
202 return mem;
203}
204
205void* (*PlatformSpecificMalloc)(size_t size) = C2000Malloc;
206void* (*PlatformSpecificRealloc)(void* memory, size_t size) = C2000Realloc;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected