xref: /onnv-gate/usr/src/cmd/ipf/lib/common/kmemcpywrap.c (revision 0:68f95e015346)
1*0Sstevel@tonic-gate #include "ipf.h"
2*0Sstevel@tonic-gate #include "kmem.h"
3*0Sstevel@tonic-gate 
kmemcpywrap(from,to,size)4*0Sstevel@tonic-gate int kmemcpywrap(from, to, size)
5*0Sstevel@tonic-gate void *from, *to;
6*0Sstevel@tonic-gate size_t size;
7*0Sstevel@tonic-gate {
8*0Sstevel@tonic-gate 	int ret;
9*0Sstevel@tonic-gate 
10*0Sstevel@tonic-gate 	ret = kmemcpy((caddr_t)to, (u_long)from, size);
11*0Sstevel@tonic-gate 	return ret;
12*0Sstevel@tonic-gate }
13*0Sstevel@tonic-gate 
14