Changeset 2163 for trunk


Ignore:
Timestamp:
Jul 3, 2005, 2:40:38 AM (20 years ago)
Author:
bird
Message:

o Fixed serveral bugs in the C/POSIX locale
o Implemented the LC_MESSAGES locale.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/include/InnoTekLIBC/locale.h

    • Property cvs2svn:cvs-rev changed from 1.4 to 1.5
    r2162 r2163  
    214214
    215215
     216/**
     217 * Message locale information.
     218 * The content is available thru the nl_langinfo() interface only.
     219 */
     220typedef struct __libc_localeMsg
     221{
     222    /** YESEXPR */
     223    char           *pszYesExpr;
     224    /** NOEXPR */
     225    char           *pszNoExpr;
     226    /** YESSTR */
     227    char           *pszYesStr;
     228    /** NOSTR */
     229    char           *pszNoStr;
     230    /** Indicates that all members are readonly const strings. */
     231    int             fConsts;
     232} __LIBC_LOCALEMSG;
     233/** Pointer to the message locale information. */
     234typedef __LIBC_LOCALEMSG *__LIBC_PLOCALEMSG;
     235
     236
    216237/** String collation information. */
    217238extern __LIBC_LOCALECOLLATE         __libc_gLocaleCollate;
     
    224245/** Locale information structure. */
    225246extern __LIBC_LOCALELCONV           __libc_gLocaleLconv;
     247/* Locale information structure for the 'C'/'POSIX' locale. */
     248extern const __LIBC_LOCALELCONV     __libc_gLocaleLconvDefault;
    226249/** Date / time formatting rules. */
    227250extern __LIBC_LOCALETIME            __libc_gLocaleTime;
     251/** Date / time formatting rules for the 'C'/'POSIX' locale. */
     252extern const __LIBC_LOCALETIME      __libc_gLocaleTimeDefault;
     253/** Message locale information. */
     254extern __LIBC_LOCALEMSG            __libc_gLocaleMsg;
     255/** Message locale information for the 'C'/'POSIX' locale. */
     256extern const __LIBC_LOCALEMSG      __libc_gLocaleMsgDefault;
    228257
    229258/** Macros to lock the different locale structures.
Note: See TracChangeset for help on using the changeset viewer.