On Thu, 2006-07-06 at 19:55 -0700, Richard Fish wrote:
> On 7/6/06, Iain Buchanan <[EMAIL PROTECTED]> 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.

yes I would, except that I'm editing a class which is inherited by a
multitude of programs, so the /proc way I only have to change one file,
whereas the argv[0] way I have to change every source file...

but suggestion noted :)
-- 
Iain Buchanan <iaindb at netspace dot net dot au>

<dracus> Ctrl+Option+Command + P + R
<Knghtbrd> dracus - YE GODS!  That's worse than EMACS!
<LauraDax> hehehehe
<dracus> don't ask what that does :P

-- 
gentoo-user@gentoo.org mailing list

Reply via email to