Re: struct proc - basic question

2004-09-13 Thread Sam Lawrance
On Mon, 2004-09-13 at 22:51, Peter Pentchev wrote: > On Mon, Sep 13, 2004 at 10:30:31PM +1000, Sam Lawrance wrote: > > On Mon, 2004-09-13 at 22:01, Joanna Sledzik wrote: > > > Hi :) > > > I'm very very begginer in Unix system programming. > > > What function should I use to catch the struct proc fo

Re: struct proc - basic question

2004-09-13 Thread Peter Pentchev
On Mon, Sep 13, 2004 at 02:01:39PM +0200, Joanna Sledzik wrote: > 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?

Re: struct proc - basic question

2004-09-13 Thread Peter Pentchev
On Mon, Sep 13, 2004 at 10:30:31PM +1000, Sam Lawrance wrote: > On Mon, 2004-09-13 at 22:01, Joanna Sledzik wrote: > > 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 stru

Re: struct proc - basic question

2004-09-13 Thread Sam Lawrance
On Mon, 2004-09-13 at 22:01, Joanna Sledzik wrote: > 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? >From userlan

struct proc - basic question

2004-09-13 Thread Joanna Sledzik
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 ___