MCPcopy Create free account
hub / github.com/Entware/Entware / xcalloc

Function xcalloc

scripts/config/util.c:91–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91void *xcalloc(size_t nmemb, size_t size)
92{
93 void *p = calloc(nmemb, size);
94 if (p)
95 return p;
96 fprintf(stderr, "Out of memory.\n");
97 exit(1);
98}
99
100void *xrealloc(void *p, size_t size)
101{

Callers 5

expr_alloc_symbolFunction · 0.85
expr_alloc_oneFunction · 0.85
expr_alloc_twoFunction · 0.85
expr_alloc_compFunction · 0.85
set_subtitleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected