title: Retrieve libs runtime
body: <p>I googled a lot without success.</p>
  
  <p>What I need is, if possible, a way to retrieve runtime which dynamic libs are used by the process.</p>
  
  <p>I know <a href="http://man7.org/linux/man-pages/man1/ldd.1.html" rel="nofollow">ldd</a>, but I'm looking for a c coded solution.</p>
  
  <p>The goal is to have processes that, at startup, retrieve info about libs and send them to an information process able to store and show all libs used by my processes.</p>
  
  <p><strong>EDIT</strong>
  Take notes that I'm developing an embedded system, that must be as little (in RootFS footprint terms) as possible.</p>