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