[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnulib] Re: new module: progname

From: Paul Eggert
Subject: Re: [Bug-gnulib] Re: new module: progname
Date: 18 Aug 2003 15:14:51 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Simon Josefsson <address@hidden> writes:

> program_invocation_name is glibc standard and is documented.  Is
> 'program_name' used by any system/standard except gnulib error.c?

Octave defines progam_invocation_name to be the full invocation name
as invoked by the user (presumably gotten from argv[0], e.g.,
"/usr/bin/foo"); it defines program_name to be its basename (e.g.,
"foo").  See <http://octave.sourceforge.net/index/f/program_name.html>.

This seems like a reasonable convention, and would help justify having
two different variables.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]