]> git.saurik.com Git - apple/libc.git/blame - gen/FreeBSD/getprogname.c
Libc-498.tar.gz
[apple/libc.git] / gen / FreeBSD / getprogname.c
CommitLineData
9385eb3d
A
1#include <sys/cdefs.h>
2__FBSDID("$FreeBSD: src/lib/libc/gen/getprogname.c,v 1.4 2002/03/29 22:43:41 markm Exp $");
3
4#include "namespace.h"
5#include <stdlib.h>
6#include "un-namespace.h"
7
8#include "libc_private.h"
9
10__weak_reference(_getprogname, getprogname);
11
12const char *
13_getprogname(void)
14{
15
16 return (__progname);
17}