/* * Copyright 2002-2009, Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT license. * * Authors: * Ingo Weinhold, bonefish@cs.tu-berlin.de. * Axel Dörfler, axeld@pinc-software.de. */ #include #include extern "C" status_t user_memcpy(void *to, const void *from, size_t size) { memcpy(to, from, size); return B_OK; } extern "C" ssize_t user_strlcpy(char *to, const char *from, size_t size) { return strlcpy(to, from, size); }