📄 xmalloc.c
字号:
/* $Revision: 1.6 $***/#include <stdio.h>#include <errno.h>#include <sys/types.h>#include "configdata.h"#include "libinn.h"#include "clibrary.h"#include "macros.h"/*** Allocate some memory or call the memory failure handler.*/ALIGNPTRxmalloc(i) unsigned int i;{ POINTER new; while ((new = malloc(i)) == NULL) (*xmemfailure)("malloc", i); return CAST(ALIGNPTR, new);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -