Re: getifaddrs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Sep 02, 2003 at 07:45:35PM +0200, mato wrote:
|
|Hi,
|
|
|you can try this command:
|    grep  -r \\\"getifaddrs\\\" /usr/src/linux
|Sorry, this command is ok. (no get -r ....) but grep -r ....  


When you search for "something" in a source kernel tree 
its find to use the following:

find /usr/src/linux-`uname -r`/ -name \*.[ch] -exec grep -nH "something" {} \;

this one avoid to grep a binary file.....

..even if i prefer ctags.

Hope helps



-- 



Daniele.


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux