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

📄 memmove.c

📁 几个通用过程
💻 C
字号:
/* memmove.c -- copy memory.   Copy LENGTH bytes from SOURCE to DEST.  Does not null-terminate.   In the public domain.   By David MacKenzie <djm@gnu.ai.mit.edu>.  */#ifdef HAVE_CONFIG_H#include <config.h>#endifvoidmemmove (dest, source, length)     char *dest;     const char *source;     unsigned length;{  if (source < dest)    /* Moving from low mem to hi mem; start at end.  */    for (source += length, dest += length; length; --length)      *--dest = *--source;  else if (source != dest)    /* Moving from hi mem to low mem; start at beginning.  */    for (; length; --length)      *dest++ = *source++;}

⌨️ 快捷键说明

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