📄 xrealloc.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"/*** Reallocate some memory or call the memory failure handler.*/ALIGNPTRxrealloc(p, i) char *p; unsigned int i;{ POINTER new; while ((new = realloc((POINTER)p, i)) == NULL) (*xmemfailure)("remalloc", i); return CAST(ALIGNPTR, new);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -