Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ locale(5) — Reliant UNIX 5.44c4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

localeconv(3C)

setlocale(3C)

locale(5)                                                         locale(5)

NAME
     locale - category macros

SYNOPSIS
     #include <locale.h>

DESCRIPTION
     The <locale.h> header provides a definition for structure lconv, which
     includes at least the following members:

     char   *currencysymbol
     char   *decimalpoint
     char    fracdigits
     char   *grouping
     char   *intcurrsymbol
     char    intfracdigits
     char   *mondecimalpoint
     char   *mongrouping
     char   *monthousandssep
     char   *negativesign
     char    ncsprecedes
     char    nsepbyspace
     char    nsignposn
     char   *positivesign
     char    pcsprecedes
     char    psepbyspace
     char    psignposn
     char   *thousandssep

     The <locale.h> header defines NULL (as defined in <stddef.h>) and at
     least the following as macros:

     LCALL
     LCCOLLATE
     LCCTYPE
     LCMESSAGES
     LCMONETARY
     LCNUMERIC
     LCTIME

     which expand to distinct integral-constant expressions, for use as the
     first argument to the setlocale() function.

     Additional macro definitions, beginning with the characters LC_ and an
     upper-case letter, may also be given here.

     The following are declared as functions and may also be defined as
     macros:

     struct lconv *localeconv (void);
     char setlocale(int category, const char *locale);




Page 1                       Reliant UNIX 5.44                Printed 11/98

locale(5)                                                         locale(5)

SEE ALSO
     localeconv(3C), setlocale(3C).




















































Page 2                       Reliant UNIX 5.44                Printed 11/98

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