diff options
| author | Dima Dorfman <dd@FreeBSD.org> | 2001-05-15 23:41:01 +0000 |
|---|---|---|
| committer | Dima Dorfman <dd@FreeBSD.org> | 2001-05-15 23:41:01 +0000 |
| commit | cd18ccdc302e93b1adfd0263a7270df444ca9ead (patch) | |
| tree | fe1e0e3c6929ef8ebc5aaced3ce0ff555cd78f36 /lib/libc/gen/setprogname.c | |
| parent | 54570134fe900a3632eec0ba6e459f86bf1d8c93 (diff) | |
Notes
Diffstat (limited to 'lib/libc/gen/setprogname.c')
| -rw-r--r-- | lib/libc/gen/setprogname.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/libc/gen/setprogname.c b/lib/libc/gen/setprogname.c new file mode 100644 index 000000000000..6c56013ef7c4 --- /dev/null +++ b/lib/libc/gen/setprogname.c @@ -0,0 +1,13 @@ +#if defined(LIBC_RCS) && !defined(lint) +static const char rcsid[] = + "$FreeBSD$"; +#endif /* LIBC_RCS and not lint */ + +extern const char *__progname; + +void +setprogname(const char *progname) +{ + + __progname = progname; +} |
