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

Function xrealloc

scripts/config/util.c:100–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100void *xrealloc(void *p, size_t size)
101{
102 p = realloc(p, size);
103 if (p)
104 return p;
105 fprintf(stderr, "Out of memory.\n");
106 exit(1);
107}
108
109char *xstrdup(const char *s)
110{

Callers 6

variable_addFunction · 0.85
__expand_stringFunction · 0.85
dialog_inputboxFunction · 0.85
add_byteFunction · 0.85
str_appendFunction · 0.85
append_stringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected