Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Mar 2012 13:56:04 +0100
From:      Mel Flynn <rflynn@acsalaska.net>
To:        kota saikrishna <kotasaikrishna28@gmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: How to use pfind in freeBSD
Message-ID:  <4F633864.9040305@acsalaska.net>
In-Reply-To: <CAB%2BEr%2B==aBhi5eizXOjDQThi=VD%2B1z%2Bvr4jjos0-FbZg00W=8Q@mail.gmail.com>
References:  <CAB%2BEr%2B==aBhi5eizXOjDQThi=VD%2B1z%2Bvr4jjos0-FbZg00W=8Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F633864.9040305>