【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.1.2.33 memmove
Contents
Description
Move specified number of characters from one buffer to another
Syntax
LPVOID memmove( LPVOID dest, LPCVOID src, size_t count )
Parameters
- dest
- [modify] Destination buffer
- src
- [input] Source buffer
- count
- [input] Number of characters to move
Return
Returns a pointer to moved characters.
Examples
EX1
void memmove_ex1() { char str1[40]; char str2[] = "Hello World!xxxxxxxx"; char* pRet = (char *) memmove(str1, str2, 12); out_str(pRet);// output "Hello World!" }
Remark
See Also
Header to Include
origin.h