my friend asks me a question,but i couldn't work it out.
someone could help me.
thanks a lot.
From: 易文星 Alex Yi
Sent: Monday, March 18, 2002 9:10 AM
To: 黃慶 Kason Huang
When programming on Linux, I use the following codes
system("ps -Algrep \"processname\" >> tempfilename");
to store the process information into a temporary file. But now,
I have to store the process information into a character buffer,
and I just don't know where is the way!!! Could you please be kind enough
to help me out.