nl_conv(3C)
NAME
nl_toupper(), nl_tolower() − translate characters for use with NLS
SYNOPSIS
#include <nl_ctype.h>
int nl_toupper(int c, int langid);
int nl_tolower(int c, int langid);
DESCRIPTION
nl_toupper() and nl_tolower() are extensions of their counterparts in the conv(3C) manual entry. 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(), is used (see nl_init(3C)).
WARNINGS
These routines are provided for historical reasons only. Use of the alternate functions listed by conv(3C) which 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 HP.
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 9.0: August 1992