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

📄 fwrite.c

📁 minimal python variant for small footprint apps like embedded apps
💻 C
字号:
/* #include <Common.h> *//* #include <System/SysAll.h> *//* #include <UI/UIAll.h> */#include <stdio.h>#include <sys/types.h>#include <string.h>#include <ctype.h>/* write a stream as a string of characters - ignore stream */size_t fwrite(const void *ptr, size_t size, size_t nitems,	      FILE *stream) {		char *c = (char *)ptr;	size_t nbytes = size*nitems;	int j;	for (j=0; j < nbytes; j++) {		putchar(*c);		c++;	}	return nitems;}

⌨️ 快捷键说明

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