Identifying Character Traits.
NLS provides tools to identify the traits of a
character. Non-internationalized versions of these routines have been a part
of the standard C offering for years; however, the enhanced NLS versions can
correctly identify the traits of characters in
supported languages (If the
correct environmental initialization has been successful).
All the routines included in this grouping return a non-zero integer
indicated condition is satisfied. For more information about these routines refer
to ctype(3C) in the HP- UX Reference.
Table 6-12. Character Identification Routines
Is an alphabetic character.
Is an uppercase alphabetic character.
Is a lowercase alphabetic character.
Is a decimal digit.
Is a hexadecimal digit.
Is an alphanumeric character.
Is a tab, new-line, space, or any character that creates
"white space" in displayed text.
Is a punctuation character.
Is a printing character.
Is a character with a visible representation.
Is a control character.
Is a ASCII character.
Developing International Software