1189170Sed/*- 2189170Sed * Copyright (c) 2009 Roman Divacky <rdivacky@FreeBSD.org> 3189170Sed * All rights reserved. 4189170Sed * 5189170Sed * Redistribution and use in source and binary forms, with or without 6189170Sed * modification, are permitted provided that the following conditions 7189170Sed * are met: 8189170Sed * 1. Redistributions of source code must retain the above copyright 9189170Sed * notice, this list of conditions and the following disclaimer. 10189170Sed * 2. Redistributions in binary form must reproduce the above copyright 11189170Sed * notice, this list of conditions and the following disclaimer in the 12189170Sed * documentation and/or other materials provided with the distribution. 13189170Sed * 14189170Sed * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15189170Sed * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16189170Sed * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17189170Sed * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18189170Sed * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19189170Sed * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20189170Sed * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21189170Sed * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22189170Sed * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23189170Sed * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24189170Sed * SUCH DAMAGE. 25189170Sed*/ 26189170Sed 27189170Sed#include <sys/cdefs.h> 28189170Sed__FBSDID("$FreeBSD$"); 29189170Sed 30189170Sed#include <sys/libkern.h> 31189170Sed 32189170Sedvoid * 33189170Sedmemmove(void *dest, const void *src, size_t n) 34189170Sed{ 35189170Sed 36189170Sed bcopy(src, dest, n); 37189170Sed return (dest); 38189170Sed} 39