Is there any function or system routine which provided me with all the active process running on the machine. I have tried with the piping the ps command and parsing through the output. Is there any functions at all which does that. I am pretty sure there should be some system function which does that.
I am on Linux, GCC.
Thanks a lot
ssharish