MCPcopy 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}
339long *
340alloc(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
351void

Callers 15

amii_create_nhwindowFunction · 0.70
amii_init_nhwindowsFunction · 0.70
amii_add_menuFunction · 0.70
make_menu_itemsFunction · 0.70
amii_putstrFunction · 0.70
freediskspaceFunction · 0.70
filesizeFunction · 0.70
CopyFileFunction · 0.70
MyAllocBitMapFunction · 0.70
DupNewWindowFunction · 0.70
filecopyFunction · 0.70
put_ext_cmdFunction · 0.70

Calls 1

panicFunction · 0.70

Tested by

no test coverage detected