00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031 #if __GNUC__ >= 3
00032 @PRAGMA_SYSTEM_HEADER@
00033 #endif
00034 @PRAGMA_COLUMNS@
00035
00036 #if defined __need_mbstate_t || defined __need_wint_t || (defined __hpux && ((defined _INTTYPES_INCLUDED && !defined strtoimax) || defined _GL_JUST_INCLUDE_SYSTEM_WCHAR_H)) || defined _GL_ALREADY_INCLUDING_WCHAR_H
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049 #@INCLUDE_NEXT@ @NEXT_WCHAR_H@
00050
00051 #else
00052
00053
00054 #ifndef _GL_WCHAR_H
00055
00056 #define _GL_ALREADY_INCLUDING_WCHAR_H
00057
00058 #if @HAVE_FEATURES_H@
00059 # include <features.h>
00060 #endif
00061
00062
00063
00064
00065
00066
00067 #ifndef __GLIBC__
00068 # include <stddef.h>
00069 # include <stdio.h>
00070 # include <time.h>
00071 #endif
00072
00073
00074
00075
00076 #if @HAVE_WCHAR_H@
00077 # @INCLUDE_NEXT@ @NEXT_WCHAR_H@
00078 #endif
00079
00080 #undef _GL_ALREADY_INCLUDING_WCHAR_H
00081
00082 #ifndef _GL_WCHAR_H
00083 #define _GL_WCHAR_H
00084
00085
00086
00087
00088
00089
00090
00091
00092
00093 #if !@HAVE_WINT_T@ && !defined wint_t
00094 # define wint_t int
00095 # ifndef WEOF
00096 # define WEOF -1
00097 # endif
00098 #else
00099 # ifndef WEOF
00100 # define WEOF ((wint_t) -1)
00101 # endif
00102 #endif
00103
00104
00105
00106
00107
00108 #if !(@HAVE_MBSINIT@ && @HAVE_MBRTOWC@) || @REPLACE_MBSTATE_T@
00109 # if !GNULIB_defined_mbstate_t
00110 typedef int rpl_mbstate_t;
00111 # undef mbstate_t
00112 # define mbstate_t rpl_mbstate_t
00113 # define GNULIB_defined_mbstate_t 1
00114 # endif
00115 #endif
00116
00117
00118
00119 #if @GNULIB_BTOWC@
00120 # if @REPLACE_BTOWC@
00121 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
00122 # undef btowc
00123 # define btowc rpl_btowc
00124 # endif
00125 _GL_FUNCDECL_RPL (btowc, wint_t, (int c));
00126 _GL_CXXALIAS_RPL (btowc, wint_t, (int c));
00127 # else
00128 # if !@HAVE_BTOWC@
00129 _GL_FUNCDECL_SYS (btowc, wint_t, (int c));
00130 # endif
00131 _GL_CXXALIAS_SYS (btowc, wint_t, (int c));
00132 # endif
00133 _GL_CXXALIASWARN (btowc);
00134 #elif defined GNULIB_POSIXCHECK
00135 # undef btowc
00136 # if HAVE_RAW_DECL_BTOWC
00137 _GL_WARN_ON_USE (btowc, "btowc is unportable - "
00138 "use gnulib module btowc for portability");
00139 # endif
00140 #endif
00141
00142
00143
00144 #if @GNULIB_WCTOB@
00145 # if @REPLACE_WCTOB@
00146 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
00147 # undef wctob
00148 # define wctob rpl_wctob
00149 # endif
00150 _GL_FUNCDECL_RPL (wctob, int, (wint_t wc));
00151 _GL_CXXALIAS_RPL (wctob, int, (wint_t wc));
00152 # else
00153 # if !defined wctob && !@HAVE_DECL_WCTOB@
00154
00155 _GL_FUNCDECL_SYS (wctob, int, (wint_t wc));
00156 # endif
00157 _GL_CXXALIAS_SYS (wctob, int, (wint_t wc));
00158 # endif
00159 _GL_CXXALIASWARN (wctob);
00160 #elif defined GNULIB_POSIXCHECK
00161 # undef wctob
00162 # if HAVE_RAW_DECL_WCTOB
00163 _GL_WARN_ON_USE (wctob, "wctob is unportable - "
00164 "use gnulib module wctob for portability");
00165 # endif
00166 #endif
00167
00168
00169
00170 #if @GNULIB_MBSINIT@
00171 # if @REPLACE_MBSINIT@
00172 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
00173 # undef mbsinit
00174 # define mbsinit rpl_mbsinit
00175 # endif
00176 _GL_FUNCDECL_RPL (mbsinit, int, (const mbstate_t *ps));
00177 _GL_CXXALIAS_RPL (mbsinit, int, (const mbstate_t *ps));
00178 # else
00179 # if !@HAVE_MBSINIT@
00180 _GL_FUNCDECL_SYS (mbsinit, int, (const mbstate_t *ps));
00181 # endif
00182 _GL_CXXALIAS_SYS (mbsinit, int, (const mbstate_t *ps));
00183 # endif
00184 _GL_CXXALIASWARN (mbsinit);
00185 #elif defined GNULIB_POSIXCHECK
00186 # undef mbsinit
00187 # if HAVE_RAW_DECL_MBSINIT
00188 _GL_WARN_ON_USE (mbsinit, "mbsinit is unportable - "
00189 "use gnulib module mbsinit for portability");
00190 # endif
00191 #endif
00192
00193
00194
00195 #if @GNULIB_MBRTOWC@
00196 # if @REPLACE_MBRTOWC@
00197 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
00198 # undef mbrtowc
00199 # define mbrtowc rpl_mbrtowc
00200 # endif
00201 _GL_FUNCDECL_RPL (mbrtowc, size_t,
00202 (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps));
00203 _GL_CXXALIAS_RPL (mbrtowc, size_t,
00204 (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps));
00205 # else
00206 # if !@HAVE_MBRTOWC@
00207 _GL_FUNCDECL_SYS (mbrtowc, size_t,
00208 (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps));
00209 # endif
00210 _GL_CXXALIAS_SYS (mbrtowc, size_t,
00211 (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps));
00212 # endif
00213 _GL_CXXALIASWARN (mbrtowc);
00214 #elif defined GNULIB_POSIXCHECK
00215 # undef mbrtowc
00216 # if HAVE_RAW_DECL_MBRTOWC
00217 _GL_WARN_ON_USE (mbrtowc, "mbrtowc is unportable - "
00218 "use gnulib module mbrtowc for portability");
00219 # endif
00220 #endif
00221
00222
00223
00224 #if @GNULIB_MBRLEN@
00225 # if @REPLACE_MBRLEN@
00226 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
00227 # undef mbrlen
00228 # define mbrlen rpl_mbrlen
00229 # endif
00230 _GL_FUNCDECL_RPL (mbrlen, size_t, (const char *s, size_t n, mbstate_t *ps));
00231 _GL_CXXALIAS_RPL (mbrlen, size_t, (const char *s, size_t n, mbstate_t *ps));
00232 # else
00233 # if !@HAVE_MBRLEN@
00234 _GL_FUNCDECL_SYS (mbrlen, size_t, (const char *s, size_t n, mbstate_t *ps));
00235 # endif
00236 _GL_CXXALIAS_SYS (mbrlen, size_t, (const char *s, size_t n, mbstate_t *ps));
00237 # endif
00238 _GL_CXXALIASWARN (mbrlen);
00239 #elif defined GNULIB_POSIXCHECK
00240 # undef mbrlen
00241 # if HAVE_RAW_DECL_MBRLEN
00242 _GL_WARN_ON_USE (mbrlen, "mbrlen is unportable - "
00243 "use gnulib module mbrlen for portability");
00244 # endif
00245 #endif
00246
00247
00248
00249 #if @GNULIB_MBSRTOWCS@
00250 # if @REPLACE_MBSRTOWCS@
00251 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
00252 # undef mbsrtowcs
00253 # define mbsrtowcs rpl_mbsrtowcs
00254 # endif
00255 _GL_FUNCDECL_RPL (mbsrtowcs, size_t,
00256 (wchar_t *dest, const char **srcp, size_t len, mbstate_t *ps)
00257 _GL_ARG_NONNULL ((2)));
00258 _GL_CXXALIAS_RPL (mbsrtowcs, size_t,
00259 (wchar_t *dest, const char **srcp, size_t len,
00260 mbstate_t *ps));
00261 # else
00262 # if !@HAVE_MBSRTOWCS@
00263 _GL_FUNCDECL_SYS (mbsrtowcs, size_t,
00264 (wchar_t *dest, const char **srcp, size_t len, mbstate_t *ps)
00265 _GL_ARG_NONNULL ((2)));
00266 # endif
00267 _GL_CXXALIAS_SYS (mbsrtowcs, size_t,
00268 (wchar_t *dest, const char **srcp, size_t len,
00269 mbstate_t *ps));
00270 # endif
00271 _GL_CXXALIASWARN (mbsrtowcs);
00272 #elif defined GNULIB_POSIXCHECK
00273 # undef mbsrtowcs
00274 # if HAVE_RAW_DECL_MBSRTOWCS
00275 _GL_WARN_ON_USE (mbsrtowcs, "mbsrtowcs is unportable - "
00276 "use gnulib module mbsrtowcs for portability");
00277 # endif
00278 #endif
00279
00280
00281
00282 #if @GNULIB_MBSNRTOWCS@
00283 # if @REPLACE_MBSNRTOWCS@
00284 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
00285 # undef mbsnrtowcs
00286 # define mbsnrtowcs rpl_mbsnrtowcs
00287 # endif
00288 _GL_FUNCDECL_RPL (mbsnrtowcs, size_t,
00289 (wchar_t *dest, const char **srcp, size_t srclen, size_t len,
00290 mbstate_t *ps)
00291 _GL_ARG_NONNULL ((2)));
00292 _GL_CXXALIAS_RPL (mbsnrtowcs, size_t,
00293 (wchar_t *dest, const char **srcp, size_t srclen, size_t len,
00294 mbstate_t *ps));
00295 # else
00296 # if !@HAVE_MBSNRTOWCS@
00297 _GL_FUNCDECL_SYS (mbsnrtowcs, size_t,
00298 (wchar_t *dest, const char **srcp, size_t srclen, size_t len,
00299 mbstate_t *ps)
00300 _GL_ARG_NONNULL ((2)));
00301 # endif
00302 _GL_CXXALIAS_SYS (mbsnrtowcs, size_t,
00303 (wchar_t *dest, const char **srcp, size_t srclen, size_t len,
00304 mbstate_t *ps));
00305 # endif
00306 _GL_CXXALIASWARN (mbsnrtowcs);
00307 #elif defined GNULIB_POSIXCHECK
00308 # undef mbsnrtowcs
00309 # if HAVE_RAW_DECL_MBSNRTOWCS
00310 _GL_WARN_ON_USE (mbsnrtowcs, "mbsnrtowcs is unportable - "
00311 "use gnulib module mbsnrtowcs for portability");
00312 # endif
00313 #endif
00314
00315
00316
00317 #if @GNULIB_WCRTOMB@
00318 # if @REPLACE_WCRTOMB@
00319 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
00320 # undef wcrtomb
00321 # define wcrtomb rpl_wcrtomb
00322 # endif
00323 _GL_FUNCDECL_RPL (wcrtomb, size_t, (char *s, wchar_t wc, mbstate_t *ps));
00324 _GL_CXXALIAS_RPL (wcrtomb, size_t, (char *s, wchar_t wc, mbstate_t *ps));
00325 # else
00326 # if !@HAVE_WCRTOMB@
00327 _GL_FUNCDECL_SYS (wcrtomb, size_t, (char *s, wchar_t wc, mbstate_t *ps));
00328 # endif
00329 _GL_CXXALIAS_SYS (wcrtomb, size_t, (char *s, wchar_t wc, mbstate_t *ps));
00330 # endif
00331 _GL_CXXALIASWARN (wcrtomb);
00332 #elif defined GNULIB_POSIXCHECK
00333 # undef wcrtomb
00334 # if HAVE_RAW_DECL_WCRTOMB
00335 _GL_WARN_ON_USE (wcrtomb, "wcrtomb is unportable - "
00336 "use gnulib module wcrtomb for portability");
00337 # endif
00338 #endif
00339
00340
00341
00342 #if @GNULIB_WCSRTOMBS@
00343 # if @REPLACE_WCSRTOMBS@
00344 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
00345 # undef wcsrtombs
00346 # define wcsrtombs rpl_wcsrtombs
00347 # endif
00348 _GL_FUNCDECL_RPL (wcsrtombs, size_t,
00349 (char *dest, const wchar_t **srcp, size_t len, mbstate_t *ps)
00350 _GL_ARG_NONNULL ((2)));
00351 _GL_CXXALIAS_RPL (wcsrtombs, size_t,
00352 (char *dest, const wchar_t **srcp, size_t len,
00353 mbstate_t *ps));
00354 # else
00355 # if !@HAVE_WCSRTOMBS@
00356 _GL_FUNCDECL_SYS (wcsrtombs, size_t,
00357 (char *dest, const wchar_t **srcp, size_t len, mbstate_t *ps)
00358 _GL_ARG_NONNULL ((2)));
00359 # endif
00360 _GL_CXXALIAS_SYS (wcsrtombs, size_t,
00361 (char *dest, const wchar_t **srcp, size_t len,
00362 mbstate_t *ps));
00363 # endif
00364 _GL_CXXALIASWARN (wcsrtombs);
00365 #elif defined GNULIB_POSIXCHECK
00366 # undef wcsrtombs
00367 # if HAVE_RAW_DECL_WCSRTOMBS
00368 _GL_WARN_ON_USE (wcsrtombs, "wcsrtombs is unportable - "
00369 "use gnulib module wcsrtombs for portability");
00370 # endif
00371 #endif
00372
00373
00374
00375 #if @GNULIB_WCSNRTOMBS@
00376 # if @REPLACE_WCSNRTOMBS@
00377 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
00378 # undef wcsnrtombs
00379 # define wcsnrtombs rpl_wcsnrtombs
00380 # endif
00381 _GL_FUNCDECL_RPL (wcsnrtombs, size_t,
00382 (char *dest, const wchar_t **srcp, size_t srclen, size_t len,
00383 mbstate_t *ps)
00384 _GL_ARG_NONNULL ((2)));
00385 _GL_CXXALIAS_RPL (wcsnrtombs, size_t,
00386 (char *dest, const wchar_t **srcp, size_t srclen, size_t len,
00387 mbstate_t *ps));
00388 # else
00389 # if !@HAVE_WCSNRTOMBS@
00390 _GL_FUNCDECL_SYS (wcsnrtombs, size_t,
00391 (char *dest, const wchar_t **srcp, size_t srclen, size_t len,
00392 mbstate_t *ps)
00393 _GL_ARG_NONNULL ((2)));
00394 # endif
00395 _GL_CXXALIAS_SYS (wcsnrtombs, size_t,
00396 (char *dest, const wchar_t **srcp, size_t srclen, size_t len,
00397 mbstate_t *ps));
00398 # endif
00399 _GL_CXXALIASWARN (wcsnrtombs);
00400 #elif defined GNULIB_POSIXCHECK
00401 # undef wcsnrtombs
00402 # if HAVE_RAW_DECL_WCSNRTOMBS
00403 _GL_WARN_ON_USE (wcsnrtombs, "wcsnrtombs is unportable - "
00404 "use gnulib module wcsnrtombs for portability");
00405 # endif
00406 #endif
00407
00408
00409
00410 #if @GNULIB_WCWIDTH@
00411 # if @REPLACE_WCWIDTH@
00412 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
00413 # undef wcwidth
00414 # define wcwidth rpl_wcwidth
00415 # endif
00416 _GL_FUNCDECL_RPL (wcwidth, int, (wchar_t));
00417 _GL_CXXALIAS_RPL (wcwidth, int, (wchar_t));
00418 # else
00419 # if !@HAVE_DECL_WCWIDTH@
00420
00421 _GL_FUNCDECL_SYS (wcwidth, int, (wchar_t));
00422 # endif
00423 _GL_CXXALIAS_SYS (wcwidth, int, (wchar_t));
00424 # endif
00425 _GL_CXXALIASWARN (wcwidth);
00426 #elif defined GNULIB_POSIXCHECK
00427 # undef wcwidth
00428 # if HAVE_RAW_DECL_WCWIDTH
00429 _GL_WARN_ON_USE (wcwidth, "wcwidth is unportable - "
00430 "use gnulib module wcwidth for portability");
00431 # endif
00432 #endif
00433
00434
00435
00436 #if @GNULIB_WMEMCHR@
00437 # if !@HAVE_WMEMCHR@
00438 _GL_FUNCDECL_SYS (wmemchr, wchar_t *, (const wchar_t *s, wchar_t c, size_t n));
00439 # endif
00440 _GL_CXXALIAS_SYS (wmemchr, wchar_t *, (const wchar_t *s, wchar_t c, size_t n));
00441 _GL_CXXALIASWARN (wmemchr);
00442 #elif defined GNULIB_POSIXCHECK
00443 # undef wmemchr
00444 # if HAVE_RAW_DECL_WMEMCHR
00445 _GL_WARN_ON_USE (wmemchr, "wmemchr is unportable - "
00446 "use gnulib module wmemchr for portability");
00447 # endif
00448 #endif
00449
00450
00451
00452 #if @GNULIB_WMEMCMP@
00453 # if !@HAVE_WMEMCMP@
00454 _GL_FUNCDECL_SYS (wmemcmp, int,
00455 (const wchar_t *s1, const wchar_t *s2, size_t n));
00456 # endif
00457 _GL_CXXALIAS_SYS (wmemcmp, int,
00458 (const wchar_t *s1, const wchar_t *s2, size_t n));
00459 _GL_CXXALIASWARN (wmemcmp);
00460 #elif defined GNULIB_POSIXCHECK
00461 # undef wmemcmp
00462 # if HAVE_RAW_DECL_WMEMCMP
00463 _GL_WARN_ON_USE (wmemcmp, "wmemcmp is unportable - "
00464 "use gnulib module wmemcmp for portability");
00465 # endif
00466 #endif
00467
00468
00469
00470 #if @GNULIB_WMEMCPY@
00471 # if !@HAVE_WMEMCPY@
00472 _GL_FUNCDECL_SYS (wmemcpy, wchar_t *,
00473 (wchar_t *dest, const wchar_t *src, size_t n));
00474 # endif
00475 _GL_CXXALIAS_SYS (wmemcpy, wchar_t *,
00476 (wchar_t *dest, const wchar_t *src, size_t n));
00477 _GL_CXXALIASWARN (wmemcpy);
00478 #elif defined GNULIB_POSIXCHECK
00479 # undef wmemcpy
00480 # if HAVE_RAW_DECL_WMEMCPY
00481 _GL_WARN_ON_USE (wmemcpy, "wmemcpy is unportable - "
00482 "use gnulib module wmemcpy for portability");
00483 # endif
00484 #endif
00485
00486
00487
00488
00489 #if @GNULIB_WMEMMOVE@
00490 # if !@HAVE_WMEMMOVE@
00491 _GL_FUNCDECL_SYS (wmemmove, wchar_t *,
00492 (wchar_t *dest, const wchar_t *src, size_t n));
00493 # endif
00494 _GL_CXXALIAS_SYS (wmemmove, wchar_t *,
00495 (wchar_t *dest, const wchar_t *src, size_t n));
00496 _GL_CXXALIASWARN (wmemmove);
00497 #elif defined GNULIB_POSIXCHECK
00498 # undef wmemmove
00499 # if HAVE_RAW_DECL_WMEMMOVE
00500 _GL_WARN_ON_USE (wmemmove, "wmemmove is unportable - "
00501 "use gnulib module wmemmove for portability");
00502 # endif
00503 #endif
00504
00505
00506
00507 #if @GNULIB_WMEMSET@
00508 # if !@HAVE_WMEMSET@
00509 _GL_FUNCDECL_SYS (wmemset, wchar_t *, (wchar_t *s, wchar_t c, size_t n));
00510 # endif
00511 _GL_CXXALIAS_SYS (wmemset, wchar_t *, (wchar_t *s, wchar_t c, size_t n));
00512 _GL_CXXALIASWARN (wmemset);
00513 #elif defined GNULIB_POSIXCHECK
00514 # undef wmemset
00515 # if HAVE_RAW_DECL_WMEMSET
00516 _GL_WARN_ON_USE (wmemset, "wmemset is unportable - "
00517 "use gnulib module wmemset for portability");
00518 # endif
00519 #endif
00520
00521
00522
00523 #if @GNULIB_WCSLEN@
00524 # if !@HAVE_WCSLEN@
00525 _GL_FUNCDECL_SYS (wcslen, size_t, (const wchar_t *s));
00526 # endif
00527 _GL_CXXALIAS_SYS (wcslen, size_t, (const wchar_t *s));
00528 _GL_CXXALIASWARN (wcslen);
00529 #elif defined GNULIB_POSIXCHECK
00530 # undef wcslen
00531 # if HAVE_RAW_DECL_WCSLEN
00532 _GL_WARN_ON_USE (wcslen, "wcslen is unportable - "
00533 "use gnulib module wcslen for portability");
00534 # endif
00535 #endif
00536
00537
00538
00539 #if @GNULIB_WCSNLEN@
00540 # if !@HAVE_WCSNLEN@
00541 _GL_FUNCDECL_SYS (wcsnlen, size_t, (const wchar_t *s, size_t maxlen));
00542 # endif
00543 _GL_CXXALIAS_SYS (wcsnlen, size_t, (const wchar_t *s, size_t maxlen));
00544 _GL_CXXALIASWARN (wcsnlen);
00545 #elif defined GNULIB_POSIXCHECK
00546 # undef wcsnlen
00547 # if HAVE_RAW_DECL_WCSNLEN
00548 _GL_WARN_ON_USE (wcsnlen, "wcsnlen is unportable - "
00549 "use gnulib module wcsnlen for portability");
00550 # endif
00551 #endif
00552
00553
00554
00555 #if @GNULIB_WCSCPY@
00556 # if !@HAVE_WCSCPY@
00557 _GL_FUNCDECL_SYS (wcscpy, wchar_t *, (wchar_t *dest, const wchar_t *src));
00558 # endif
00559 _GL_CXXALIAS_SYS (wcscpy, wchar_t *, (wchar_t *dest, const wchar_t *src));
00560 _GL_CXXALIASWARN (wcscpy);
00561 #elif defined GNULIB_POSIXCHECK
00562 # undef wcscpy
00563 # if HAVE_RAW_DECL_WCSCPY
00564 _GL_WARN_ON_USE (wcscpy, "wcscpy is unportable - "
00565 "use gnulib module wcscpy for portability");
00566 # endif
00567 #endif
00568
00569
00570
00571 #if @GNULIB_WCPCPY@
00572 # if !@HAVE_WCPCPY@
00573 _GL_FUNCDECL_SYS (wcpcpy, wchar_t *, (wchar_t *dest, const wchar_t *src));
00574 # endif
00575 _GL_CXXALIAS_SYS (wcpcpy, wchar_t *, (wchar_t *dest, const wchar_t *src));
00576 _GL_CXXALIASWARN (wcpcpy);
00577 #elif defined GNULIB_POSIXCHECK
00578 # undef wcpcpy
00579 # if HAVE_RAW_DECL_WCPCPY
00580 _GL_WARN_ON_USE (wcpcpy, "wcpcpy is unportable - "
00581 "use gnulib module wcpcpy for portability");
00582 # endif
00583 #endif
00584
00585
00586
00587 #if @GNULIB_WCSNCPY@
00588 # if !@HAVE_WCSNCPY@
00589 _GL_FUNCDECL_SYS (wcsncpy, wchar_t *,
00590 (wchar_t *dest, const wchar_t *src, size_t n));
00591 # endif
00592 _GL_CXXALIAS_SYS (wcsncpy, wchar_t *,
00593 (wchar_t *dest, const wchar_t *src, size_t n));
00594 _GL_CXXALIASWARN (wcsncpy);
00595 #elif defined GNULIB_POSIXCHECK
00596 # undef wcsncpy
00597 # if HAVE_RAW_DECL_WCSNCPY
00598 _GL_WARN_ON_USE (wcsncpy, "wcsncpy is unportable - "
00599 "use gnulib module wcsncpy for portability");
00600 # endif
00601 #endif
00602
00603
00604
00605
00606 #if @GNULIB_WCPNCPY@
00607 # if !@HAVE_WCPNCPY@
00608 _GL_FUNCDECL_SYS (wcpncpy, wchar_t *,
00609 (wchar_t *dest, const wchar_t *src, size_t n));
00610 # endif
00611 _GL_CXXALIAS_SYS (wcpncpy, wchar_t *,
00612 (wchar_t *dest, const wchar_t *src, size_t n));
00613 _GL_CXXALIASWARN (wcpncpy);
00614 #elif defined GNULIB_POSIXCHECK
00615 # undef wcpncpy
00616 # if HAVE_RAW_DECL_WCPNCPY
00617 _GL_WARN_ON_USE (wcpncpy, "wcpncpy is unportable - "
00618 "use gnulib module wcpncpy for portability");
00619 # endif
00620 #endif
00621
00622
00623
00624 #if @GNULIB_WCSCAT@
00625 # if !@HAVE_WCSCAT@
00626 _GL_FUNCDECL_SYS (wcscat, wchar_t *, (wchar_t *dest, const wchar_t *src));
00627 # endif
00628 _GL_CXXALIAS_SYS (wcscat, wchar_t *, (wchar_t *dest, const wchar_t *src));
00629 _GL_CXXALIASWARN (wcscat);
00630 #elif defined GNULIB_POSIXCHECK
00631 # undef wcscat
00632 # if HAVE_RAW_DECL_WCSCAT
00633 _GL_WARN_ON_USE (wcscat, "wcscat is unportable - "
00634 "use gnulib module wcscat for portability");
00635 # endif
00636 #endif
00637
00638
00639
00640 #if @GNULIB_WCSNCAT@
00641 # if !@HAVE_WCSNCAT@
00642 _GL_FUNCDECL_SYS (wcsncat, wchar_t *,
00643 (wchar_t *dest, const wchar_t *src, size_t n));
00644 # endif
00645 _GL_CXXALIAS_SYS (wcsncat, wchar_t *,
00646 (wchar_t *dest, const wchar_t *src, size_t n));
00647 _GL_CXXALIASWARN (wcsncat);
00648 #elif defined GNULIB_POSIXCHECK
00649 # undef wcsncat
00650 # if HAVE_RAW_DECL_WCSNCAT
00651 _GL_WARN_ON_USE (wcsncat, "wcsncat is unportable - "
00652 "use gnulib module wcsncat for portability");
00653 # endif
00654 #endif
00655
00656
00657
00658 #if @GNULIB_WCSCMP@
00659 # if !@HAVE_WCSCMP@
00660 _GL_FUNCDECL_SYS (wcscmp, int, (const wchar_t *s1, const wchar_t *s2));
00661 # endif
00662 _GL_CXXALIAS_SYS (wcscmp, int, (const wchar_t *s1, const wchar_t *s2));
00663 _GL_CXXALIASWARN (wcscmp);
00664 #elif defined GNULIB_POSIXCHECK
00665 # undef wcscmp
00666 # if HAVE_RAW_DECL_WCSCMP
00667 _GL_WARN_ON_USE (wcscmp, "wcscmp is unportable - "
00668 "use gnulib module wcscmp for portability");
00669 # endif
00670 #endif
00671
00672
00673
00674 #if @GNULIB_WCSNCMP@
00675 # if !@HAVE_WCSNCMP@
00676 _GL_FUNCDECL_SYS (wcsncmp, int,
00677 (const wchar_t *s1, const wchar_t *s2, size_t n));
00678 # endif
00679 _GL_CXXALIAS_SYS (wcsncmp, int,
00680 (const wchar_t *s1, const wchar_t *s2, size_t n));
00681 _GL_CXXALIASWARN (wcsncmp);
00682 #elif defined GNULIB_POSIXCHECK
00683 # undef wcsncmp
00684 # if HAVE_RAW_DECL_WCSNCMP
00685 _GL_WARN_ON_USE (wcsncmp, "wcsncmp is unportable - "
00686 "use gnulib module wcsncmp for portability");
00687 # endif
00688 #endif
00689
00690
00691
00692 #if @GNULIB_WCSCASECMP@
00693 # if !@HAVE_WCSCASECMP@
00694 _GL_FUNCDECL_SYS (wcscasecmp, int, (const wchar_t *s1, const wchar_t *s2));
00695 # endif
00696 _GL_CXXALIAS_SYS (wcscasecmp, int, (const wchar_t *s1, const wchar_t *s2));
00697 _GL_CXXALIASWARN (wcscasecmp);
00698 #elif defined GNULIB_POSIXCHECK
00699 # undef wcscasecmp
00700 # if HAVE_RAW_DECL_WCSCASECMP
00701 _GL_WARN_ON_USE (wcscasecmp, "wcscasecmp is unportable - "
00702 "use gnulib module wcscasecmp for portability");
00703 # endif
00704 #endif
00705
00706
00707
00708 #if @GNULIB_WCSNCASECMP@
00709 # if !@HAVE_WCSNCASECMP@
00710 _GL_FUNCDECL_SYS (wcsncasecmp, int,
00711 (const wchar_t *s1, const wchar_t *s2, size_t n));
00712 # endif
00713 _GL_CXXALIAS_SYS (wcsncasecmp, int,
00714 (const wchar_t *s1, const wchar_t *s2, size_t n));
00715 _GL_CXXALIASWARN (wcsncasecmp);
00716 #elif defined GNULIB_POSIXCHECK
00717 # undef wcsncasecmp
00718 # if HAVE_RAW_DECL_WCSNCASECMP
00719 _GL_WARN_ON_USE (wcsncasecmp, "wcsncasecmp is unportable - "
00720 "use gnulib module wcsncasecmp for portability");
00721 # endif
00722 #endif
00723
00724
00725
00726
00727 #if @GNULIB_WCSCOLL@
00728 # if !@HAVE_WCSCOLL@
00729 _GL_FUNCDECL_SYS (wcscoll, int, (const wchar_t *s1, const wchar_t *s2));
00730 # endif
00731 _GL_CXXALIAS_SYS (wcscoll, int, (const wchar_t *s1, const wchar_t *s2));
00732 _GL_CXXALIASWARN (wcscoll);
00733 #elif defined GNULIB_POSIXCHECK
00734 # undef wcscoll
00735 # if HAVE_RAW_DECL_WCSCOLL
00736 _GL_WARN_ON_USE (wcscoll, "wcscoll is unportable - "
00737 "use gnulib module wcscoll for portability");
00738 # endif
00739 #endif
00740
00741
00742
00743
00744
00745 #if @GNULIB_WCSXFRM@
00746 # if !@HAVE_WCSXFRM@
00747 _GL_FUNCDECL_SYS (wcsxfrm, size_t, (wchar_t *s1, const wchar_t *s2, size_t n));
00748 # endif
00749 _GL_CXXALIAS_SYS (wcsxfrm, size_t, (wchar_t *s1, const wchar_t *s2, size_t n));
00750 _GL_CXXALIASWARN (wcsxfrm);
00751 #elif defined GNULIB_POSIXCHECK
00752 # undef wcsxfrm
00753 # if HAVE_RAW_DECL_WCSXFRM
00754 _GL_WARN_ON_USE (wcsxfrm, "wcsxfrm is unportable - "
00755 "use gnulib module wcsxfrm for portability");
00756 # endif
00757 #endif
00758
00759
00760
00761 #if @GNULIB_WCSDUP@
00762 # if !@HAVE_WCSDUP@
00763 _GL_FUNCDECL_SYS (wcsdup, wchar_t *, (const wchar_t *s));
00764 # endif
00765 _GL_CXXALIAS_SYS (wcsdup, wchar_t *, (const wchar_t *s));
00766 _GL_CXXALIASWARN (wcsdup);
00767 #elif defined GNULIB_POSIXCHECK
00768 # undef wcsdup
00769 # if HAVE_RAW_DECL_WCSDUP
00770 _GL_WARN_ON_USE (wcsdup, "wcsdup is unportable - "
00771 "use gnulib module wcsdup for portability");
00772 # endif
00773 #endif
00774
00775
00776
00777 #if @GNULIB_WCSCHR@
00778 # if !@HAVE_WCSCHR@
00779 _GL_FUNCDECL_SYS (wcschr, wchar_t *, (const wchar_t *wcs, wchar_t wc));
00780 # endif
00781 _GL_CXXALIAS_SYS (wcschr, wchar_t *, (const wchar_t *wcs, wchar_t wc));
00782 _GL_CXXALIASWARN (wcschr);
00783 #elif defined GNULIB_POSIXCHECK
00784 # undef wcschr
00785 # if HAVE_RAW_DECL_WCSCHR
00786 _GL_WARN_ON_USE (wcschr, "wcschr is unportable - "
00787 "use gnulib module wcschr for portability");
00788 # endif
00789 #endif
00790
00791
00792
00793 #if @GNULIB_WCSRCHR@
00794 # if !@HAVE_WCSRCHR@
00795 _GL_FUNCDECL_SYS (wcsrchr, wchar_t *, (const wchar_t *wcs, wchar_t wc));
00796 # endif
00797 _GL_CXXALIAS_SYS (wcsrchr, wchar_t *, (const wchar_t *wcs, wchar_t wc));
00798 _GL_CXXALIASWARN (wcsrchr);
00799 #elif defined GNULIB_POSIXCHECK
00800 # undef wcsrchr
00801 # if HAVE_RAW_DECL_WCSRCHR
00802 _GL_WARN_ON_USE (wcsrchr, "wcsrchr is unportable - "
00803 "use gnulib module wcsrchr for portability");
00804 # endif
00805 #endif
00806
00807
00808
00809
00810 #if @GNULIB_WCSCSPN@
00811 # if !@HAVE_WCSCSPN@
00812 _GL_FUNCDECL_SYS (wcscspn, size_t, (const wchar_t *wcs, const wchar_t *reject));
00813 # endif
00814 _GL_CXXALIAS_SYS (wcscspn, size_t, (const wchar_t *wcs, const wchar_t *reject));
00815 _GL_CXXALIASWARN (wcscspn);
00816 #elif defined GNULIB_POSIXCHECK
00817 # undef wcscspn
00818 # if HAVE_RAW_DECL_WCSCSPN
00819 _GL_WARN_ON_USE (wcscspn, "wcscspn is unportable - "
00820 "use gnulib module wcscspn for portability");
00821 # endif
00822 #endif
00823
00824
00825
00826
00827 #if @GNULIB_WCSSPN@
00828 # if !@HAVE_WCSSPN@
00829 _GL_FUNCDECL_SYS (wcsspn, size_t, (const wchar_t *wcs, const wchar_t *accept));
00830 # endif
00831 _GL_CXXALIAS_SYS (wcsspn, size_t, (const wchar_t *wcs, const wchar_t *accept));
00832 _GL_CXXALIASWARN (wcsspn);
00833 #elif defined GNULIB_POSIXCHECK
00834 # undef wcsspn
00835 # if HAVE_RAW_DECL_WCSSPN
00836 _GL_WARN_ON_USE (wcsspn, "wcsspn is unportable - "
00837 "use gnulib module wcsspn for portability");
00838 # endif
00839 #endif
00840
00841
00842
00843 #if @GNULIB_WCSPBRK@
00844 # if !@HAVE_WCSPBRK@
00845 _GL_FUNCDECL_SYS (wcspbrk, wchar_t *,
00846 (const wchar_t *wcs, const wchar_t *accept));
00847 # endif
00848 _GL_CXXALIAS_SYS (wcspbrk, wchar_t *,
00849 (const wchar_t *wcs, const wchar_t *accept));
00850 _GL_CXXALIASWARN (wcspbrk);
00851 #elif defined GNULIB_POSIXCHECK
00852 # undef wcspbrk
00853 # if HAVE_RAW_DECL_WCSPBRK
00854 _GL_WARN_ON_USE (wcspbrk, "wcspbrk is unportable - "
00855 "use gnulib module wcspbrk for portability");
00856 # endif
00857 #endif
00858
00859
00860
00861 #if @GNULIB_WCSSTR@
00862 # if !@HAVE_WCSSTR@
00863 _GL_FUNCDECL_SYS (wcsstr, wchar_t *,
00864 (const wchar_t *haystack, const wchar_t *needle));
00865 # endif
00866 _GL_CXXALIAS_SYS (wcsstr, wchar_t *,
00867 (const wchar_t *haystack, const wchar_t *needle));
00868 _GL_CXXALIASWARN (wcsstr);
00869 #elif defined GNULIB_POSIXCHECK
00870 # undef wcsstr
00871 # if HAVE_RAW_DECL_WCSSTR
00872 _GL_WARN_ON_USE (wcsstr, "wcsstr is unportable - "
00873 "use gnulib module wcsstr for portability");
00874 # endif
00875 #endif
00876
00877
00878
00879 #if @GNULIB_WCSTOK@
00880 # if !@HAVE_WCSTOK@
00881 _GL_FUNCDECL_SYS (wcstok, wchar_t *,
00882 (wchar_t *wcs, const wchar_t *delim, wchar_t **ptr));
00883 # endif
00884 _GL_CXXALIAS_SYS (wcstok, wchar_t *,
00885 (wchar_t *wcs, const wchar_t *delim, wchar_t **ptr));
00886 _GL_CXXALIASWARN (wcstok);
00887 #elif defined GNULIB_POSIXCHECK
00888 # undef wcstok
00889 # if HAVE_RAW_DECL_WCSTOK
00890 _GL_WARN_ON_USE (wcstok, "wcstok is unportable - "
00891 "use gnulib module wcstok for portability");
00892 # endif
00893 #endif
00894
00895
00896
00897
00898 #if @GNULIB_WCSWIDTH@
00899 # if @REPLACE_WCSWIDTH@
00900 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
00901 # undef wcswidth
00902 # define wcswidth rpl_wcswidth
00903 # endif
00904 _GL_FUNCDECL_RPL (wcswidth, int, (const wchar_t *s, size_t n));
00905 _GL_CXXALIAS_RPL (wcswidth, int, (const wchar_t *s, size_t n));
00906 # else
00907 # if !@HAVE_WCSWIDTH@
00908 _GL_FUNCDECL_SYS (wcswidth, int, (const wchar_t *s, size_t n));
00909 # endif
00910 _GL_CXXALIAS_SYS (wcswidth, int, (const wchar_t *s, size_t n));
00911 # endif
00912 _GL_CXXALIASWARN (wcswidth);
00913 #elif defined GNULIB_POSIXCHECK
00914 # undef wcswidth
00915 # if HAVE_RAW_DECL_WCSWIDTH
00916 _GL_WARN_ON_USE (wcswidth, "wcswidth is unportable - "
00917 "use gnulib module wcswidth for portability");
00918 # endif
00919 #endif
00920
00921
00922 #endif
00923 #endif
00924 #endif