Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NetHack/NetHack
/ alloc
Function
alloc
sys/amiga/winchar.c:339–348 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
337
putchar(
'\n'
);
338
}
339
long *
340
alloc(unsigned int x)
341
{
342
long *p = (long *) malloc(x);
343
if (!p) {
344
panic(
"malloc failed"
);
345
exit(1);
346
}
347
return p;
348
}
349
#endif
350
351
void
Callers
15
amii_create_nhwindow
Function · 0.70
amii_init_nhwindows
Function · 0.70
amii_add_menu
Function · 0.70
make_menu_items
Function · 0.70
amii_putstr
Function · 0.70
freediskspace
Function · 0.70
filesize
Function · 0.70
CopyFile
Function · 0.70
MyAllocBitMap
Function · 0.70
DupNewWindow
Function · 0.70
filecopy
Function · 0.70
put_ext_cmd
Function · 0.70
Calls
1
panic
Function · 0.70
Tested by
no test coverage detected