⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xmalloc.c

📁 linear time-frequency toolbox
💻 C
字号:
#if HAVE_CONFIG_H#  include <config.h>#endif#include "common.h"void *xmalloc (size_t num){  void *new = malloc (num);  if (!new)    sic_fatal ("Memory exhausted");  return new;}void *xrealloc (void *p, size_t num){  void *new;  if (!p)    return xmalloc (num);  new = realloc (p, num);  if (!new)    sic_fatal ("Memory exhausted");  return new;}void *xcalloc (size_t num, size_t size){  void *new = xmalloc (num * size);  bzero (new, num * size);  return new;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -