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

📄 calloc.c

📁 基于4个mips核的noc设计
💻 C
字号:
/* * libc/stdlib/calloc.c * ANSI/ISO 9899-1990, Section 7.10.3.1. * * void *calloc(size_t nmemb, size_t size) * Allocate and zero memory. */#include <stdlib.h>void *calloc(size_t nmemb, size_t size){	register void *s;	size *= nmemb;	if ((s = malloc(size)) != NULL)		memset(s, 0, size);	return s;}/* end of calloc.c */

⌨️ 快捷键说明

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