From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 16 07:09:23 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E7648106564A for ; Fri, 16 Mar 2012 07:09:23 +0000 (UTC) (envelope-from kotasaikrishna28@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 07BD48FC0A for ; Fri, 16 Mar 2012 07:09:22 +0000 (UTC) Received: by wern13 with SMTP id n13so4724418wer.13 for ; Fri, 16 Mar 2012 00:09:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=sYre16eNaJomB9bwJ21kz4bJlVvfUTvUotG5RFFBcgA=; b=drUH74K20xezsTao8RR5EQ0O7SjhWOahcwQHj6vWDPwBA7ICjY4jY0JH90ZzysqB/r ve7waTkJj5HxJFrriDukztxMxjZAJdGXEe7DHAunzMeyuxhWFD+mSMWpKoiqeNpiU+yE VN4Rs65fppKZvVrnNcqRRZJnb5H8AzC09QZiaQFj8PiiakQ9yVRN8FjPPPpYcWPk0eKZ prmaHZwz4g3BTcGrwfIuDM15bNzx4pAoNjdxyNiEU/U/WmDUN1qaOaAL5GSoC2uT1Nfh oLvWNoEEuxV0g2jLZJEgpr4ZSGwczDFDEHHFS4Tu+qkeITgq/s2PLiPuQQ9PjjyH7AEK WlAg== MIME-Version: 1.0 Received: by 10.180.100.2 with SMTP id eu2mr3901984wib.1.1331881756262; Fri, 16 Mar 2012 00:09:16 -0700 (PDT) Received: by 10.223.114.73 with HTTP; Fri, 16 Mar 2012 00:09:16 -0700 (PDT) Date: Fri, 16 Mar 2012 12:39:16 +0530 Message-ID: From: kota saikrishna To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: How to use pfind in freeBSD X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Mar 2012 07:09:24 -0000 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?