3 <<islower>>, <<islower_l>>---lowercase character predicate
13 int islower(int <[c]>);
16 int islower_l(int <[c]>, locale_t <[locale]>);
19 <<islower>> is a macro which classifies singlebyte charset values by table
20 lookup. It is a predicate returning non-zero for minuscules
21 (lowercase alphabetic characters), and 0 for other characters.
22 It is defined only if <[c]> is representable as an unsigned char or if
25 <<islower_l>> is like <<islower>> but performs the check based on the
26 locale specified by the locale object locale. If <[locale]> is
27 LC_GLOBAL_LOCALE or not a valid locale object, the behaviour is undefined.
29 You can use a compiled subroutine instead of the macro definition by
30 undefining the macro using `<<#undef islower>>' or `<<#undef islower_l>>'.
33 <<islower>>, <<islower_l>> return non-zero if <[c]> is a lowercase letter.
36 <<islower>> is ANSI C.
37 <<islower_l>> is POSIX-1.2008.
39 No supporting OS subroutines are required.
48 return ((__CTYPE_PTR
[c
+1] & (_U
|_L
)) == _L
);