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.

I do not want to end up reading the /proc file system directly.

Can anyone think of a way to do this?

Edit
Report