public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Uwe Thiem <uwix@iway.na>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] OT: get process name in c++
Date: Fri, 7 Jul 2006 21:53:35 +0100	[thread overview]
Message-ID: <200607072153.35550.uwix@iway.na> (raw)
In-Reply-To: <7573e9640607071014v5bd571a0nd265fc30f58685a6@mail.gmail.com>

On 07 July 2006 18:14, Richard Fish wrote:
> On 7/6/06, Iain Buchanan <iaindb@netspace.net.au> wrote:
> > but I don't have just one main.c, I have 20+ different apps, each with
> > their own main.c, which I don't maintain, for which I'd have to issue
>
> Ah, ok, sorry, I missed that part.
>
> So, can I ask /why/ you need the process name in this class?

How about:

getenv( "_" );

Uwe

-- 
Mark Twain: I rather decline two drinks than a German adjective.
http://www.SysEx.com.na
-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2006-07-07 21:01 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1151499883.17966.13.camel@orpheus>
2006-06-28 13:51 ` [gentoo-user] OT: get process name in c++ Petr Uzel
2006-06-28 14:01   ` Petr Uzel
2006-06-29  0:47     ` Iain Buchanan
2006-07-07  2:37       ` Iain Buchanan
2006-07-07  2:55         ` Richard Fish
2006-07-07  4:35           ` Iain Buchanan
2006-07-07  4:48             ` Richard Fish
2006-07-07  5:05               ` Iain Buchanan
2006-07-07 17:14                 ` Richard Fish
2006-07-07 20:53                   ` Uwe Thiem [this message]
2006-07-07 21:54                     ` Richard Fish
2006-07-10  0:00                       ` Iain Buchanan
2006-07-07 22:05         ` Richard Fish
2006-06-28 15:55 ` Richard Fish
2006-07-27  0:19 ` [gentoo-user] " Iain Buchanan
2006-07-27  4:35   ` Richard Fish

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200607072153.35550.uwix@iway.na \
    --to=uwix@iway.na \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox