Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/NetHack/NetHack
/ alloc
Function
alloc
outdated/sys/amiga/xpm2iff.c:267–276 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
265
}
266
267
long *
268
alloc(unsigned int n)
269
{
270
long *ret = malloc(n);
271
if (!ret) {
272
error(
"Can't allocate memory"
);
273
exit(1);
274
}
275
return (ret);
276
}
277
278
FILE *xpmfh = 0;
279
char initbuf[200];
Callers
8
gnome_player_selection
Function · 0.50
gnome_display_file
Function · 0.50
ghack_about_cb
Function · 0.50
Gem_add_menu
Function · 0.50
Gem_select_menu
Function · 0.50
wingem.c
File · 0.50
_copyfile
Function · 0.50
mac_select_menu
Function · 0.50
Calls
1
error
Function · 0.70
Tested by
no test coverage detected