title: How to get Vendor ID and Device ID of all PCI Devices?
body: <p>I need to get Vendor ID and Device ID of all PCI bus Devices from Linux using C/C++ (inline asm allowed), but I can't even understand from what to start.</p>
  
  <p>Please, give me some pieces of advice or code parts.</p>