Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ nl_conv(3C) — HP-UX 7.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

conv(3C)

nl_init(3C)

hpnls(5)

lang(5)

NL_CONV(3C)

NAME

nl_toupper, nl_tolower − translate characters for use with NLS

SYNOPSIS

int nl_toupper (c, langid)
int c, langid;

int nl_tolower (c, langid)
int c, langid;

DESCRIPTION

These routines are extensions of their counterparts in conv(3C).  They function in the same way, but have a langid parameter (see lang(5)) whose value represents a supported language.  If langid is not valid, or if the NLS environment corresponding to langid is not available, ­"n-computer", the default NLS environment associated with langinit(3C), is used (see nl_init(3C)). 

WARNINGS

These routines are provided for historical reasons only.  Use of the routines in conv(3C), which now provide for international support via setlocale(3C), is recommended.

Nl_toupper and nl_tolower effectively call langinit to load the NLS environment according to the language specified by langid.

AUTHOR

Nl_conv was developed by the Hewlett-Packard Company. 

SEE ALSO

conv(3C), nl_init(3C), hpnls(5), lang(5). 

EXTERNAL INFLUENCES

Locale

The LC_CTYPE category determines the translations to be done. 

International Code Set Support

Single-byte character code sets are supported. 

Hewlett-Packard Company  —  HP-UX Release 7.0: Sept 1989

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