tolower

From cppreference.com
< c‎ | string‎ | byte
Defined in header <ctype.h>
int tolower( int ch );

Converts the given character to lowercase according to the character conversion rules defined by the currently installed C locale.

In the default "C" locale, the following uppercase letters ABCDEFGHIJKLMNOPQRSTUVWXYZ are replaced with respective lowercase letters abcdefghijklmnopqrstuvwxyz.

Parameters

ch - character to be converted. If the value of ch is not representable as unsigned char and does not equal EOF, the behavior is undefined.

Return value

Lowercase version of ch or unmodified ch if no lowercase version is listed in the current C locale.