Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ NLgetctab(3) — AIX PS/2 1.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

NCcollate, NCcoluniq, NCeqvmap, _NCxcol, _NLxcol

environment

setlocale

ctab



NLGETCTAB(3,L)              AIX Technical Reference              NLGETCTAB(3,L)



-------------------------------------------------------------------------------
NLgetctab



PURPOSE

Finds and maps character collating and classification tables to code points.

LIBRARY

Standard C Library (libc.a)

SYNTAX

void NLgetctab (ctfile)
char *ctfile;

DESCRIPTION

In the multibyte environment, the NLgetctab subroutine is a front-end to
setlocale.  If the variable NLCTAB is not defined and the parameter passed to
it is a NULL pointer, then NLgetctab sets the locale to the default C locale;
otherwise, NLgetctab passes the parameter to setlocale and behaves as if
setlocale (LC_ALL, ctfile) were executed (see "setlocale").

RETURN VALUE

When NLgetctab succeeds, 0 is returned, otherwise -1 is returned.

RELATED INFORMATION

In this book:  "NCcollate, NCcoluniq, NCeqvmap, _NCxcol, _NLxcol,"
"environment," and "setlocale."

The ctab command in AIX Operating System Commands Reference.

"Introduction to International Character Support" in Managing the AIX Operating
System.

AIX Guide to Multibyte Character Set (MBCS) Support.














Processed November 7, 1990      NLGETCTAB(3,L)                                1



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