MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / realloc

Function realloc

components/libc/compilers/dlib/syscall_mem.c:34–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34void *realloc(void *rmem, size_t newsize)
35{
36#ifdef RT_USING_HEAP
37 return rt_realloc(rmem, newsize);
38#else
39 _NO_HEAP_ERROR();
40 return RT_NULL;
41#endif
42}
43
44void *calloc(size_t nelem, size_t elsize)
45{

Callers

nothing calls this directly

Calls 1

rt_reallocFunction · 0.85

Tested by

no test coverage detected