Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

isalnum()

isalpha()

isascii() XSI

isblank()

iscntrl()

isdigit()

isgraph()

islower()

isprint()

ispunct()

isspace()

isupper()

isxdigit()

toascii() XSI

toupper()

tolower()

Wiki MarkupNote: XSI denotes an X/Open System Interfaces Extension to \ [ISO/IEC 9945\] -- POSIX ^®^. The functions are not defined by – POSIX ®. The functions are not defined by C99.

Rule STR34-C. Cast characters to unsigned char before converting to larger integer sizes is a generalization of this rule.

...

MITRE CWE: CWE-686, "Function Call With Incorrect Argument Type"

Bibliography

...

\[[Kettlewell 2002|AA. Bibliography#Kettle 02]\] Section 1.1, "<{{ctype.h}}> And Characters Types"

...

STR36-C. Do not specify the bound of a character array initialized with a string literal      07. Characters and Strings (STR)      STR38-C. Do not use wide-char functions on narrow-char strings and vice versa