title: Linux API to list running processes?
body: <p>I need a C/C++ API that allows me to list the running processes on a Linux system, and list the files each process has open.</p>
  
  <p>I do <em>not</em> want to end up reading the /proc/ file system directly.</p>
  
  <p>Can anyone think of a way to do this?</p>