On Thu, Mar 29, 2007 at 07:55:18PM +0300, Bilanchuk Vitaly wrote: > > Use the library provided by the lspci package, that is what it is there > > for. > > Ok, thanks for you time. > > > What's wrong with using these interfaces? You can use sysfs and proc > > from a C/C++ program just fine... > > sysfs and proc can be unexisting.
What Linux distro does not mount sysfs and/or proc? Even embedded systems mount it, as it is required for some things, and does not really save any memory if it is not mounted and/or built into the kernel. So relying on them being there is generally acceptable. good luck, greg k-h -- gentoo-dev@gentoo.org mailing list