On Thu, Mar 29, 2007 at 07:04:33PM +0300, Bilanchuk Vitaly wrote:
> 
> > emerge pciutils and use lspci. This question would be better asked in
> > our user oriented support channels like #gentoo or gentoo-user mailing
> > list.
> 
> I'm sorry.
> I need get info using C/C++.

Use the library provided by the lspci package, that is what it is there
for.

> I know lspci using 4 methods in Linux - linux_sysfs, linux_proc, intel_conf1, 
> intel_conf2 (man 8 lspci). But:
> linux_sysfs - using /sys system;
> linux_proc - using /porc system;

What's wrong with using these interfaces?  You can use sysfs and proc
from a C/C++ program just fine...

thanks,

greg k-h
-- 
gentoo-dev@gentoo.org mailing list

Reply via email to