On 3/16/2012 08:09, kota saikrishna wrote:
> I need to get process data structure using a pid. I found the pfind
> function which returns struct proc *   but when i tried to use pfind
> function it is showing ---undefined reference to `pfind'
> Can any one suggest how to use pfind() function?

>From userland, see kvm_openfiles(3) and kvm_getprocs(3).

-- 
Mel
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to