where `tolower` is implemented when `__OPTIMIZE__` macro is off?

Paul Pluzhnikov ppluzhnikov@google.com
Sat Oct 1 06:24:00 GMT 2016


On Fri, Sep 30, 2016 at 11:15 PM, Alex Yursha <alexyursha@gmail.com> wrote:

> I'm looking for the place where `tolower` function is defined in glibc.

Look in ctype/ctype.c:

int
tolower (int c)
{
  return c >= -128 && c < 256 ? __ctype_tolower[c] : c;
}



-- 
Paul Pluzhnikov



More information about the Libc-help mailing list