📄 block.c
字号:
/* block.c - bcopy, bzero */
/*------------------------------------------------------------------------
* bcopy - copy a block of memory to another
*------------------------------------------------------------------------
*/
int
bcopy(from, to, count)
char *from, *to;
int count;
{
while (count-- > 0)
*to++ = *from++;
}
/*------------------------------------------------------------------------
* bzero - zero a block of memory
*------------------------------------------------------------------------
*/
int
bzero(mem, count)
char *mem;
int count;
{
while (count-- > 0)
*mem = '\0';
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -