30 #pragma GCC system_header 34 #if (((defined __need_mbstate_t || defined __need_wint_t) \ 35 && !defined __MINGW32__ && !defined __KLIBC__) \ 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 104 #ifndef _GL_CXXDEFS_H 105 #define _GL_CXXDEFS_H 108 #if defined __cplusplus && defined GNULIB_NAMESPACE 109 # define _GL_BEGIN_NAMESPACE namespace GNULIB_NAMESPACE { 110 # define _GL_END_NAMESPACE } 112 # define _GL_BEGIN_NAMESPACE 113 # define _GL_END_NAMESPACE 177 #if defined __cplusplus 178 # define _GL_EXTERN_C extern "C" 180 # define _GL_EXTERN_C extern 190 #define _GL_FUNCDECL_RPL(func,rettype,parameters_and_attributes) \ 191 _GL_FUNCDECL_RPL_1 (rpl_##func, rettype, parameters_and_attributes) 192 #define _GL_FUNCDECL_RPL_1(rpl_func,rettype,parameters_and_attributes) \ 193 _GL_EXTERN_C rettype rpl_func parameters_and_attributes 202 #define _GL_FUNCDECL_SYS(func,rettype,parameters_and_attributes) \ 203 _GL_EXTERN_C rettype func parameters_and_attributes 214 #define _GL_CXXALIAS_RPL(func,rettype,parameters) \ 215 _GL_CXXALIAS_RPL_1 (func, rpl_##func, rettype, parameters) 216 #if defined __cplusplus && defined GNULIB_NAMESPACE 217 # define _GL_CXXALIAS_RPL_1(func,rpl_func,rettype,parameters) \ 218 namespace GNULIB_NAMESPACE \ 220 static const struct _gl_ ## func ## _wrapper \ 222 typedef rettype (*type) parameters; \ 223 inline type rpl () const { return ::rpl_func; } \ 224 inline operator type () const { return rpl (); } \ 227 _GL_EXTERN_C int _gl_cxxalias_dummy 229 # define _GL_CXXALIAS_RPL_1(func,rpl_func,rettype,parameters) \ 230 _GL_EXTERN_C int _gl_cxxalias_dummy 238 #if defined __cplusplus && defined GNULIB_NAMESPACE 239 # define _GL_CXXALIAS_RPL_CAST_1(func,rpl_func,rettype,parameters) \ 240 namespace GNULIB_NAMESPACE \ 242 static const struct _gl_ ## func ## _wrapper \ 244 typedef rettype (*type) parameters; \ 245 inline type rpl () const \ 246 { return reinterpret_cast<type>(::rpl_func); } \ 247 inline operator type () const { return rpl (); } \ 250 _GL_EXTERN_C int _gl_cxxalias_dummy 252 # define _GL_CXXALIAS_RPL_CAST_1(func,rpl_func,rettype,parameters) \ 253 _GL_EXTERN_C int _gl_cxxalias_dummy 266 #if defined __cplusplus && defined GNULIB_NAMESPACE 267 # define _GL_CXXALIAS_SYS(func,rettype,parameters) \ 268 namespace GNULIB_NAMESPACE \ 270 static const struct _gl_ ## func ## _wrapper \ 272 typedef rettype (*type) parameters; \ 273 inline type rpl () const { return ::func; } \ 274 inline operator type () const { return rpl (); } \ 277 _GL_EXTERN_C int _gl_cxxalias_dummy 279 # define _GL_CXXALIAS_SYS(func,rettype,parameters) \ 280 _GL_EXTERN_C int _gl_cxxalias_dummy 288 #if defined __cplusplus && defined GNULIB_NAMESPACE 289 # define _GL_CXXALIAS_SYS_CAST(func,rettype,parameters) \ 290 namespace GNULIB_NAMESPACE \ 292 static const struct _gl_ ## func ## _wrapper \ 294 typedef rettype (*type) parameters; \ 295 inline type rpl () const \ 296 { return reinterpret_cast<type>(::func); } \ 297 inline operator type () const { return rpl (); }\ 300 _GL_EXTERN_C int _gl_cxxalias_dummy 302 # define _GL_CXXALIAS_SYS_CAST(func,rettype,parameters) \ 303 _GL_EXTERN_C int _gl_cxxalias_dummy 312 #if defined __cplusplus && defined GNULIB_NAMESPACE 318 # define _GL_CXXALIAS_SYS_CAST2(func,rettype,parameters,rettype2,parameters2) \ 319 namespace GNULIB_NAMESPACE \ 321 static const struct _gl_ ## func ## _wrapper \ 323 typedef rettype (*type) parameters; \ 325 inline type rpl () const \ 326 { return reinterpret_cast<type>((rettype2 (*) parameters2)(::func)); }\ 328 inline operator type () const { return rpl (); } \ 331 _GL_EXTERN_C int _gl_cxxalias_dummy 333 # define _GL_CXXALIAS_SYS_CAST2(func,rettype,parameters,rettype2,parameters2) \ 334 _GL_EXTERN_C int _gl_cxxalias_dummy 341 #if defined __cplusplus && defined GNULIB_NAMESPACE 342 # define _GL_CXXALIASWARN(func) \ 343 _GL_CXXALIASWARN_1 (func, GNULIB_NAMESPACE) 344 # define _GL_CXXALIASWARN_1(func,namespace) \ 345 _GL_CXXALIASWARN_2 (func, namespace) 349 # define _GL_CXXALIASWARN_2(func,namespace) \ 350 _GL_WARN_ON_USE (func, \ 351 "The symbol ::" #func " refers to the system function. " \ 352 "Use " #namespace "::" #func " instead.") 353 # elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING 354 # define _GL_CXXALIASWARN_2(func,namespace) \ 355 extern __typeof__ (func) func 357 # define _GL_CXXALIASWARN_2(func,namespace) \ 358 _GL_EXTERN_C int _gl_cxxalias_dummy 361 # define _GL_CXXALIASWARN(func) \ 362 _GL_EXTERN_C int _gl_cxxalias_dummy 368 #if defined __cplusplus && defined GNULIB_NAMESPACE 369 # define _GL_CXXALIASWARN1(func,rettype,parameters_and_attributes) \ 370 _GL_CXXALIASWARN1_1 (func, rettype, parameters_and_attributes, \ 372 # define _GL_CXXALIASWARN1_1(func,rettype,parameters_and_attributes,namespace) \ 373 _GL_CXXALIASWARN1_2 (func, rettype, parameters_and_attributes, namespace) 377 # define _GL_CXXALIASWARN1_2(func,rettype,parameters_and_attributes,namespace) \ 378 _GL_WARN_ON_USE_CXX (func, rettype, parameters_and_attributes, \ 379 "The symbol ::" #func " refers to the system function. " \ 380 "Use " #namespace "::" #func " instead.") 381 # elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING 382 # define _GL_CXXALIASWARN1_2(func,rettype,parameters_and_attributes,namespace) \ 383 extern __typeof__ (func) func 385 # define _GL_CXXALIASWARN1_2(func,rettype,parameters_and_attributes,namespace) \ 386 _GL_EXTERN_C int _gl_cxxalias_dummy 389 # define _GL_CXXALIASWARN1(func,rettype,parameters_and_attributes) \ 390 _GL_EXTERN_C int _gl_cxxalias_dummy 399 #ifndef _GL_ARG_NONNULL 400 # if (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) || __GNUC__ > 3 401 # define _GL_ARG_NONNULL(params) __attribute__ ((__nonnull__ params)) 403 # define _GL_ARG_NONNULL(params) 408 #ifndef _GL_WARN_ON_USE 410 # if 4 < __GNUC__ || (__GNUC__ == 4 && 3 <= __GNUC_MINOR__) 412 # define _GL_WARN_ON_USE(function, message) \ 413 extern __typeof__ (function) function __attribute__ ((__warning__ (message))) 414 # elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING 416 # define _GL_WARN_ON_USE(function, message) \ 417 extern __typeof__ (function) function 419 # define _GL_WARN_ON_USE(function, message) \ 420 _GL_WARN_EXTERN_C int _gl_warn_on_use 430 #ifndef _GL_WARN_ON_USE_CXX 431 # if 4 < __GNUC__ || (__GNUC__ == 4 && 3 <= __GNUC_MINOR__) 432 # define _GL_WARN_ON_USE_CXX(function,rettype,parameters_and_attributes,msg) \ 433 extern rettype function parameters_and_attributes \ 434 __attribute__ ((__warning__ (msg))) 435 # elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING 437 # define _GL_WARN_ON_USE_CXX(function,rettype,parameters_and_attributes,msg) \ 438 extern rettype function parameters_and_attributes 440 # define _GL_WARN_ON_USE_CXX(function,rettype,parameters_and_attributes,msg) \ 441 _GL_WARN_EXTERN_C int _gl_warn_on_use 447 #ifndef _GL_WARN_EXTERN_C 448 # if defined __cplusplus 449 # define _GL_WARN_EXTERN_C extern "C" 451 # define _GL_WARN_EXTERN_C extern 457 #if !1 && !defined wint_t 466 # if defined _MSC_VER 467 # if !GNULIB_defined_wint_t 468 # include <crtdefs.h> 469 typedef unsigned int rpl_wint_t;
471 # define wint_t rpl_wint_t 472 # define GNULIB_defined_wint_t 1 476 # define WEOF ((wint_t) -1) 485 # if !GNULIB_defined_mbstate_t 486 typedef int rpl_mbstate_t;
488 # define mbstate_t rpl_mbstate_t 489 # define GNULIB_defined_mbstate_t 1 497 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 499 # define btowc rpl_btowc 510 #elif defined GNULIB_POSIXCHECK 512 # if HAVE_RAW_DECL_BTOWC 514 "use gnulib module btowc for portability");
522 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 524 # define wctob rpl_wctob 529 # if !defined wctob && !1 536 #elif defined GNULIB_POSIXCHECK 538 # if HAVE_RAW_DECL_WCTOB 540 "use gnulib module wctob for portability");
548 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 550 # define mbsinit rpl_mbsinit 561 #elif defined GNULIB_POSIXCHECK 563 # if HAVE_RAW_DECL_MBSINIT 565 "use gnulib module mbsinit for portability");
573 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 575 # define mbrtowc rpl_mbrtowc 578 (
wchar_t *pwc,
const char *s,
size_t n, mbstate_t *ps));
580 (
wchar_t *pwc,
const char *s,
size_t n, mbstate_t *ps));
584 (
wchar_t *pwc,
const char *s,
size_t n, mbstate_t *ps));
587 (
wchar_t *pwc,
const char *s,
size_t n, mbstate_t *ps));
590 #elif defined GNULIB_POSIXCHECK 592 # if HAVE_RAW_DECL_MBRTOWC 594 "use gnulib module mbrtowc for portability");
602 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 604 # define mbrlen rpl_mbrlen 606 _GL_FUNCDECL_RPL (mbrlen,
size_t, (
const char *s,
size_t n, mbstate_t *ps));
607 _GL_CXXALIAS_RPL (mbrlen,
size_t, (
const char *s,
size_t n, mbstate_t *ps));
610 _GL_FUNCDECL_SYS (mbrlen,
size_t, (
const char *s,
size_t n, mbstate_t *ps));
612 _GL_CXXALIAS_SYS (mbrlen,
size_t, (
const char *s,
size_t n, mbstate_t *ps));
615 #elif defined GNULIB_POSIXCHECK 617 # if HAVE_RAW_DECL_MBRLEN 619 "use gnulib module mbrlen for portability");
627 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 629 # define mbsrtowcs rpl_mbsrtowcs 632 (
wchar_t *dest,
const char **srcp,
size_t len, mbstate_t *ps)
635 (
wchar_t *dest,
const char **srcp,
size_t len,
640 (
wchar_t *dest,
const char **srcp,
size_t len, mbstate_t *ps)
644 (
wchar_t *dest,
const char **srcp,
size_t len,
648 #elif defined GNULIB_POSIXCHECK 650 # if HAVE_RAW_DECL_MBSRTOWCS 652 "use gnulib module mbsrtowcs for portability");
660 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 662 # define mbsnrtowcs rpl_mbsnrtowcs 665 (
wchar_t *dest,
const char **srcp,
size_t srclen,
size_t len,
669 (
wchar_t *dest,
const char **srcp,
size_t srclen,
size_t len,
674 (
wchar_t *dest,
const char **srcp,
size_t srclen,
size_t len,
679 (
wchar_t *dest,
const char **srcp,
size_t srclen,
size_t len,
683 #elif defined GNULIB_POSIXCHECK 685 # if HAVE_RAW_DECL_MBSNRTOWCS 687 "use gnulib module mbsnrtowcs for portability");
695 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 697 # define wcrtomb rpl_wcrtomb 708 #elif defined GNULIB_POSIXCHECK 710 # if HAVE_RAW_DECL_WCRTOMB 712 "use gnulib module wcrtomb for portability");
720 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 722 # define wcsrtombs rpl_wcsrtombs 725 (
char *dest,
const wchar_t **srcp,
size_t len, mbstate_t *ps)
728 (
char *dest,
const wchar_t **srcp,
size_t len,
733 (
char *dest,
const wchar_t **srcp,
size_t len, mbstate_t *ps)
737 (
char *dest,
const wchar_t **srcp,
size_t len,
741 #elif defined GNULIB_POSIXCHECK 743 # if HAVE_RAW_DECL_WCSRTOMBS 745 "use gnulib module wcsrtombs for portability");
753 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 755 # define wcsnrtombs rpl_wcsnrtombs 758 (
char *dest,
const wchar_t **srcp,
size_t srclen,
size_t len,
762 (
char *dest,
const wchar_t **srcp,
size_t srclen,
size_t len,
767 (
char *dest,
const wchar_t **srcp,
size_t srclen,
size_t len,
772 (
char *dest,
const wchar_t **srcp,
size_t srclen,
size_t len,
776 #elif defined GNULIB_POSIXCHECK 778 # if HAVE_RAW_DECL_WCSNRTOMBS 780 "use gnulib module wcsnrtombs for portability");
788 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 790 # define wcwidth rpl_wcwidth 798 # elif defined __KLIBC__ 807 #elif defined GNULIB_POSIXCHECK 809 # if HAVE_RAW_DECL_WCWIDTH 811 "use gnulib module wcwidth for portability");
819 _GL_FUNCDECL_SYS (wmemchr,
wchar_t *, (
const wchar_t *s,
wchar_t c,
size_t n)
828 wchar_t *, (
const wchar_t *,
wchar_t,
size_t),
829 const wchar_t *, (
const wchar_t *,
wchar_t,
size_t));
830 # if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ 831 && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) 834 (
const wchar_t *s,
wchar_t c,
size_t n));
838 #elif defined GNULIB_POSIXCHECK 840 # if HAVE_RAW_DECL_WMEMCHR 842 "use gnulib module wmemchr for portability");
851 (
const wchar_t *s1,
const wchar_t *s2,
size_t n)
855 (
const wchar_t *s1,
const wchar_t *s2,
size_t n));
857 #elif defined GNULIB_POSIXCHECK 859 # if HAVE_RAW_DECL_WMEMCMP 861 "use gnulib module wmemcmp for portability");
870 (
wchar_t *dest,
const wchar_t *src,
size_t n));
873 (
wchar_t *dest,
const wchar_t *src,
size_t n));
875 #elif defined GNULIB_POSIXCHECK 877 # if HAVE_RAW_DECL_WMEMCPY 879 "use gnulib module wmemcpy for portability");
889 (
wchar_t *dest,
const wchar_t *src,
size_t n));
892 (
wchar_t *dest,
const wchar_t *src,
size_t n));
894 #elif defined GNULIB_POSIXCHECK 896 # if HAVE_RAW_DECL_WMEMMOVE 898 "use gnulib module wmemmove for portability");
910 #elif defined GNULIB_POSIXCHECK 912 # if HAVE_RAW_DECL_WMEMSET 914 "use gnulib module wmemset for portability");
926 #elif defined GNULIB_POSIXCHECK 928 # if HAVE_RAW_DECL_WCSLEN 930 "use gnulib module wcslen for portability");
943 #elif defined GNULIB_POSIXCHECK 945 # if HAVE_RAW_DECL_WCSNLEN 947 "use gnulib module wcsnlen for portability");
959 #elif defined GNULIB_POSIXCHECK 961 # if HAVE_RAW_DECL_WCSCPY 963 "use gnulib module wcscpy for portability");
975 #elif defined GNULIB_POSIXCHECK 977 # if HAVE_RAW_DECL_WCPCPY 979 "use gnulib module wcpcpy for portability");
988 (
wchar_t *dest,
const wchar_t *src,
size_t n));
991 (
wchar_t *dest,
const wchar_t *src,
size_t n));
993 #elif defined GNULIB_POSIXCHECK 995 # if HAVE_RAW_DECL_WCSNCPY 997 "use gnulib module wcsncpy for portability");
1007 (
wchar_t *dest,
const wchar_t *src,
size_t n));
1010 (
wchar_t *dest,
const wchar_t *src,
size_t n));
1012 #elif defined GNULIB_POSIXCHECK 1014 # if HAVE_RAW_DECL_WCPNCPY 1016 "use gnulib module wcpncpy for portability");
1028 #elif defined GNULIB_POSIXCHECK 1030 # if HAVE_RAW_DECL_WCSCAT 1032 "use gnulib module wcscat for portability");
1041 (
wchar_t *dest,
const wchar_t *src,
size_t n));
1044 (
wchar_t *dest,
const wchar_t *src,
size_t n));
1046 #elif defined GNULIB_POSIXCHECK 1048 # if HAVE_RAW_DECL_WCSNCAT 1050 "use gnulib module wcsncat for portability");
1063 #elif defined GNULIB_POSIXCHECK 1065 # if HAVE_RAW_DECL_WCSCMP 1067 "use gnulib module wcscmp for portability");
1076 (
const wchar_t *s1,
const wchar_t *s2,
size_t n)
1080 (
const wchar_t *s1,
const wchar_t *s2,
size_t n));
1082 #elif defined GNULIB_POSIXCHECK 1084 # if HAVE_RAW_DECL_WCSNCMP 1086 "use gnulib module wcsncmp for portability");
1097 _GL_CXXALIAS_SYS (wcscasecmp,
int, (
const wchar_t *s1,
const wchar_t *s2));
1099 #elif defined GNULIB_POSIXCHECK 1101 # if HAVE_RAW_DECL_WCSCASECMP 1103 "use gnulib module wcscasecmp for portability");
1112 (
const wchar_t *s1,
const wchar_t *s2,
size_t n)
1116 (
const wchar_t *s1,
const wchar_t *s2,
size_t n));
1118 #elif defined GNULIB_POSIXCHECK 1120 # if HAVE_RAW_DECL_WCSNCASECMP 1122 "use gnulib module wcsncasecmp for portability");
1135 #elif defined GNULIB_POSIXCHECK 1137 # if HAVE_RAW_DECL_WCSCOLL 1139 "use gnulib module wcscoll for portability");
1149 _GL_FUNCDECL_SYS (wcsxfrm,
size_t, (
wchar_t *s1,
const wchar_t *s2,
size_t n));
1151 _GL_CXXALIAS_SYS (wcsxfrm,
size_t, (
wchar_t *s1,
const wchar_t *s2,
size_t n));
1153 #elif defined GNULIB_POSIXCHECK 1155 # if HAVE_RAW_DECL_WCSXFRM 1157 "use gnulib module wcsxfrm for portability");
1169 #elif defined GNULIB_POSIXCHECK 1171 # if HAVE_RAW_DECL_WCSDUP 1173 "use gnulib module wcsdup for portability");
1190 wchar_t *, (
const wchar_t *,
wchar_t),
1191 const wchar_t *, (
const wchar_t *,
wchar_t));
1192 # if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ 1193 && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) 1199 #elif defined GNULIB_POSIXCHECK 1201 # if HAVE_RAW_DECL_WCSCHR 1203 "use gnulib module wcschr for portability");
1220 wchar_t *, (
const wchar_t *,
wchar_t),
1221 const wchar_t *, (
const wchar_t *,
wchar_t));
1222 # if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ 1223 && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) 1229 #elif defined GNULIB_POSIXCHECK 1231 # if HAVE_RAW_DECL_WCSRCHR 1233 "use gnulib module wcsrchr for portability");
1242 _GL_FUNCDECL_SYS (wcscspn,
size_t, (
const wchar_t *wcs,
const wchar_t *reject)
1245 _GL_CXXALIAS_SYS (wcscspn,
size_t, (
const wchar_t *wcs,
const wchar_t *reject));
1247 #elif defined GNULIB_POSIXCHECK 1249 # if HAVE_RAW_DECL_WCSCSPN 1251 "use gnulib module wcscspn for portability");
1260 _GL_FUNCDECL_SYS (wcsspn,
size_t, (
const wchar_t *wcs,
const wchar_t *accept)
1263 _GL_CXXALIAS_SYS (wcsspn,
size_t, (
const wchar_t *wcs,
const wchar_t *accept));
1265 #elif defined GNULIB_POSIXCHECK 1267 # if HAVE_RAW_DECL_WCSSPN 1269 "use gnulib module wcsspn for portability");
1278 (
const wchar_t *wcs,
const wchar_t *accept)
1287 wchar_t *, (
const wchar_t *,
const wchar_t *),
1288 const wchar_t *, (
const wchar_t *,
const wchar_t *));
1289 # if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ 1290 && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) 1292 (
wchar_t *wcs,
const wchar_t *accept));
1294 (
const wchar_t *wcs,
const wchar_t *accept));
1298 #elif defined GNULIB_POSIXCHECK 1300 # if HAVE_RAW_DECL_WCSPBRK 1302 "use gnulib module wcspbrk for portability");
1311 (
const wchar_t *haystack,
const wchar_t *needle)
1320 wchar_t *, (
const wchar_t *,
const wchar_t *),
1321 const wchar_t *, (
const wchar_t *,
const wchar_t *));
1322 # if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ 1323 && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) 1325 (
wchar_t *haystack,
const wchar_t *needle));
1327 (
const wchar_t *haystack,
const wchar_t *needle));
1331 #elif defined GNULIB_POSIXCHECK 1333 # if HAVE_RAW_DECL_WCSSTR 1335 "use gnulib module wcsstr for portability");
1344 (
wchar_t *wcs,
const wchar_t *delim,
wchar_t **ptr));
1347 (
wchar_t *wcs,
const wchar_t *delim,
wchar_t **ptr));
1349 #elif defined GNULIB_POSIXCHECK 1351 # if HAVE_RAW_DECL_WCSTOK 1353 "use gnulib module wcstok for portability");
1362 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 1364 # define wcswidth rpl_wcswidth 1377 #elif defined GNULIB_POSIXCHECK 1379 # if HAVE_RAW_DECL_WCSWIDTH 1381 "use gnulib module wcswidth for portability");
_GL_CXXALIASWARN(mbsinit)
#define _GL_WARN_ON_USE(function, message)
_GL_CXXALIAS_RPL(mbrtowc, size_t,(wchar_t *pwc, const char *s, size_t n, mbstate_t *ps))
#define _GL_ARG_NONNULL(params)
#define _GL_CXXALIAS_SYS_CAST2(func, rettype, parameters, rettype2, parameters2)
_GL_FUNCDECL_RPL(mbrtowc, size_t,(wchar_t *pwc, const char *s, size_t n, mbstate_t *ps))
_GL_CXXALIASWARN1(frexp, double,(double x, int *expptr))
#define _GL_ATTRIBUTE_PURE
#define _GL_FUNCDECL_SYS(func, rettype, parameters_and_attributes)
_GL_CXXALIAS_SYS(mbsinit, int,(const mbstate_t *ps))