title: libudev vs libsensors for sysfs
body: <p>I have a temperature sensor on a Linux machine.
  The temperature sensor information is available in sysfs.</p>
  
  <p>I want to get these temperature readings from a C app.</p>
  
  <p>I have been browsing the web for a while, and cannot determine whether I should be using libudev.h OR sensors.h (from lm-sensors libsensors library).</p>
  
  <p>Should I be using libudev.h or sensors.h? Is there a downside to using one over the other?</p>
  
  <p>These are the best links I've found for my needs:</p>
  
  <p>libudev: <a href="http://www.signal11.us/oss/udev/" rel="nofollow">http://www.signal11.us/oss/udev/</a></p>
  
  <p>libsensors: <a href="http://linux.die.net/man/3/libsensors" rel="nofollow">http://linux.die.net/man/3/libsensors</a></p>
  
  <p>The lm-sensors website is down (not sure why!).</p>
  
  <p>Regards,
  Mahdi</p>