Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Mar 1995 08:41:24 +0900
From:      Shigeru IKEDA <si@pickwick.bekkoame.or.jp>
To:        PVinci@ix.netcom.com
Cc:        questions@FreeBSD.org
Subject:   Re: How to search through sources??
Message-ID:  <199503212341.IAA07501@pickwick.bekkoame.or.jp>
In-Reply-To: <199503211845.KAA08738@ix2.ix.netcom.com> "PVinci@ix.netcom.com"

next in thread | previous in thread | raw e-mail | index | archive | help
   Date: Tue, 21 Mar 1995 10:45:40 -0800
   From: PVinci@ix.netcom.com (Paul Vinciguerra)
   Sender: questions-owner@FreeBSD.org
   Precedence: bulk

   How can I search through the sources to find a Procedure?  For example, 
   if I wanted to look at the panic() function.  Is there a tool that will 
   scan the sources?  (P.S. I'm not looking for panic())

   Thanks

   Paul


% find /usr/src/sys -name "*.[hc]" -exec egrep -l 'panic\(' {} \;

--
Shigeru IKEDA <si@pickwick.bekkoame.or.jp> 
http://www.bekkoame.or.jp/~si
PGP public key available upon request.




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