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

Re: [MiNT] Finding ppid



--------------------------------------------------
From: "Konrad Kokoszkiewicz" <draco@ibi.uw.edu.pl>
Sent: Thursday, August 27, 2009 3:34 PM
To: "Jo Even Skarstein" <joska@online.no>
Cc: "[MiNT] Mailing-List" <mint@fishpool.com>
Subject: Re: [MiNT] Finding ppid

What is the "right" way of finding the ppid of a process? Right now I'm parsing
/kern/<pid>/status, but I guess there must be a better way of doing it.

Getppid() ?

I should have been more precise. I need to find the ppid of ANY process, not just the calling process.

Jo Even



__________ Information from ESET NOD32 Antivirus, version of virus signature database 4372 (20090827) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com