diff -r e20de85af2ee -r ce057bb09d0b genericopenlibs/openenvcore/libc/src/gen/getprogname.c --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/genericopenlibs/openenvcore/libc/src/gen/getprogname.c Fri Jun 04 16:20:51 2010 +0100 @@ -0,0 +1,35 @@ +/* +* Copyright (c) 2006-2008 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: +* +*/ + + +#include +__FBSDID("$FreeBSD: src/lib/libc/gen/getprogname.c,v 1.4 2002/03/29 22:43:41 markm Exp $"); + + +#include +#include "un-namespace.h" + +#include "libc_private.h" + +#ifndef __SYMBIAN32__ +__weak_reference(_getprogname, getprogname); +#endif //__SYMBIAN32__ + +EXPORT_C const char * getprogname(void) +{ + return (__progname); +}