This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: where `tolower` is implemented when `__OPTIMIZE__` macro is off?
- From: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>
- To: libc-help at sourceware dot org
- Date: Sun, 2 Oct 2016 10:35:53 -0300
- Subject: Re: where `tolower` is implemented when `__OPTIMIZE__` macro is off?
- Authentication-results: sourceware.org; auth=none
- References: <CACWrwPEYNiM-_+Suws847e3ixnePB0Yx5HfqTA6NKUuCi_Cx9Q@mail.gmail.com> <CACWrwPERzDy3oeDwp-SaivZNLAeweWjOWCfdAF9PpTNhDNr+RQ@mail.gmail.com>
It is on ctype/ctype.c and cscope or any other related tool may help you
in the future.
On 01/10/2016 03:15, Alex Yursha wrote:
> Hi guys,
>
> I'm looking for the place where `tolower` function is defined in
> glibc. In `ctype/ctype.h` file I can see it implemented as a
> function-like macro but that is guarded by `__OPTIMIZE__` macro. What
> happens if __OPTIMIZE__ is not defined? Grepping though the codebase
> did not help.
>
> Kind regards,
> Alex Yursha
>