James Carlson <james.d.carlson at Sun.COM> wrote: > > So I guess that basename(getexecname()) will work, but will it work on > > Linux? > > It doesn't seem to be present, at least on the systems I checked. > > The Linux man pages do have this to say about program_invocation_name > and program_invocation_short_name:
Where (in which man page) did you find this? J?rg -- EMail:joerg at schily.isdn.cs.tu-berlin.de (home) J?rg Schilling D-13353 Berlin js at cs.tu-berlin.de (uni) joerg.schilling at fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily