bzero.c
来自「基于4个mips核的noc设计」· C语言 代码 · 共 32 行
C
32 行
/* Portable version of bzero for systems without it. This function is in the public domain. *//*NAME bzero -- zero the contents of a specified memory regionSYNOPSIS void bzero (char *to, int count)DESCRIPTION Zero COUNT bytes of memory pointed to by TO.BUGS Significant speed enhancements may be made in some environments by zeroing more than a single byte at a time, or by unrolling the loop.*/voidbzero (to, count) char *to; int count;{ while (count-- > 0) { *to++ = 0; }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?