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: Alex Yursha <alexyursha at gmail dot com>
- To: libc-help at sourceware dot org
- Date: Fri, 30 Sep 2016 23:15:02 -0700
- Subject: Re: where `tolower` is implemented when `__OPTIMIZE__` macro is off?
- Authentication-results: sourceware.org; auth=none
- References: <CACWrwPEYNiM-_+Suws847e3ixnePB0Yx5HfqTA6NKUuCi_Cx9Q@mail.gmail.com>
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