kernel/eka/compsupp/rvct/rtexit.cpp
author William Roberts <williamr@symbian.org>
Mon, 28 Jun 2010 11:25:30 +0100
branchGCC_SURGE
changeset 184 0e2270015475
parent 0 a41df078684a
permissions -rw-r--r--
Identify (and sometimes fix) remaining uses of old-style GCC name mangling in cia files - Bug 3115 Instances which don't have defined "CSM_xxx" macros are marked "// CSM needed"

// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of the License "ARM EABI LICENCE.txt"
// which accompanies this distribution, and is available
// in kernel/eka/compsupp.
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
// This file is part of drtrvct.dll and drtrvct_vfpv2.dll
// 
//

#include <e32std.h>


extern "C" {

// The run-time system can call this function to exit the process, 'finalizing' the
// run-time library but avoiding atexit processing.
EXPORT_C void __rt_exit(TInt aReturnCode) /* never returns */
    {
    User::Exit(aReturnCode);
    }


} // extern "C"