* Marc Tardif <[EMAIL PROTECTED]> [000929 13:37] wrote:
> How can I find the source to specific functions in /usr/src/sys? I tried
> running ctags (find /usr/src/sys/ -type f -print | xargs ctags -w), but it
> dumps core because it can't accept so many args. I then tried creating a
> tags file for each subdirectory like so:
> for i in /usr/src/sys/
> do
>   if test -d $i
>   then
>     cd $i
>     find ./ -type f -print | xargs ctags -w
>     cd ..
>   fi
> done
> 
> But that didn't work either. Any suggestions to make browsing the source
> code easier?

Sorta lame but:

cd /usr/src/sys
grep ^function */*
works for me.

of course there's a bunch of stuff in ports/textproc and devel that
may also help.  cscope and glimpse are nice.

-- 
-Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]]
"I have the heart of a child; I keep it in a jar on my desk."


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to