Howto get hardware information in Linux using C++

前端 未结 5 1858
广开言路
广开言路 2021-02-14 17:01

I need to get specifications of hard disk on both Win and *nix machines. I used on Linux like this:

   static struct hd_driveid hd;
         


        
5条回答
提交回复
热议问题