memcpy.c
来自「基于4个mips核的noc设计」· C语言 代码 · 共 29 行
C
29 行
/* memcpy (the standard C function) This function is in the public domain. *//*NAME memcpy -- copy memory regions of arbitary lengthSYNOPSIS void* memcpy (void *out, const void *in, size_t n);DESCRIPTION Copy LENGTH bytes from memory region pointed to by IN to memory region pointed to by OUT.*/#include <ansidecl.h>#ifdef __STDC__#include <stddef.h>#else#define size_t unsigned long#endifPTRDEFUN(memcpy, (out, in, length), PTR out AND const PTR in AND size_t length){ bcopy(in, out, length); return out;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?