Previous: , Up: Characters   [Contents][Index]


16.2.5 Comparison of character APIs

This table summarizes the API functions available for characters, in POSIX and in Gnulib.

unibyte characterassume C localewide character32-bit wide charactermbchar_t character
== '\0'== '\0'== L'\0'== 0mb_isnul
========mb_equal
isalnumc_isalnumiswalnumc32isalnummb_isalnum
isalphac_isalphaiswalphac32isalphamb_isalpha
isblankc_isblankiswblankc32isblankmb_isblank
iscntrlc_iscntrliswcntrlc32iscntrlmb_iscntrl
isdigitc_isdigitiswdigitc32isdigitmb_isdigit
isgraphc_isgraphiswgraphc32isgraphmb_isgraph
islowerc_isloweriswlowerc32islowermb_islower
isprintc_isprintiswprintc32isprintmb_isprint
ispunctc_ispunctiswpunctc32ispunctmb_ispunct
isspacec_isspaceiswspacec32isspacemb_isspace
isupperc_isupperiswupperc32isuppermb_isupper
isxdigitc_isxdigitiswxdigitc32isxdigitmb_isxdigit
wctypec32_get_type_test
iswctypec32_apply_type_test
tolowerc_tolowertowlowerc32tolower
toupperc_touppertowupperc32toupper
wctransc32_get_mapping
towctransc32_apply_mapping
wcwidthc32widthmb_width