Subject: Re: lib/10675: __progname is not declared
To: None <>
From: Chris G. Demetriou <>
List: netbsd-bugs
Date: 07/25/2000 16:37:39 (Johan Danielsson) writes:
> To solve this I propose that two new functions be added to libc:
>         const char *get_progname(void);
> and
>         void set_progname(const char *);
> The first should return the `name' of the running program (effectively
> __progname), and the second should set that name.

for consistency with other functions' names, it might be better to
elide the underscores.

This is a good idea, though (both get and set).  /usr/share/misc/style
should be updated to include a set, as well.