On Wed, Apr 11, 2001 at 11:43:46AM -0400, Liu, Guangsheng wrote:
> Hi, 
>   What C function can I use to get all the process ID numbers that are
> current running in Linux?

scandir(3)
or
opendir(3);readdir(3)
or
popen("ps -e|cut -d' ' -f1", "r")

emmanuel



_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to