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 userland, maybe the kvm_* functions will do what you want.
See the kvm, kvm_open and kvm_getprocs manpages.

-Sam

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to