Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 214 -
------------------------------------------------------------------------------
8.2 Move a memory block. <Main,Alarm,Comm>
------------------------------------------------------------------------------
[Name]
memmove
[Syntax]
#include <string.h>
void *memmove( void *s1, void *s2, size_t n ) ;
[Arguments]
s1 Pointer to the destination.
s2 Pointer to the source.
n Byte count.
[Return]
Returns a pointer as same as "s1".
[Description]
Moves "n" byte data from the location specified by "s2" to the
location specified by "s1". The memory block is copied correctly
even if the source and the destination are overlapped.