islower
Header: <ctype.h>
Checks if the given character is classified as a lowercase character according to the current C locale. In the default “C” locale, islower returns true only for the lowercase letters (abcdefghijklmnopqrstuvwxyz).
# Declarations
int islower( int ch );
# Parameters
ch: character to classify
# Return value
Non-zero value if the character is a lowercase letter, zero otherwise.
# Example
#include <stdio.h>
#include <ctype.h>
#include <locale.h>
int main(void)
{
unsigned char c = '\xe5'; // letter å in ISO-8859-1
printf("In the default C locale, \\xe5 is %slowercase\n",
islower(c) ? "" : "not " );
setlocale(LC_ALL, "en_GB.iso88591");
printf("In ISO-8859-1 locale, \\xe5 is %slowercase\n",
islower(c) ? "" : "not " );
}