Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ nl_ctype(3C) — HP-UX 5.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ctype(3C)

stdio(3S)

ascii(5)

hpnls(5)

kana8(5)

roman8(5)

NL_CTYPE(3C)  —  HP-UX

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;

. . . 

DESCRIPTION

These routines classify character-coded integer values by table lookup.  Langid is as defined in langid(5).  Each is a predicate returning nonzero 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. 

AUTHOR

Nl_ctype was developed by the Hewlett-Packard Company. 

SEE ALSO

ctype(3C), stdio(3S), ascii(5), hpnls(5) kana8(5), roman8(5). 

INTERNATIONAL SUPPORT

8-bit data

Hewlett-Packard Company  —  Version B.1,  May 11, 2021

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026