From mint-bounce@lists.fishpool.fi Thu Aug 27 09:37:16 2009 X-Authentication-Warning: antyk.ibi.uw.edu.pl: draco owned process doing -bs Date: Thu, 27 Aug 2009 15:34:39 +0200 (CEST) From: Konrad Kokoszkiewicz To: Jo Even Skarstein cc: "[MiNT] Mailing-List" Subject: Re: [MiNT] Finding ppid In-Reply-To: <6A690426CAE24D83AF57F557C703FBC4@joevenlt> Message-ID: References: <6A690426CAE24D83AF57F557C703FBC4@joevenlt> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0.1 (antyk.ibi.uw.edu.pl [127.0.0.1]); Thu, 27 Aug 2009 15:34:39 +0200 (CEST) X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: draco@ibi.uw.edu.pl Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: > What is the "right" way of finding the ppid of a process? Right now I'm parsing > /kern//status, but I guess there must be a better way of doing it. Getppid() ? Pozdrawiam KMK