author | William Roberts <williamr@symbian.org> |
Thu, 22 Jul 2010 16:48:56 +0100 | |
branch | GCC_SURGE |
changeset 45 | 4b03adbd26ca |
parent 18 | 47c74d1534e1 |
parent 34 | 5fae379060a7 |
permissions | -rw-r--r-- |
31 | 1 |
/* |
34
5fae379060a7
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
31
diff
changeset
|
2 |
* Portions Copyright (c) 2006-2008 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. |
31 | 3 |
*/ |
4 |
||
5 |
#include <sys/cdefs.h> |
|
6 |
__FBSDID("$FreeBSD: src/lib/libc/gen/getprogname.c,v 1.4 2002/03/29 22:43:41 markm Exp $"); |
|
7 |
||
8 |
||
9 |
#include <stdlib.h> |
|
10 |
#include "un-namespace.h" |
|
11 |
||
12 |
#include "libc_private.h" |
|
13 |
||
14 |
#ifndef __SYMBIAN32__ |
|
15 |
__weak_reference(_getprogname, getprogname); |
|
16 |
#endif //__SYMBIAN32__ |
|
17 |
||
18 |
EXPORT_C const char * getprogname(void) |
|
19 |
{ |
|
20 |
return (__progname); |
|
21 |
} |