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

Function str_alloc_destroy_accu

examples/libc/ex4.c:84–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82/* Called only when the thread-specific data is not NULL. */
83
84static void str_alloc_destroy_accu(void * accu)
85{
86 printf("Thread %lx: freeing buffer at %p\n", pthread_self(), accu);
87 free(accu);
88}
89
90/* Test program */
91

Callers

nothing calls this directly

Calls 3

pthread_selfFunction · 0.85
printfFunction · 0.50
freeFunction · 0.50

Tested by

no test coverage detected