struct proc - basic question

From: Joanna Sledzik (asledzik_at_ae.katowice.pl)
Date: 09/13/04

  • Next message: Sam Lawrance: "Re: struct proc - basic question"
    Date: Mon, 13 Sep 2004 14:01:39 +0200 (CEST)
    To: freebsd-hackers@freebsd.org
    
    

    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
    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"


  • Next message: Sam Lawrance: "Re: struct proc - basic question"

    Relevant Pages

    • Re: struct proc - basic question
      ... >> I'm very very begginer in Unix system programming. ... >> What function should I use to catch the struct proc for some process? ... I am jealous of the first word in this sentence. ...
      (freebsd-hackers)
    • Re: struct proc - basic question
      ... On Mon, 2004-09-13 at 22:01, Joanna Sledzik wrote: ... > I'm very very begginer in Unix system programming. ... > What function should I use to catch the struct proc for some process? ...
      (freebsd-hackers)
    • Re: struct proc - basic question
      ... > I'm very very begginer in Unix system programming. ... > What function should I use to catch the struct proc for some process? ... You pass it a pid_t argument and it returns a pointer to a proc ... running in kernel space - it has to be invoked either from a kernel ...
      (freebsd-hackers)
    • Kernel monitor, the return
      ... Ash ... struct proc *p; ... To unsubscribe, ...
      (freebsd-hackers)