Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ locale(5) — bsd — Apollo Domain/OS SR10.4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

localeconv(3)

setlocale(3)

LOCALE(5)                            BSD                             LOCALE(5)



NAME
     locale - header file for locale subroutines

SYNOPSIS
     #include <locale.h>

DESCRIPTION
     The locale.h header file defines several macros, a data structure, and
     the functions setlocale(3) and localeconv(3).

     The following macros are defined:

     LC_ALL
          Selects entire locale.

     LC_COLLATE
          Selects collation portion of locale

     LC_CTYPE
          Selects character type portion of locale

     LC_MONETARY
          Selects monetary portion of locale

     LC_NUMERIC
          Selects numeric (non-monetary) portion of locale

     LC_TIME
          Selects time portion of locale

     The lconv structure is defined as follows:

     struct lconv {
         char    *int_curr_symbol;      /* international currency sym. */
         char    *currency_symbol;      /* (local) currency sym. */
         char    *mon_decimal_point;    /* monetary decimal point */
         char    *mon_thousands_sep;    /* monetary thousands separator */
         char    *mon_grouping;         /* monetary grouping */
         char    *positive_sign;        /* positive sign */
         char    *negative_sign;        /* negative sign */
         char    int_frac_digits;       /* international fractional digits */
         char    frac_digits;           /* fractional digits */
         char    p_cs_precedes;         /* pos. currency sym. preceeds */
         char    p_sep_by_space;        /* pos. currency sym. sep. by space */
         char    p_sign_posn;           /* pos. sign position */
         char    n_cs_precedes;         /* neg. currency sym. preceeds */
         char    n_sep_by_space;        /* neg. currency sym. sep. by space */
         char    n_sign_posn;           /* neg. sign position */
         char    *decimal_point;        /* decimal point (aka RADIXCHAR) */
         char    *thousands_sep;        /* thousands separator */
         char    *grouping;             /* grouping */
     };

FILES
     /usr/include/locale.h

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

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