Is there a function/structure to handle storing the system process information on a linux-based system?

For example, with utmp.h, you're able to grab user information from the utmp file and store...