NL_CTYPE(3C)
NAME
nl_isalpha, nl_isupper, nl_islower, nl_isalnum, nl_ispunct, nl_isprint, nl_isgraph − classify characters for use with NLS
SYNOPSIS
#include <nl_ctype.h>
int nl_isalpha (c, langid)
int c; int langid;
. . .
HP-UX COMPATIBILITY
Level: HP-UX/RUN ONLY
Origin: HP
Native Language Support:
8−bit data, customs, messages
DESCRIPTION
These routines classify character-coded integer values by table lookup. Langid is as defined in langid(7). Each is a predicate returning non-zero for true, zero for false. All are defined for the range -1 to 255. If langid is not defined, or if type information for that language is not installed, isalpha, isupper, etc. will be used, returning 0 for values above octal 0200.
nl_isalpha c is a letter.
nl_isupper c is an upper-case letter.
nl_islower c is a lower-case letter.
nl_isalnum c is an alphanumeric (letter or digit).
nl_ispunct c is a punctuation character (neither control nor alphanumeric).
nl_isprint c is a printing character.
nl_isgraph c is a printing character, like nl_isprint except false for space.
DIAGNOSTICS
If the argument to any of these is not in the domain of the function, the result is undefined.
SEE ALSO
ctype(3C), stdio(3S), ascii(7), hpnls(7) kana8(7), roman8(7).
Hewlett-Packard — last mod. May 11, 2021