[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] process functions



Hello!

> Was just looking through all the docs I have but didn't find what I
> wanted:
>
> Which function do I use if I want to find out which state a process
> is in (like what the ps command tells me: Ready, Wait, Sleep...)?

/kern/<pid>/stat
/kern/<pid>/status (readable form of stat)

or over the deprecated old interface through /proc.


Ciao
   ...Frank

--
ATARI FALCON 040 // MILAN 060
-----------------------------------------
http://www.cs.uni-magdeburg.de/~fnaumann/
e-Mail: fnaumann@freemint.de