fwrite.c
来自「minimal python variant for small footpri」· C语言 代码 · 共 25 行
C
25 行
/* #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 + =
减小字号Ctrl + -
显示快捷键?