Gentoo Archives: gentoo-user

From: Uwe Thiem <uwix@××××.na>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] OT: get process name in c++
Date: Fri, 07 Jul 2006 21:01:07
Message-Id: 200607072153.35550.uwix@iway.na
In Reply to: Re: [gentoo-user] OT: get process name in c++ by Richard Fish
1 On 07 July 2006 18:14, Richard Fish wrote:
2 > On 7/6/06, Iain Buchanan <iaindb@××××××××××××.au> wrote:
3 > > but I don't have just one main.c, I have 20+ different apps, each with
4 > > their own main.c, which I don't maintain, for which I'd have to issue
5 >
6 > Ah, ok, sorry, I missed that part.
7 >
8 > So, can I ask /why/ you need the process name in this class?
9
10 How about:
11
12 getenv( "_" );
13
14 Uwe
15
16 --
17 Mark Twain: I rather decline two drinks than a German adjective.
18 http://www.SysEx.com.na
19 --
20 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] OT: get process name in c++ Richard Fish <bigfish@××××××××××.org>