title: How to list the harddisks attached to a Linux machine using C++?
body: <p>I need to list the harddisk drives attached to the Linux machine using the C++. </p>
  
  <p>Is there  any C or C++ function available to do this?</p>