From owner-freebsd-hackers@FreeBSD.ORG Mon Sep 13 12:01:43 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C292116A4CF for ; Mon, 13 Sep 2004 12:01:43 +0000 (GMT) Received: from sulu.ae.katowice.pl (sulu.ae.katowice.pl [213.227.88.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C21143D53 for ; Mon, 13 Sep 2004 12:01:43 +0000 (GMT) (envelope-from asledzik@ae.katowice.pl) Received: from sulu.ae.katowice.pl (localhost [127.0.0.1]) by sulu.ae.katowice.pl (8.13.0/8.12.11) with ESMTP id i8DC1fhP186041 for ; Mon, 13 Sep 2004 14:01:42 +0200 (CEST) Received: from localhost (asledzik@localhost)i8DC1doc184588 for ; Mon, 13 Sep 2004 14:01:39 +0200 (CEST) X-Authentication-Warning: sulu.ae.katowice.pl: asledzik owned process doing -bs Date: Mon, 13 Sep 2004 14:01:39 +0200 (CEST) From: Joanna Sledzik To: freebsd-hackers@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: struct proc - basic question X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Sep 2004 12:01:43 -0000 Hi :) I'm very very begginer in Unix system programming. What function should I use to catch the struct proc for some process? Is it possible to get the pointer to struct proc using for example the pid_t pid as an argument? Thanks for help Joanna Sledzik