On 5/2/2015 4:49 PM, Richard Hipp wrote:
> On 5/2/15, Andy Goth <andrew.m.g...@gmail.com> wrote:
>> I have a hard time locating where functions are defined, as opposed to
>> where they are prototyped or used.  Yeah I know I could use ctags or
>> such, but I prefer simple greps when possible.
>
> You could use "grep '^[a-z].*content_get' *.c" to find the
> implementation.  Function definitions will always begin with an
> typename at the left margin, where as calls to the function will be be
> on a line that starts with whitespace.

True, thanks for the tip.

-- 
Andy Goth | <andrew.m.goth/at/gmail/dot/com>

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
fossil-dev mailing list
fossil-dev@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/fossil-dev

Reply via email to