blob: 6e01cb32f2c05568c843f8c998de1842ab57edad (
plain)
1
2
3
4
5
6
7
8
9
10
|
//static const char* sccsid = "@(#)math_Memory.cxx 3.2 95/01/10"; // Do not delete this line. Used by sccs.
#include <math_Memory.hxx>
void *reverse_move(void *s1, void *s2, int size) {
for(int i = size - 1; i >= 0; i--) {
*((char *)s1 + i) = *((char *)s2 + i);
}
return s1;
}
|