gcc-2.95.3 Linux下最常用的C编译器

源代码在线查看: memmove.c

软件大小: 13197 K
上传用户: ccdn2615
关键词: Linux gcc 95 C编译器
下载地址: 免注册下载 普通下载 VIP

相关代码

				/* memmove.c -- copy memory.				   Copy LENGTH bytes from SOURCE to DEST.  Does not null-terminate.				   In the public domain.				   By David MacKenzie .  */								#ifdef HAVE_CONFIG_H				#include 				#endif								void				memmove (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++;				}							

相关资源