diff -r 000000000000 -r e4d67989cc36 genericopenlibs/cstdlib/LCHAR/MEMCPY.C --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/genericopenlibs/cstdlib/LCHAR/MEMCPY.C Tue Feb 02 02:01:42 2010 +0200 @@ -0,0 +1,51 @@ +/* +* Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* FUNCTION +* <>---copy memory regions +* ANSI_SYNOPSIS +* #include +* void* memcpy(void *<[out]>, const void *<[in]>, size_t <[n]>); +* This function copies <[n]> bytes from the memory region +* pointed to by <[src]> to the memory region pointed to by +* <[dest]>. +* If the regions overlap, the behavior is undefined. +* RETURNS +* <> A pointer to a location length bytes beyond +* dest (i.e. the location dest+length). +* PORTABILITY +* <> is ANSI C. +* <> requires no supporting OS subroutines. +* QUICKREF +* memcpy ansi pure +* +* +*/ + + + +#include +#include + +#ifndef __GCC32__ +#undef memcpy +#endif + +IMPORT_C void* memcpy(void* aTrg, const void* aSrc, unsigned int aLength); + +EXPORT_C void* _e32memcpy (void* dest, const void* src, size_t length) + { + return (char*)memcpy(dest, src, length); + } +