Hi, I'm kind of new in c programming.
I'm trying to make a simple program, that displays all of current running processes on my computer and their names.
My idea is that i would store all the directories beginning with a number from /proc/ in a list, and then get name for each PID and print it out.
Am i going into the right direction here?
I know how to get all PIDs, but i can't figure out how to get process name of specific PID.
BTW: i don't want to use functions system(..) and popen(...)