Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Entware/Entware
/ xmalloc
Function
xmalloc
scripts/config/util.c:82–89 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
80
}
81
82
void *xmalloc(size_t size)
83
{
84
void *p = malloc(size);
85
if (p)
86
return p;
87
fprintf(stderr,
"Out of memory.\n"
);
88
exit(1);
89
}
90
91
void *xcalloc(size_t nmemb, size_t size)
92
{
Callers
15
env_add
Function · 0.85
variable_add
Function · 0.85
__expand_string
Function · 0.85
sym_set_string_value
Function · 0.85
sym_lookup
Function · 0.85
expr_copy
Function · 0.85
escape_string_value
Function · 0.85
print_symbol_for_rustccfg
Function · 0.85
file_lookup
Function · 0.85
str_new
Function · 0.85
menu_add_entry
Function · 0.85
menu_add_prop
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected