30 #pragma GCC system_header 34 #if (((defined __need_mbstate_t || defined __need_wint_t) \ 35 && !defined __MINGW32__) \ 37 && ((defined _INTTYPES_INCLUDED && !defined strtoimax) \ 38 || defined _GL_JUST_INCLUDE_SYSTEM_WCHAR_H)) \ 39 || (defined __MINGW32__ && defined __STRING_H_SOURCED__) \ 40 || defined _GL_ALREADY_INCLUDING_WCHAR_H) 55 #include_next <wchar.h> 62 #define _GL_ALREADY_INCLUDING_WCHAR_H 65 # include <features.h> 75 #if !(defined __GLIBC__ && !defined __UCLIBC__) 87 # include_next <wchar.h> 90 #undef _GL_ALREADY_INCLUDING_WCHAR_H 97 #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96) 98 # define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__)) 100 # define _GL_ATTRIBUTE_PURE 120 #ifndef _GL_CXXDEFS_H 121 #define _GL_CXXDEFS_H 124 #if defined __cplusplus && defined GNULIB_NAMESPACE 125 # define _GL_BEGIN_NAMESPACE namespace GNULIB_NAMESPACE { 126 # define _GL_END_NAMESPACE } 128 # define _GL_BEGIN_NAMESPACE 129 # define _GL_END_NAMESPACE 193 #if defined __cplusplus 194 # define _GL_EXTERN_C extern "C" 196 # define _GL_EXTERN_C extern 206 #define _GL_FUNCDECL_RPL(func,rettype,parameters_and_attributes) \ 207 _GL_FUNCDECL_RPL_1 (rpl_##func, rettype, parameters_and_attributes) 208 #define _GL_FUNCDECL_RPL_1(rpl_func,rettype,parameters_and_attributes) \ 209 _GL_EXTERN_C rettype rpl_func parameters_and_attributes 218 #define _GL_FUNCDECL_SYS(func,rettype,parameters_and_attributes) \ 219 _GL_EXTERN_C rettype func parameters_and_attributes 230 #define _GL_CXXALIAS_RPL(func,rettype,parameters) \ 231 _GL_CXXALIAS_RPL_1 (func, rpl_##func, rettype, parameters) 232 #if defined __cplusplus && defined GNULIB_NAMESPACE 233 # define _GL_CXXALIAS_RPL_1(func,rpl_func,rettype,parameters) \ 234 namespace GNULIB_NAMESPACE \ 236 static const struct _gl_ ## func ## _wrapper \ 238 typedef rettype (*type) parameters; \ 240 inline operator type () const \ 246 _GL_EXTERN_C int _gl_cxxalias_dummy 248 # define _GL_CXXALIAS_RPL_1(func,rpl_func,rettype,parameters) \ 249 _GL_EXTERN_C int _gl_cxxalias_dummy 257 #if defined __cplusplus && defined GNULIB_NAMESPACE 258 # define _GL_CXXALIAS_RPL_CAST_1(func,rpl_func,rettype,parameters) \ 259 namespace GNULIB_NAMESPACE \ 261 static const struct _gl_ ## func ## _wrapper \ 263 typedef rettype (*type) parameters; \ 265 inline operator type () const \ 267 return reinterpret_cast<type>(::rpl_func); \ 271 _GL_EXTERN_C int _gl_cxxalias_dummy 273 # define _GL_CXXALIAS_RPL_CAST_1(func,rpl_func,rettype,parameters) \ 274 _GL_EXTERN_C int _gl_cxxalias_dummy 287 #if defined __cplusplus && defined GNULIB_NAMESPACE 288 # define _GL_CXXALIAS_SYS(func,rettype,parameters) \ 289 namespace GNULIB_NAMESPACE \ 291 static const struct _gl_ ## func ## _wrapper \ 293 typedef rettype (*type) parameters; \ 295 inline operator type () const \ 301 _GL_EXTERN_C int _gl_cxxalias_dummy 303 # define _GL_CXXALIAS_SYS(func,rettype,parameters) \ 304 _GL_EXTERN_C int _gl_cxxalias_dummy 312 #if defined __cplusplus && defined GNULIB_NAMESPACE 313 # define _GL_CXXALIAS_SYS_CAST(func,rettype,parameters) \ 314 namespace GNULIB_NAMESPACE \ 316 static const struct _gl_ ## func ## _wrapper \ 318 typedef rettype (*type) parameters; \ 320 inline operator type () const \ 322 return reinterpret_cast<type>(::func); \ 326 _GL_EXTERN_C int _gl_cxxalias_dummy 328 # define _GL_CXXALIAS_SYS_CAST(func,rettype,parameters) \ 329 _GL_EXTERN_C int _gl_cxxalias_dummy 338 #if defined __cplusplus && defined GNULIB_NAMESPACE 344 # define _GL_CXXALIAS_SYS_CAST2(func,rettype,parameters,rettype2,parameters2) \ 345 namespace GNULIB_NAMESPACE \ 347 static const struct _gl_ ## func ## _wrapper \ 349 typedef rettype (*type) parameters; \ 351 inline operator type () const \ 353 return reinterpret_cast<type>((rettype2 (*) parameters2)(::func)); \ 357 _GL_EXTERN_C int _gl_cxxalias_dummy 359 # define _GL_CXXALIAS_SYS_CAST2(func,rettype,parameters,rettype2,parameters2) \ 360 _GL_EXTERN_C int _gl_cxxalias_dummy 367 #if defined __cplusplus && defined GNULIB_NAMESPACE 368 # define _GL_CXXALIASWARN(func) \ 369 _GL_CXXALIASWARN_1 (func, GNULIB_NAMESPACE) 370 # define _GL_CXXALIASWARN_1(func,namespace) \ 371 _GL_CXXALIASWARN_2 (func, namespace) 375 # define _GL_CXXALIASWARN_2(func,namespace) \ 376 _GL_WARN_ON_USE (func, \ 377 "The symbol ::" #func " refers to the system function. " \ 378 "Use " #namespace "::" #func " instead.") 379 # elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING 380 # define _GL_CXXALIASWARN_2(func,namespace) \ 381 extern __typeof__ (func) func 383 # define _GL_CXXALIASWARN_2(func,namespace) \ 384 _GL_EXTERN_C int _gl_cxxalias_dummy 387 # define _GL_CXXALIASWARN(func) \ 388 _GL_EXTERN_C int _gl_cxxalias_dummy 394 #if defined __cplusplus && defined GNULIB_NAMESPACE 395 # define _GL_CXXALIASWARN1(func,rettype,parameters_and_attributes) \ 396 _GL_CXXALIASWARN1_1 (func, rettype, parameters_and_attributes, \ 398 # define _GL_CXXALIASWARN1_1(func,rettype,parameters_and_attributes,namespace) \ 399 _GL_CXXALIASWARN1_2 (func, rettype, parameters_and_attributes, namespace) 403 # define _GL_CXXALIASWARN1_2(func,rettype,parameters_and_attributes,namespace) \ 404 _GL_WARN_ON_USE_CXX (func, rettype, parameters_and_attributes, \ 405 "The symbol ::" #func " refers to the system function. " \ 406 "Use " #namespace "::" #func " instead.") 407 # elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING 408 # define _GL_CXXALIASWARN1_2(func,rettype,parameters_and_attributes,namespace) \ 409 extern __typeof__ (func) func 411 # define _GL_CXXALIASWARN1_2(func,rettype,parameters_and_attributes,namespace) \ 412 _GL_EXTERN_C int _gl_cxxalias_dummy 415 # define _GL_CXXALIASWARN1(func,rettype,parameters_and_attributes) \ 416 _GL_EXTERN_C int _gl_cxxalias_dummy 441 #ifndef _GL_ARG_NONNULL 442 # if (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) || __GNUC__ > 3 443 # define _GL_ARG_NONNULL(params) __attribute__ ((__nonnull__ params)) 445 # define _GL_ARG_NONNULL(params) 513 #ifndef _GL_WARN_ON_USE 515 # if 4 < __GNUC__ || (__GNUC__ == 4 && 3 <= __GNUC_MINOR__) 517 # define _GL_WARN_ON_USE(function, message) \ 518 extern __typeof__ (function) function __attribute__ ((__warning__ (message))) 519 # elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING 521 # define _GL_WARN_ON_USE(function, message) \ 522 extern __typeof__ (function) function 524 # define _GL_WARN_ON_USE(function, message) \ 525 _GL_WARN_EXTERN_C int _gl_warn_on_use 535 #ifndef _GL_WARN_ON_USE_CXX 536 # if 4 < __GNUC__ || (__GNUC__ == 4 && 3 <= __GNUC_MINOR__) 537 # define _GL_WARN_ON_USE_CXX(function,rettype,parameters_and_attributes,msg) \ 538 extern rettype function parameters_and_attributes \ 539 __attribute__ ((__warning__ (msg))) 540 # elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING 542 # define _GL_WARN_ON_USE_CXX(function,rettype,parameters_and_attributes,msg) \ 543 extern rettype function parameters_and_attributes 545 # define _GL_WARN_ON_USE_CXX(function,rettype,parameters_and_attributes,msg) \ 546 _GL_WARN_EXTERN_C int _gl_warn_on_use 552 #ifndef _GL_WARN_EXTERN_C 553 # if defined __cplusplus 554 # define _GL_WARN_EXTERN_C extern "C" 556 # define _GL_WARN_EXTERN_C extern 562 #if !1 && !defined wint_t 572 # if !GNULIB_defined_wint_t 574 # include <crtdefs.h> 578 typedef unsigned int rpl_wint_t;
580 # define wint_t rpl_wint_t 581 # define GNULIB_defined_wint_t 1 585 # define WEOF ((wint_t) -1) 594 # if !GNULIB_defined_mbstate_t 597 # define mbstate_t rpl_mbstate_t 598 # define GNULIB_defined_mbstate_t 1 606 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 608 # define btowc rpl_btowc 619 #elif defined GNULIB_POSIXCHECK 621 # if HAVE_RAW_DECL_BTOWC 623 "use gnulib module btowc for portability");
631 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 633 # define wctob rpl_wctob 638 # if !defined wctob && !1 645 #elif defined GNULIB_POSIXCHECK 647 # if HAVE_RAW_DECL_WCTOB 649 "use gnulib module wctob for portability");
657 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 659 # define mbsinit rpl_mbsinit 670 #elif defined GNULIB_POSIXCHECK 672 # if HAVE_RAW_DECL_MBSINIT 674 "use gnulib module mbsinit for portability");
682 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 684 # define mbrtowc rpl_mbrtowc 687 (
wchar_t *pwc,
const char *s,
size_t n,
mbstate_t *ps));
689 (
wchar_t *pwc,
const char *s,
size_t n,
mbstate_t *ps));
693 (
wchar_t *pwc,
const char *s,
size_t n,
mbstate_t *ps));
696 (
wchar_t *pwc,
const char *s,
size_t n,
mbstate_t *ps));
699 #elif defined GNULIB_POSIXCHECK 701 # if HAVE_RAW_DECL_MBRTOWC 703 "use gnulib module mbrtowc for portability");
711 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 713 # define mbrlen rpl_mbrlen 724 #elif defined GNULIB_POSIXCHECK 726 # if HAVE_RAW_DECL_MBRLEN 728 "use gnulib module mbrlen for portability");
736 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 738 # define mbsrtowcs rpl_mbsrtowcs 741 (
wchar_t *dest,
const char **srcp,
size_t len,
mbstate_t *ps)
744 (
wchar_t *dest,
const char **srcp,
size_t len,
749 (
wchar_t *dest,
const char **srcp,
size_t len,
mbstate_t *ps)
753 (
wchar_t *dest,
const char **srcp,
size_t len,
757 #elif defined GNULIB_POSIXCHECK 759 # if HAVE_RAW_DECL_MBSRTOWCS 761 "use gnulib module mbsrtowcs for portability");
769 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 771 # define mbsnrtowcs rpl_mbsnrtowcs 774 (
wchar_t *dest,
const char **srcp,
size_t srclen,
size_t len,
778 (
wchar_t *dest,
const char **srcp,
size_t srclen,
size_t len,
783 (
wchar_t *dest,
const char **srcp,
size_t srclen,
size_t len,
788 (
wchar_t *dest,
const char **srcp,
size_t srclen,
size_t len,
792 #elif defined GNULIB_POSIXCHECK 794 # if HAVE_RAW_DECL_MBSNRTOWCS 796 "use gnulib module mbsnrtowcs for portability");
804 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 806 # define wcrtomb rpl_wcrtomb 817 #elif defined GNULIB_POSIXCHECK 819 # if HAVE_RAW_DECL_WCRTOMB 821 "use gnulib module wcrtomb for portability");
829 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 831 # define wcsrtombs rpl_wcsrtombs 834 (
char *dest,
const wchar_t **srcp,
size_t len,
mbstate_t *ps)
837 (
char *dest,
const wchar_t **srcp,
size_t len,
842 (
char *dest,
const wchar_t **srcp,
size_t len,
mbstate_t *ps)
846 (
char *dest,
const wchar_t **srcp,
size_t len,
850 #elif defined GNULIB_POSIXCHECK 852 # if HAVE_RAW_DECL_WCSRTOMBS 854 "use gnulib module wcsrtombs for portability");
862 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 864 # define wcsnrtombs rpl_wcsnrtombs 867 (
char *dest,
const wchar_t **srcp,
size_t srclen,
size_t len,
871 (
char *dest,
const wchar_t **srcp,
size_t srclen,
size_t len,
876 (
char *dest,
const wchar_t **srcp,
size_t srclen,
size_t len,
881 (
char *dest,
const wchar_t **srcp,
size_t srclen,
size_t len,
885 #elif defined GNULIB_POSIXCHECK 887 # if HAVE_RAW_DECL_WCSNRTOMBS 889 "use gnulib module wcsnrtombs for portability");
897 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 899 # define wcwidth rpl_wcwidth 911 #elif defined GNULIB_POSIXCHECK 913 # if HAVE_RAW_DECL_WCWIDTH 915 "use gnulib module wcwidth for portability");
923 _GL_FUNCDECL_SYS (wmemchr,
wchar_t *, (
const wchar_t *s,
wchar_t c,
size_t n)
932 wchar_t *, (
const wchar_t *,
wchar_t,
size_t),
933 const wchar_t *, (
const wchar_t *,
wchar_t,
size_t));
934 # if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ 935 && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) 938 (
const wchar_t *s,
wchar_t c,
size_t n));
942 #elif defined GNULIB_POSIXCHECK 944 # if HAVE_RAW_DECL_WMEMCHR 946 "use gnulib module wmemchr for portability");
955 (
const wchar_t *s1,
const wchar_t *s2,
size_t n)
959 (
const wchar_t *s1,
const wchar_t *s2,
size_t n));
961 #elif defined GNULIB_POSIXCHECK 963 # if HAVE_RAW_DECL_WMEMCMP 965 "use gnulib module wmemcmp for portability");
974 (
wchar_t *dest,
const wchar_t *src,
size_t n));
977 (
wchar_t *dest,
const wchar_t *src,
size_t n));
979 #elif defined GNULIB_POSIXCHECK 981 # if HAVE_RAW_DECL_WMEMCPY 983 "use gnulib module wmemcpy for portability");
993 (
wchar_t *dest,
const wchar_t *src,
size_t n));
996 (
wchar_t *dest,
const wchar_t *src,
size_t n));
998 #elif defined GNULIB_POSIXCHECK 1000 # if HAVE_RAW_DECL_WMEMMOVE 1002 "use gnulib module wmemmove for portability");
1014 #elif defined GNULIB_POSIXCHECK 1016 # if HAVE_RAW_DECL_WMEMSET 1018 "use gnulib module wmemset for portability");
1030 #elif defined GNULIB_POSIXCHECK 1032 # if HAVE_RAW_DECL_WCSLEN 1034 "use gnulib module wcslen for portability");
1047 #elif defined GNULIB_POSIXCHECK 1049 # if HAVE_RAW_DECL_WCSNLEN 1051 "use gnulib module wcsnlen for portability");
1063 #elif defined GNULIB_POSIXCHECK 1065 # if HAVE_RAW_DECL_WCSCPY 1067 "use gnulib module wcscpy for portability");
1079 #elif defined GNULIB_POSIXCHECK 1081 # if HAVE_RAW_DECL_WCPCPY 1083 "use gnulib module wcpcpy for portability");
1092 (
wchar_t *dest,
const wchar_t *src,
size_t n));
1095 (
wchar_t *dest,
const wchar_t *src,
size_t n));
1097 #elif defined GNULIB_POSIXCHECK 1099 # if HAVE_RAW_DECL_WCSNCPY 1101 "use gnulib module wcsncpy for portability");
1111 (
wchar_t *dest,
const wchar_t *src,
size_t n));
1114 (
wchar_t *dest,
const wchar_t *src,
size_t n));
1116 #elif defined GNULIB_POSIXCHECK 1118 # if HAVE_RAW_DECL_WCPNCPY 1120 "use gnulib module wcpncpy for portability");
1132 #elif defined GNULIB_POSIXCHECK 1134 # if HAVE_RAW_DECL_WCSCAT 1136 "use gnulib module wcscat for portability");
1145 (
wchar_t *dest,
const wchar_t *src,
size_t n));
1148 (
wchar_t *dest,
const wchar_t *src,
size_t n));
1150 #elif defined GNULIB_POSIXCHECK 1152 # if HAVE_RAW_DECL_WCSNCAT 1154 "use gnulib module wcsncat for portability");
1167 #elif defined GNULIB_POSIXCHECK 1169 # if HAVE_RAW_DECL_WCSCMP 1171 "use gnulib module wcscmp for portability");
1180 (
const wchar_t *s1,
const wchar_t *s2,
size_t n)
1184 (
const wchar_t *s1,
const wchar_t *s2,
size_t n));
1186 #elif defined GNULIB_POSIXCHECK 1188 # if HAVE_RAW_DECL_WCSNCMP 1190 "use gnulib module wcsncmp for portability");
1201 _GL_CXXALIAS_SYS (wcscasecmp,
int, (
const wchar_t *s1,
const wchar_t *s2));
1203 #elif defined GNULIB_POSIXCHECK 1205 # if HAVE_RAW_DECL_WCSCASECMP 1207 "use gnulib module wcscasecmp for portability");
1216 (
const wchar_t *s1,
const wchar_t *s2,
size_t n)
1220 (
const wchar_t *s1,
const wchar_t *s2,
size_t n));
1222 #elif defined GNULIB_POSIXCHECK 1224 # if HAVE_RAW_DECL_WCSNCASECMP 1226 "use gnulib module wcsncasecmp for portability");
1239 #elif defined GNULIB_POSIXCHECK 1241 # if HAVE_RAW_DECL_WCSCOLL 1243 "use gnulib module wcscoll for portability");
1253 _GL_FUNCDECL_SYS (wcsxfrm,
size_t, (
wchar_t *s1,
const wchar_t *s2,
size_t n));
1255 _GL_CXXALIAS_SYS (wcsxfrm,
size_t, (
wchar_t *s1,
const wchar_t *s2,
size_t n));
1257 #elif defined GNULIB_POSIXCHECK 1259 # if HAVE_RAW_DECL_WCSXFRM 1261 "use gnulib module wcsxfrm for portability");
1273 #elif defined GNULIB_POSIXCHECK 1275 # if HAVE_RAW_DECL_WCSDUP 1277 "use gnulib module wcsdup for portability");
1294 wchar_t *, (
const wchar_t *,
wchar_t),
1295 const wchar_t *, (
const wchar_t *,
wchar_t));
1296 # if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ 1297 && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) 1303 #elif defined GNULIB_POSIXCHECK 1305 # if HAVE_RAW_DECL_WCSCHR 1307 "use gnulib module wcschr for portability");
1324 wchar_t *, (
const wchar_t *,
wchar_t),
1325 const wchar_t *, (
const wchar_t *,
wchar_t));
1326 # if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ 1327 && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) 1333 #elif defined GNULIB_POSIXCHECK 1335 # if HAVE_RAW_DECL_WCSRCHR 1337 "use gnulib module wcsrchr for portability");
1346 _GL_FUNCDECL_SYS (wcscspn,
size_t, (
const wchar_t *wcs,
const wchar_t *reject)
1349 _GL_CXXALIAS_SYS (wcscspn,
size_t, (
const wchar_t *wcs,
const wchar_t *reject));
1351 #elif defined GNULIB_POSIXCHECK 1353 # if HAVE_RAW_DECL_WCSCSPN 1355 "use gnulib module wcscspn for portability");
1364 _GL_FUNCDECL_SYS (wcsspn,
size_t, (
const wchar_t *wcs,
const wchar_t *accept)
1367 _GL_CXXALIAS_SYS (wcsspn,
size_t, (
const wchar_t *wcs,
const wchar_t *accept));
1369 #elif defined GNULIB_POSIXCHECK 1371 # if HAVE_RAW_DECL_WCSSPN 1373 "use gnulib module wcsspn for portability");
1382 (
const wchar_t *wcs,
const wchar_t *accept)
1391 wchar_t *, (
const wchar_t *,
const wchar_t *),
1392 const wchar_t *, (
const wchar_t *,
const wchar_t *));
1393 # if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ 1394 && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) 1396 (
wchar_t *wcs,
const wchar_t *accept));
1398 (
const wchar_t *wcs,
const wchar_t *accept));
1402 #elif defined GNULIB_POSIXCHECK 1404 # if HAVE_RAW_DECL_WCSPBRK 1406 "use gnulib module wcspbrk for portability");
1415 (
const wchar_t *haystack,
const wchar_t *needle)
1424 wchar_t *, (
const wchar_t *,
const wchar_t *),
1425 const wchar_t *, (
const wchar_t *,
const wchar_t *));
1426 # if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ 1427 && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) 1429 (
wchar_t *haystack,
const wchar_t *needle));
1431 (
const wchar_t *haystack,
const wchar_t *needle));
1435 #elif defined GNULIB_POSIXCHECK 1437 # if HAVE_RAW_DECL_WCSSTR 1439 "use gnulib module wcsstr for portability");
1448 (
wchar_t *wcs,
const wchar_t *delim,
wchar_t **ptr));
1451 (
wchar_t *wcs,
const wchar_t *delim,
wchar_t **ptr));
1453 #elif defined GNULIB_POSIXCHECK 1455 # if HAVE_RAW_DECL_WCSTOK 1457 "use gnulib module wcstok for portability");
1466 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 1468 # define wcswidth rpl_wcswidth 1481 #elif defined GNULIB_POSIXCHECK 1483 # if HAVE_RAW_DECL_WCSWIDTH 1485 "use gnulib module wcswidth for portability");
1494 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 1496 # define wcsftime rpl_wcsftime 1499 const wchar_t *__fmt,
const struct tm *__tp)
1502 const wchar_t *__fmt,
const struct tm *__tp));
1506 const wchar_t *__fmt,
const struct tm *__tp)
1510 const wchar_t *__fmt,
const struct tm *__tp));
1513 #elif defined GNULIB_POSIXCHECK 1515 # if HAVE_RAW_DECL_WCSFTIME 1517 "use gnulib module wcsftime for portability");
#define mbstate_t
Definition: wchar.in.h:145
#define _GL_FUNCDECL_SYS(func, rettype, parameters_and_attributes)
Definition: inet.h:168
_GL_CXXALIASWARN(mbsinit)
int rpl_mbstate_t
Definition: wchar.in.h:143
_GL_CXXALIAS_RPL(mbrtowc, size_t,(wchar_t *pwc, const char *s, size_t n, mbstate_t *ps))
#define wint_t
Definition: wchar.in.h:111
#define _GL_CXXALIASWARN1(func, rettype, parameters_and_attributes)
Definition: inet.h:365
int mbsinit(const mbstate_t *ps)
Definition: mbsinit.c:55
_GL_FUNCDECL_RPL(mbrtowc, size_t,(wchar_t *pwc, const char *s, size_t n, mbstate_t *ps))
#define _GL_ATTRIBUTE_PURE
Definition: wchar.h:100
#define _GL_CXXALIAS_SYS_CAST2(func, rettype, parameters, rettype2, parameters2)
Definition: inet.h:309
#define _GL_WARN_ON_USE(function, message)
Definition: inet.h:474
_GL_CXXALIAS_SYS(mbsinit, int,(const mbstate_t *ps))
#define mbrtowc
Definition: wchar.h:684