Print this page
2964 need POSIX 2008 locale object support (more C++ fixes)


 138 #define YESEXPR         56      /* affirmative response expression */
 139 #define NOEXPR          57      /* negative response expression */
 140 #define _DATE_FMT       58      /* strftime format for date(1) */
 141 
 142 #if defined(__EXTENSIONS__) || !defined(_XOPEN_SOURCE)
 143 #define MAXSTRMSG       58 /* Maximum number of strings in langinfo */
 144 #endif /* defined(__EXTENSIONS__) || !defined(_XOPEN_SOURCE) */
 145 
 146 /*
 147  * and the definitions of functions langinfo(3C)
 148  */
 149 #if defined(__STDC__)
 150 char   *nl_langinfo(nl_item);   /* get a string from the database       */
 151 #else
 152 char   *nl_langinfo();          /* get a string from the database       */
 153 #endif
 154 
 155 #if defined(_XPG7) || !defined(_STRICT_SYMBOLS)
 156 #ifndef _LOCALE_T
 157 #define _LOCALE_T
 158 typedef struct locale *locale_t;
 159 #endif
 160 
 161 #if defined(__STDC__)
 162 char    *nl_langinfo_l(nl_item, locale_t);
 163 #else
 164 char    *nl_langinfo_l();
 165 #endif
 166 #endif
 167 
 168 #ifdef  __cplusplus
 169 }
 170 #endif
 171 
 172 #endif  /* _LANGINFO_H */


 138 #define YESEXPR         56      /* affirmative response expression */
 139 #define NOEXPR          57      /* negative response expression */
 140 #define _DATE_FMT       58      /* strftime format for date(1) */
 141 
 142 #if defined(__EXTENSIONS__) || !defined(_XOPEN_SOURCE)
 143 #define MAXSTRMSG       58 /* Maximum number of strings in langinfo */
 144 #endif /* defined(__EXTENSIONS__) || !defined(_XOPEN_SOURCE) */
 145 
 146 /*
 147  * and the definitions of functions langinfo(3C)
 148  */
 149 #if defined(__STDC__)
 150 char   *nl_langinfo(nl_item);   /* get a string from the database       */
 151 #else
 152 char   *nl_langinfo();          /* get a string from the database       */
 153 #endif
 154 
 155 #if defined(_XPG7) || !defined(_STRICT_SYMBOLS)
 156 #ifndef _LOCALE_T
 157 #define _LOCALE_T
 158 typedef struct _locale *locale_t;
 159 #endif
 160 
 161 #if defined(__STDC__)
 162 char    *nl_langinfo_l(nl_item, locale_t);
 163 #else
 164 char    *nl_langinfo_l();
 165 #endif
 166 #endif
 167 
 168 #ifdef  __cplusplus
 169 }
 170 #endif
 171 
 172 #endif  /* _LANGINFO_H */