digittoint_l,
isalnum_l, isalpha_l,
isblank_l, iscntrl_l,
isdigit_l, isgraph_l,
ishexnumber_l, isideogram_l,
islower_l, isnumber_l,
isphonogram_l, isprint_l,
ispunct_l, isrune_l,
isspace_l, isspecial_l,
isupper_l, isxdigit_l,
tolower_l, toupper_l
— character classification functions
Standard C Library (libc, -lc)
#include
<ctype.h>
int
digittoint_l(int
c, locale_t
loc);
int
isalnum_l(int
c, locale_t
loc);
int
isalpha_l(int
c, locale_t
loc);
int
iscntrl_l(int
c, locale_t
loc);
int
isdigit_l(int
c, locale_t
loc);
int
isgraph_l(int
c, locale_t
loc);
int
ishexnumber_l(int
c, locale_t
loc);
int
isideogram_l(int
c, locale_t
loc);
int
islower_l(int
c, locale_t
loc);
int
isnumber_l(int
c, locale_t
loc);
int
isphonogram_l(int
c, locale_t
loc);
int
isspecial_l(int
c, locale_t
loc);
int
isprint_l(int
c, locale_t
loc);
int
ispunct_l(int
c, locale_t
loc);
int
isrune_l(int
c, locale_t
loc);
int
isspace_l(int
c, locale_t
loc);
int
isupper_l(int
c, locale_t
loc);
int
isxdigit_l(int
c, locale_t
loc);
int
tolower_l(int
c, locale_t
loc);
int
toupper_l(int
c, locale_t
loc);
The above functions perform character tests and conversions on the
integer c in the locale loc.
They behave in the same way as the versions without the _l suffix, but use
the specified locale rather than the global or per-thread locale.
<ctype.h>, or as true
functions in the C library. See the specific manual pages for more
information.
digittoint_l(3),
isalnum_l(3),
isalpha_l(3),
isblank_l(3),
iscntrl_l(3),
isdigit_l(3),
isgraph_l(3),
isideogram_l(3),
islower_l(3),
isphonogram_l(3),
isprint_l(3),
ispunct_l(3),
isrune_l(3),
isspace_l(3),
isspecial_l(3),
isupper_l(3),
isxdigit_l(3),
tolower_l(3),
toupper_l(3),
wctype_l(3),
xlocale_l(3)
These functions conform to IEEE Std 1003.1-2008
(“POSIX.1”), except for
digittoint_l(),
ishexnumber_l(),
isideogram_l(),
isnumber_l(),
isphonogram_l(), isrune_l()
and isspecial_l() which are
FreeBSD extensions.