Re: how can I find where is the macro or function deifined

2015-07-28 Thread Gnoleba GNOGBO
Can you give a procedure step by step please to answer please ? B. Regards Gnogbo Le 28 juil. 2015 17:41, Navy Cheng nav...@126.com a écrit : On Tue, Jul 28, 2015 at 06:03:16PM +0200, Ahmed Soliman wrote: Hi; when I used libc I never memorized where each function is located beyond the

Re: how can I find where is the macro or function deifined

2015-07-28 Thread Iuro Nascimento
Hi, git grep is very usefull to find stuff in the kernel tree. You can find macros using: git grep -n '#define list_entry(' to find file and line number of the macro list_entry. Regards, Iuro Nascimento On Tue, Jul 28, 2015 at 06:03:16PM +0200, Ahmed Soliman wrote: Hi; when I used libc I

Re: how can I find where is the macro or function deifined

2015-07-28 Thread Valdis . Kletnieks
On Tue, 28 Jul 2015 23:54:36 -, Gnoleba GNOGBO said: Can you give a procedure step by step please to answer please ? http://www.lmgtfy.com/?q=ctags+vim+tutorial http://www.lmgtfy.com/?q=ctags+emacs+tutorial pgpdWdmIZQnYO.pgp Description: PGP signature

how can I find where is the macro or function deifined

2015-07-28 Thread Ahmed Soliman
Hi; when I used libc I never memorized where each function is located beyond the basics (for example I never knew if strlen is in string.h or ctype.h or strlib.h ) I just check out the functions man pages by man strlen is their such functionality for the kernel where I dont need to memorize the

Re: how can I find where is the macro or function deifined

2015-07-28 Thread Navy Cheng
On Tue, Jul 28, 2015 at 08:25:04PM -0400, valdis.kletni...@vt.edu wrote: On Tue, 28 Jul 2015 23:54:36 -, Gnoleba GNOGBO said: Can you give a procedure step by step please to answer please ? http://www.lmgtfy.com/?q=ctags+vim+tutorial http://www.lmgtfy.com/?q=ctags+emacs+tutorial Hi,

Re: how can I find where is the macro or function deifined

2015-07-28 Thread Manavendra Nath Manav
On Tue 28 Jul, 2015 21:41 Ahmed Soliman ahmedsoliman0x...@gmail.com wrote: Hi; when I used libc I never memorized where each function is located beyond the basics (for example I never knew if strlen is in string.h or ctype.h or strlib.h ) I just check out the functions man pages by man strlen is

Re: how can I find where is the macro or function deifined

2015-07-28 Thread Navy Cheng
On Tue, Jul 28, 2015 at 06:03:16PM +0200, Ahmed Soliman wrote: Hi; when I used libc I never memorized where each function is located beyond the basics (for example I never knew if strlen is in string.h or ctype.h or strlib.h ) I just check out the functions man pages by man strlen is their