Home | History | Annotate | Line # | Download | only in lib
      1 /*	$NetBSD: kmemcpywrap.c,v 1.2 2012/07/22 14:27:36 darrenr Exp $	*/
      2 
      3 /*
      4  * Copyright (C) 2012 by Darren Reed.
      5  *
      6  * See the IPFILTER.LICENCE file for details on licencing.
      7  *
      8  * Id: kmemcpywrap.c,v 1.1.1.2 2012/07/22 13:44:39 darrenr Exp $
      9  */
     10 
     11 #include "ipf.h"
     12 #include "kmem.h"
     13 
     14 int kmemcpywrap(from, to, size)
     15 	void *from, *to;
     16 	size_t size;
     17 {
     18 	int ret;
     19 
     20 	ret = kmemcpy((caddr_t)to, (u_long)from, size);
     21 	return ret;
     22 }
     23 
     24