| Last change
 on this file since 2018 was             1705, checked in by bird, 21 years ago | 
        
          | 
wide-char and other locale stuff.
 | 
        
          | 
              
Property                 cvs2svn:cvs-rev
 set to                 1.1
Property                 svn:eol-style
 set to                 native
Property                 svn:executable
 set to                 *
Property                 svn:keywords
 set to                 Author Date Id Revision | 
        
          | File size:
            1.8 KB | 
      
      
| Line |  | 
|---|
| 1 | /* ulsitem.h,v 1.3 2004/09/14 22:27:36 bird Exp */ | 
|---|
| 2 | /** @file | 
|---|
| 3 | * IGCC. | 
|---|
| 4 | */ | 
|---|
| 5 | /* | 
|---|
| 6 | * Based on header written by Andrew Zabolotny <bit@eltech.ru> | 
|---|
| 7 | * See ulsitem.h for further info. | 
|---|
| 8 | */ | 
|---|
| 9 |  | 
|---|
| 10 | #ifndef _LANGINFO_H_ | 
|---|
| 11 | #define _LANGINFO_H_ | 
|---|
| 12 |  | 
|---|
| 13 | #include <sys/cdefs.h> | 
|---|
| 14 | #include <sys/_types.h> | 
|---|
| 15 |  | 
|---|
| 16 | #ifndef _NL_ITEM_DECLARED | 
|---|
| 17 | typedef __nl_item       nl_item; | 
|---|
| 18 | #define _NL_ITEM_DECLARED | 
|---|
| 19 | #endif | 
|---|
| 20 |  | 
|---|
| 21 | /* The following constans are a replica of the ones in ulsitem.h | 
|---|
| 22 | They *must* be defined exactly the same way to keep the compiler quiet. */ | 
|---|
| 23 |  | 
|---|
| 24 | #define D_T_FMT         1 | 
|---|
| 25 | #define D_FMT           2 | 
|---|
| 26 | #define T_FMT           3 | 
|---|
| 27 | #define AM_STR          4 | 
|---|
| 28 | #define PM_STR          5 | 
|---|
| 29 |  | 
|---|
| 30 | #define ABDAY_1         6 | 
|---|
| 31 | #define ABDAY_2         7 | 
|---|
| 32 | #define ABDAY_3         8 | 
|---|
| 33 | #define ABDAY_4         9 | 
|---|
| 34 | #define ABDAY_5         10 | 
|---|
| 35 | #define ABDAY_6         11 | 
|---|
| 36 | #define ABDAY_7         12 | 
|---|
| 37 |  | 
|---|
| 38 | #define DAY_1           13 | 
|---|
| 39 | #define DAY_2           14 | 
|---|
| 40 | #define DAY_3           15 | 
|---|
| 41 | #define DAY_4           16 | 
|---|
| 42 | #define DAY_5           17 | 
|---|
| 43 | #define DAY_6           18 | 
|---|
| 44 | #define DAY_7           19 | 
|---|
| 45 |  | 
|---|
| 46 | #define ABMON_1         20 | 
|---|
| 47 | #define ABMON_2         21 | 
|---|
| 48 | #define ABMON_3         22 | 
|---|
| 49 | #define ABMON_4         23 | 
|---|
| 50 | #define ABMON_5         24 | 
|---|
| 51 | #define ABMON_6         25 | 
|---|
| 52 | #define ABMON_7         26 | 
|---|
| 53 | #define ABMON_8         27 | 
|---|
| 54 | #define ABMON_9         28 | 
|---|
| 55 | #define ABMON_10        29 | 
|---|
| 56 | #define ABMON_11        30 | 
|---|
| 57 | #define ABMON_12        31 | 
|---|
| 58 |  | 
|---|
| 59 | #define MON_1           32 | 
|---|
| 60 | #define MON_2           33 | 
|---|
| 61 | #define MON_3           34 | 
|---|
| 62 | #define MON_4           35 | 
|---|
| 63 | #define MON_5           36 | 
|---|
| 64 | #define MON_6           37 | 
|---|
| 65 | #define MON_7           38 | 
|---|
| 66 | #define MON_8           39 | 
|---|
| 67 | #define MON_9           40 | 
|---|
| 68 | #define MON_10          41 | 
|---|
| 69 | #define MON_11          42 | 
|---|
| 70 | #define MON_12          43 | 
|---|
| 71 |  | 
|---|
| 72 | #define RADIXCHAR       44 | 
|---|
| 73 | #define THOUSEP         45 | 
|---|
| 74 | #if __BSD_VISIBLE || __XSI_VISIBLE <= 500 | 
|---|
| 75 | #define YESSTR          46 | 
|---|
| 76 | #define NOSTR           47 | 
|---|
| 77 | #endif | 
|---|
| 78 | #define CRNCYSTR        48 | 
|---|
| 79 | #define CODESET         49 | 
|---|
| 80 |  | 
|---|
| 81 | /* Additional constants defined in XPG4 */ | 
|---|
| 82 |  | 
|---|
| 83 | #define T_FMT_AMPM      55 | 
|---|
| 84 | #define ERA             56 | 
|---|
| 85 | #define ERA_D_FMT       57 | 
|---|
| 86 | #define ERA_D_T_FMT     58 | 
|---|
| 87 | #define ERA_T_FMT       59 | 
|---|
| 88 | #define ALT_DIGITS      60 | 
|---|
| 89 | #define YESEXPR         61 | 
|---|
| 90 | #define NOEXPR          62 | 
|---|
| 91 |  | 
|---|
| 92 | /* LSA feature */ | 
|---|
| 93 | #define DATESEP         63 | 
|---|
| 94 | #define TIMESEP         64 | 
|---|
| 95 | #define LISTSEP         65 | 
|---|
| 96 |  | 
|---|
| 97 | __BEGIN_DECLS | 
|---|
| 98 | char *nl_langinfo(nl_item); | 
|---|
| 99 | __END_DECLS | 
|---|
| 100 |  | 
|---|
| 101 | #endif /* !_LANGINFO_H_ */ | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.