Skip to content

ctype h status

chasonr edited this page Dec 1, 2023 · 1 revision

SuSv4 requires the following items in ctype.h:

  • isalnum
  • isalpha
  • isblank
  • iscntrl
  • isdigit
  • isgraph
  • islower
  • isprint
  • ispunct
  • isspace
  • isupper
  • isxdigit
  • tolower
  • toupper
  • isascii (obsolescent)
  • toascii (obsolescent)
  • _toupper
  • _tolower
  • locale_t (missing)
  • isalnum_l (missing)
  • isalpha_l (missing)
  • isblank_l (missing)
  • iscntrl_l (missing)
  • isdigit_l (missing)
  • isgraph_l (missing)
  • islower_l (missing)
  • isprint_l (missing)
  • ispunct_l (missing)
  • isspace_l (missing)
  • isupper_l (missing)
  • isxdigit_l (missing)
  • tolower_l (missing)
  • toupper_l (missing)

Macros such as isalnum() do not honor the character set via setlocale(), but respond always as for the "C" locale.

Clone this wiki locally