repo.or.cz
/
dragonfly.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
rtld-elf - Notify thread state to optimize relocations
[dragonfly.git]
/
lib
/
libc
/
gen
/
getprogname.c
blob
3f15f0f4c14da4ab742c66c438652ac1a826b0c4
1
/*
2
* $FreeBSD: src/lib/libc/gen/getprogname.c,v 1.4 2002/03/29 22:43:41 markm Exp $
3
*/
4
5
#include
"namespace.h"
6
#include <stdlib.h>
7
#include
"un-namespace.h"
8
9
#include
"libc_private.h"
10
11
const char
*
12
_getprogname
(
void
)
13
{
14
15
return
(
__progname
);
16
}
17
18
__weak_reference
(
_getprogname
,
getprogname
);