From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Fygcz-0000wn-3J for garchives@archives.gentoo.org; Fri, 07 Jul 2006 03:03:37 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k6731Y8t022736; Fri, 7 Jul 2006 03:01:34 GMT Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.191]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k672tH5i018766 for ; Fri, 7 Jul 2006 02:55:17 GMT Received: by nf-out-0910.google.com with SMTP id a25so62777nfc for ; Thu, 06 Jul 2006 19:55:17 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=dXLl6ebfvDy5mdUizr0zCO7PE3r2i5E/zlmR6juXQBSrhCahQC0zqfYrwrkcp11D1lkT81jXvC+/GMUm9mMp1dVjwq4F7QA+1ekUBn9WcXrb5HCPGlnVuEzTjlnkRc5T5AieDVgsHnFR9BOkc/u0DKV2b/lbG1rN976M/kwStPA= Received: by 10.78.138.14 with SMTP id l14mr478767hud; Thu, 06 Jul 2006 19:55:17 -0700 (PDT) Received: by 10.78.20.11 with HTTP; Thu, 6 Jul 2006 19:55:17 -0700 (PDT) Message-ID: <7573e9640607061955y578b654djd96558656aa59fca@mail.gmail.com> Date: Thu, 6 Jul 2006 19:55:17 -0700 From: "Richard Fish" Sender: richard.j.fish@gmail.com To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] OT: get process name in c++ In-Reply-To: <1152239843.31828.0.camel@orpheus> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1151499883.17966.13.camel@orpheus> <200606281551.42342.petr.uzel@centrum.cz> <200606281601.07029.petr.uzel@centrum.cz> <1151542067.19231.0.camel@orpheus> <1152239843.31828.0.camel@orpheus> X-Google-Sender-Auth: 43351548f0dec5fb X-Archives-Salt: b8323a3a-0bac-4db9-8d58-9eff06e15e1b X-Archives-Hash: 85e2d38de7eae088a6235a93683ab121 On 7/6/06, Iain Buchanan wrote: > Someone mentioned that /proc is deprecated for 2.6? is this correct? Is > there a /sys alternative to /proc/self/status? Again, I *highly* suggest doing the standard, cross-platform, and most-efficient thing, which is to just store off the argv[0] pointer to a global variable. -Richard -- gentoo-user@gentoo.org mailing list