source: vendor/FreeBSD-libc/current/gen/getprogname.c

Last change on this file was 924, checked in by (none), 22 years ago

This commit was manufactured by cvs2svn to create branch 'FREEBSD'.

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 318 bytes
Line 
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}
Note: See TracBrowser for help on using the repository browser.