Re: [Nautilus-list] Re: Installation-time performerance preference



Laszlo PETER <Laszlo Peter ireland sun com> writes: 
> I like the idea, just don't use /proc... use something that is portable.
> 

Well, there is nothing AFAIK. You have to write a portability function
like:

figure_out_machine_speed ()
{
#ifdef HAVE_PROC
blah blah
#endif
#ifdef HAVE_WHATEVER_ELSE
blah blah
#endif
}

etc., then people port it to different OS's....

Havoc






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]