TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Paul Edwards
from: Thomas Seeling
date: 1996-11-18 10:58:18
subject: process list

Hallo, Paul!

*** Am 14. November 1996 um 21:18 schrieb Paul Edwards an All:

 PE> PSTAT prints a list of processes in the system.  How do I do the same
 PE> thing from my C program?  (besides system("pstat")!).  I
have looked at
 PE> GUIREF20 and can't find a suitable API (I want all system processes, not
 PE> just ones that I spawned).  BFN.  Paul.
This is contained in the 16 bit API, and you can only get the 16-bit
semaphores, as you might expect ;-)

Have a look at Holger Veit's homepage, where he describes undocumented
32-bit DosQuerySysState (http://borneo.gmd.de/~veit).


Tschau...Thomas

--- E3-32/1.11-32/2.51+
* Origin: Die TeX-Box +49-6034-930021 V.34 -930022 ISDN 24h (2:244/1130.42)
SEEN-BY: 50/99 270/101 620/243 625/160 711/401 409 410 413 430 808 809 934
SEEN-BY: 711/955 712/407 515 624 628 713/317 800/1
@PATH: 244/1130 24/999 888 396/1 270/101 712/515 711/808 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.