cx_copy.c
来自「上传一个带源代码的嵌入式实时多任务操作系统CMX」· C语言 代码 · 共 27 行
C
27 行
/*********************************************************
Copyright (c) CMX Company. 1999. All rights reserved
*********************************************************/
/* version 5.30 */
#define CMXMODULE 1
#include <cxfuncs.h> /* get cmx include header file */
#include <cxextern.h> /* get cmx include header file */
#if (defined(CMXTRACKER) || defined(WINTRACKER))
#include <cmxtrack.h> /* get cmx include header file */
#endif
/* K_I_Copy = dest,source,count */
void K_I_Copy(byte *dest,byte *src,byte count)
{
/* this will move the source bytes to the destination */
while (count--) /* post decrement counter, and test */
*dest++ = *src++; /* increment the source and destination pointers */
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?