1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2014-04-24 00:51+0900\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <LL@li.org>\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
20 #: build/C/man3/btowc.3:16
26 #: build/C/man3/btowc.3:16 build/C/man3/wctob.3:16
32 #: build/C/man3/btowc.3:16 build/C/man3/fgetws.3:18 build/C/man3/fputws.3:16 build/C/man3/fwide.3:16 build/C/man3/getwchar.3:17 build/C/man3/mbrlen.3:16 build/C/man3/mbrtowc.3:17 build/C/man3/mbsinit.3:16 build/C/man3/mbsnrtowcs.3:15 build/C/man3/mbsrtowcs.3:16 build/C/man3/putwchar.3:17 build/C/man3/ungetwc.3:16 build/C/man3/wcpcpy.3:15 build/C/man3/wcpncpy.3:15 build/C/man3/wcrtomb.3:16 build/C/man3/wcscasecmp.3:15 build/C/man3/wcscat.3:16 build/C/man3/wcschr.3:16 build/C/man3/wcscmp.3:16 build/C/man3/wcscpy.3:16 build/C/man3/wcscspn.3:16 build/C/man3/wcsdup.3:15 build/C/man3/wcslen.3:16 build/C/man3/wcsncasecmp.3:15 build/C/man3/wcsncat.3:16 build/C/man3/wcsncmp.3:16 build/C/man3/wcsncpy.3:16 build/C/man3/wcsnlen.3:15 build/C/man3/wcsnrtombs.3:15 build/C/man3/wcspbrk.3:16 build/C/man3/wcsrchr.3:16 build/C/man3/wcsrtombs.3:16 build/C/man3/wcsspn.3:16 build/C/man3/wcsstr.3:16 build/C/man3/wcstok.3:16 build/C/man3/wcswidth.3:15 build/C/man3/wctob.3:16 build/C/man3/wcwidth.3:15 build/C/man3/wmemchr.3:16 build/C/man3/wmemcmp.3:15 build/C/man3/wmemcpy.3:16 build/C/man3/wmemmove.3:16 build/C/man3/wmemset.3:16
38 #: build/C/man3/btowc.3:16 build/C/man3/fgetws.3:18 build/C/man3/fputws.3:16 build/C/man3/fwide.3:16 build/C/man3/getwchar.3:17 build/C/man3/mbrlen.3:16 build/C/man3/mbrtowc.3:17 build/C/man3/mbsinit.3:16 build/C/man3/mbsnrtowcs.3:15 build/C/man3/mbsrtowcs.3:16 build/C/man3/putwchar.3:17 build/C/man3/ungetwc.3:16 build/C/man3/wcpcpy.3:15 build/C/man3/wcpncpy.3:15 build/C/man3/wcrtomb.3:16 build/C/man3/wcscasecmp.3:15 build/C/man3/wcscat.3:16 build/C/man3/wcschr.3:16 build/C/man3/wcscmp.3:16 build/C/man3/wcscpy.3:16 build/C/man3/wcscspn.3:16 build/C/man3/wcsdup.3:15 build/C/man3/wcslen.3:16 build/C/man3/wcsncasecmp.3:15 build/C/man3/wcsncat.3:16 build/C/man3/wcsncmp.3:16 build/C/man3/wcsncpy.3:16 build/C/man3/wcsnlen.3:15 build/C/man3/wcsnrtombs.3:15 build/C/man3/wcspbrk.3:16 build/C/man3/wcsrchr.3:16 build/C/man3/wcsrtombs.3:16 build/C/man3/wcsspn.3:16 build/C/man3/wcsstr.3:16 build/C/man3/wcstoimax.3:24 build/C/man3/wcstok.3:16 build/C/man3/wcswidth.3:15 build/C/man3/wctob.3:16 build/C/man3/wcwidth.3:15 build/C/man3/wmemchr.3:16 build/C/man3/wmemcmp.3:15 build/C/man3/wmemcpy.3:16 build/C/man3/wmemmove.3:16 build/C/man3/wmemset.3:16
40 msgid "Linux Programmer's Manual"
44 #: build/C/man3/btowc.3:17 build/C/man3/fgetws.3:19 build/C/man3/fputws.3:17 build/C/man3/fwide.3:17 build/C/man3/getwchar.3:18 build/C/man3/mbrlen.3:17 build/C/man3/mbrtowc.3:18 build/C/man3/mbsinit.3:17 build/C/man3/mbsnrtowcs.3:16 build/C/man3/mbsrtowcs.3:17 build/C/man3/putwchar.3:18 build/C/man3/ungetwc.3:17 build/C/man3/wcpcpy.3:16 build/C/man3/wcpncpy.3:16 build/C/man3/wcrtomb.3:17 build/C/man3/wcscasecmp.3:16 build/C/man3/wcscat.3:17 build/C/man3/wcschr.3:17 build/C/man3/wcscmp.3:17 build/C/man3/wcscpy.3:17 build/C/man3/wcscspn.3:17 build/C/man3/wcsdup.3:16 build/C/man3/wcslen.3:17 build/C/man3/wcsncasecmp.3:16 build/C/man3/wcsncat.3:17 build/C/man3/wcsncmp.3:17 build/C/man3/wcsncpy.3:17 build/C/man3/wcsnlen.3:16 build/C/man3/wcsnrtombs.3:16 build/C/man3/wcspbrk.3:17 build/C/man3/wcsrchr.3:17 build/C/man3/wcsrtombs.3:17 build/C/man3/wcsspn.3:17 build/C/man3/wcsstr.3:17 build/C/man3/wcstoimax.3:25 build/C/man3/wcstok.3:17 build/C/man3/wcswidth.3:16 build/C/man3/wctob.3:17 build/C/man3/wcwidth.3:16 build/C/man3/wmemchr.3:17 build/C/man3/wmemcmp.3:16 build/C/man3/wmemcpy.3:17 build/C/man3/wmemmove.3:17 build/C/man3/wmemset.3:17
50 #: build/C/man3/btowc.3:19
51 msgid "btowc - convert single byte to wide character"
55 #: build/C/man3/btowc.3:19 build/C/man3/fgetws.3:21 build/C/man3/fputws.3:19 build/C/man3/fwide.3:19 build/C/man3/getwchar.3:20 build/C/man3/mbrlen.3:19 build/C/man3/mbrtowc.3:20 build/C/man3/mbsinit.3:19 build/C/man3/mbsnrtowcs.3:18 build/C/man3/mbsrtowcs.3:19 build/C/man3/putwchar.3:20 build/C/man3/ungetwc.3:19 build/C/man3/wcpcpy.3:18 build/C/man3/wcpncpy.3:19 build/C/man3/wcrtomb.3:19 build/C/man3/wcscasecmp.3:18 build/C/man3/wcscat.3:19 build/C/man3/wcschr.3:19 build/C/man3/wcscmp.3:19 build/C/man3/wcscpy.3:19 build/C/man3/wcscspn.3:19 build/C/man3/wcsdup.3:18 build/C/man3/wcslen.3:19 build/C/man3/wcsncasecmp.3:18 build/C/man3/wcsncat.3:19 build/C/man3/wcsncmp.3:19 build/C/man3/wcsncpy.3:19 build/C/man3/wcsnlen.3:18 build/C/man3/wcsnrtombs.3:18 build/C/man3/wcspbrk.3:19 build/C/man3/wcsrchr.3:19 build/C/man3/wcsrtombs.3:19 build/C/man3/wcsspn.3:20 build/C/man3/wcsstr.3:19 build/C/man3/wcstoimax.3:27 build/C/man3/wcstok.3:19 build/C/man3/wcswidth.3:18 build/C/man3/wctob.3:19 build/C/man3/wcwidth.3:18 build/C/man3/wmemchr.3:19 build/C/man3/wmemcmp.3:18 build/C/man3/wmemcpy.3:19 build/C/man3/wmemmove.3:19 build/C/man3/wmemset.3:19
61 #: build/C/man3/btowc.3:22 build/C/man3/fgetws.3:24 build/C/man3/fputws.3:22 build/C/man3/fwide.3:22 build/C/man3/getwchar.3:23 build/C/man3/mbrlen.3:22 build/C/man3/mbrtowc.3:23 build/C/man3/mbsinit.3:22 build/C/man3/mbsnrtowcs.3:21 build/C/man3/mbsrtowcs.3:22 build/C/man3/putwchar.3:23 build/C/man3/ungetwc.3:22 build/C/man3/wcpcpy.3:21 build/C/man3/wcpncpy.3:22 build/C/man3/wcrtomb.3:22 build/C/man3/wcscasecmp.3:21 build/C/man3/wcscat.3:22 build/C/man3/wcschr.3:22 build/C/man3/wcscmp.3:22 build/C/man3/wcscpy.3:22 build/C/man3/wcscspn.3:22 build/C/man3/wcsdup.3:21 build/C/man3/wcslen.3:22 build/C/man3/wcsncasecmp.3:21 build/C/man3/wcsncat.3:22 build/C/man3/wcsncmp.3:22 build/C/man3/wcsncpy.3:22 build/C/man3/wcsnlen.3:21 build/C/man3/wcsnrtombs.3:21 build/C/man3/wcspbrk.3:22 build/C/man3/wcsrchr.3:22 build/C/man3/wcsrtombs.3:22 build/C/man3/wcsspn.3:23 build/C/man3/wcsstr.3:22 build/C/man3/wcstok.3:22 build/C/man3/wctob.3:22 build/C/man3/wmemchr.3:22 build/C/man3/wmemcmp.3:21 build/C/man3/wmemcpy.3:22 build/C/man3/wmemmove.3:22 build/C/man3/wmemset.3:22
63 msgid "B<#include E<lt>wchar.hE<gt>>\n"
67 #: build/C/man3/btowc.3:24
69 msgid "B<wint_t btowc(int >I<c>B<);>\n"
73 #: build/C/man3/btowc.3:25 build/C/man3/fgetws.3:27 build/C/man3/fputws.3:25 build/C/man3/fwide.3:42 build/C/man3/getwchar.3:26 build/C/man3/mbrlen.3:25 build/C/man3/mbrtowc.3:27 build/C/man3/mbsinit.3:25 build/C/man3/mbsnrtowcs.3:44 build/C/man3/mbsrtowcs.3:26 build/C/man3/putwchar.3:26 build/C/man3/ungetwc.3:25 build/C/man3/wcpcpy.3:43 build/C/man3/wcpncpy.3:44 build/C/man3/wcrtomb.3:25 build/C/man3/wcscasecmp.3:43 build/C/man3/wcscat.3:25 build/C/man3/wcschr.3:25 build/C/man3/wcscmp.3:25 build/C/man3/wcscpy.3:25 build/C/man3/wcscspn.3:25 build/C/man3/wcsdup.3:43 build/C/man3/wcslen.3:25 build/C/man3/wcsncasecmp.3:43 build/C/man3/wcsncat.3:25 build/C/man3/wcsncmp.3:25 build/C/man3/wcsncpy.3:25 build/C/man3/wcsnlen.3:43 build/C/man3/wcsnrtombs.3:44 build/C/man3/wcspbrk.3:25 build/C/man3/wcsrchr.3:25 build/C/man3/wcsrtombs.3:26 build/C/man3/wcsspn.3:26 build/C/man3/wcsstr.3:25 build/C/man3/wcstoimax.3:39 build/C/man3/wcstok.3:26 build/C/man3/wcswidth.3:25 build/C/man3/wctob.3:25 build/C/man3/wcwidth.3:25 build/C/man3/wmemchr.3:25 build/C/man3/wmemcmp.3:24 build/C/man3/wmemcpy.3:25 build/C/man3/wmemmove.3:25 build/C/man3/wmemset.3:25
79 #: build/C/man3/btowc.3:39
81 "The B<btowc>() function converts I<c>, interpreted as a multibyte sequence "
82 "of length 1, starting in the initial shift state, to a wide character and "
83 "returns it. If I<c> is B<EOF> or not a valid multibyte sequence of length "
84 "1, the B<btowc>() function returns B<WEOF>."
88 #: build/C/man3/btowc.3:39 build/C/man3/fgetws.3:46 build/C/man3/fputws.3:37 build/C/man3/fwide.3:69 build/C/man3/getwchar.3:49 build/C/man3/mbrlen.3:81 build/C/man3/mbrtowc.3:150 build/C/man3/mbsinit.3:76 build/C/man3/mbsnrtowcs.3:150 build/C/man3/mbsrtowcs.3:113 build/C/man3/putwchar.3:52 build/C/man3/ungetwc.3:68 build/C/man3/wcpcpy.3:62 build/C/man3/wcpncpy.3:89 build/C/man3/wcrtomb.3:93 build/C/man3/wcscasecmp.3:58 build/C/man3/wcscat.3:44 build/C/man3/wcschr.3:37 build/C/man3/wcscmp.3:37 build/C/man3/wcscpy.3:45 build/C/man3/wcscspn.3:42 build/C/man3/wcsdup.3:59 build/C/man3/wcslen.3:36 build/C/man3/wcsncasecmp.3:60 build/C/man3/wcsncat.3:47 build/C/man3/wcsncmp.3:42 build/C/man3/wcsncpy.3:65 build/C/man3/wcsnlen.3:64 build/C/man3/wcsnrtombs.3:146 build/C/man3/wcspbrk.3:39 build/C/man3/wcsrchr.3:37 build/C/man3/wcsrtombs.3:112 build/C/man3/wcsspn.3:41 build/C/man3/wcsstr.3:36 build/C/man3/wcstok.3:74 build/C/man3/wcswidth.3:38 build/C/man3/wctob.3:42 build/C/man3/wcwidth.3:39 build/C/man3/wmemchr.3:38 build/C/man3/wmemcmp.3:38 build/C/man3/wmemcpy.3:48 build/C/man3/wmemmove.3:46 build/C/man3/wmemset.3:39
94 #: build/C/man3/btowc.3:49
96 "The B<btowc>() function returns the wide character converted from the "
97 "single byte I<c>. If I<c> is B<EOF> or not a valid multibyte sequence of "
98 "length 1, it returns B<WEOF>."
102 #: build/C/man3/btowc.3:49 build/C/man3/fgetws.3:52 build/C/man3/fputws.3:43 build/C/man3/fwide.3:77 build/C/man3/getwchar.3:55 build/C/man3/mbrlen.3:110 build/C/man3/mbrtowc.3:179 build/C/man3/mbsinit.3:89 build/C/man3/mbsnrtowcs.3:163 build/C/man3/mbsrtowcs.3:126 build/C/man3/putwchar.3:60 build/C/man3/ungetwc.3:82 build/C/man3/wcpcpy.3:72 build/C/man3/wcpncpy.3:98 build/C/man3/wcrtomb.3:109 build/C/man3/wcscasecmp.3:91 build/C/man3/wcscat.3:53 build/C/man3/wcschr.3:52 build/C/man3/wcscmp.3:64 build/C/man3/wcscpy.3:54 build/C/man3/wcscspn.3:66 build/C/man3/wcsdup.3:70 build/C/man3/wcslen.3:47 build/C/man3/wcsncasecmp.3:96 build/C/man3/wcsncat.3:56 build/C/man3/wcsncmp.3:78 build/C/man3/wcsncpy.3:74 build/C/man3/wcsnlen.3:87 build/C/man3/wcsnrtombs.3:160 build/C/man3/wcspbrk.3:54 build/C/man3/wcsrchr.3:52 build/C/man3/wcsrtombs.3:126 build/C/man3/wcsspn.3:65 build/C/man3/wcsstr.3:61 build/C/man3/wcstoimax.3:60 build/C/man3/wcstok.3:84 build/C/man3/wcswidth.3:55 build/C/man3/wctob.3:50 build/C/man3/wcwidth.3:53 build/C/man3/wmemchr.3:56 build/C/man3/wmemcmp.3:75 build/C/man3/wmemcpy.3:57 build/C/man3/wmemmove.3:55 build/C/man3/wmemset.3:48
104 msgid "CONFORMING TO"
108 #: build/C/man3/btowc.3:51 build/C/man3/fgetws.3:54 build/C/man3/fputws.3:45 build/C/man3/fwide.3:79
109 msgid "C99, POSIX.1-2001."
113 #: build/C/man3/btowc.3:51 build/C/man3/fgetws.3:54 build/C/man3/fputws.3:45 build/C/man3/fwide.3:79 build/C/man3/getwchar.3:57 build/C/man3/mbrlen.3:112 build/C/man3/mbrtowc.3:181 build/C/man3/mbsinit.3:91 build/C/man3/mbsnrtowcs.3:165 build/C/man3/mbsrtowcs.3:128 build/C/man3/putwchar.3:62 build/C/man3/ungetwc.3:84 build/C/man3/wcrtomb.3:111 build/C/man3/wcscasecmp.3:95 build/C/man3/wcsncasecmp.3:100 build/C/man3/wcsnrtombs.3:162 build/C/man3/wcsrtombs.3:128 build/C/man3/wcstok.3:86 build/C/man3/wcswidth.3:57 build/C/man3/wctob.3:52 build/C/man3/wcwidth.3:61
119 #: build/C/man3/btowc.3:58
121 "The behavior of B<btowc>() depends on the B<LC_CTYPE> category of the "
126 #: build/C/man3/btowc.3:68
128 "This function should never be used. It does not work for encodings which "
129 "have state, and unnecessarily treats single bytes differently from multibyte "
130 "sequences. Use either B<mbtowc>(3) or the thread-safe B<mbrtowc>(3) "
135 #: build/C/man3/btowc.3:68 build/C/man3/fgetws.3:73 build/C/man3/fputws.3:60 build/C/man3/fwide.3:96 build/C/man3/getwchar.3:70 build/C/man3/mbrlen.3:119 build/C/man3/mbrtowc.3:188 build/C/man3/mbsinit.3:98 build/C/man3/mbsnrtowcs.3:176 build/C/man3/mbsrtowcs.3:139 build/C/man3/putwchar.3:75 build/C/man3/ungetwc.3:91 build/C/man3/wcpcpy.3:74 build/C/man3/wcpncpy.3:100 build/C/man3/wcrtomb.3:122 build/C/man3/wcscasecmp.3:102 build/C/man3/wcscat.3:55 build/C/man3/wcschr.3:54 build/C/man3/wcscmp.3:66 build/C/man3/wcscpy.3:56 build/C/man3/wcscspn.3:68 build/C/man3/wcsdup.3:75 build/C/man3/wcslen.3:49 build/C/man3/wcsncasecmp.3:107 build/C/man3/wcsncat.3:58 build/C/man3/wcsncmp.3:80 build/C/man3/wcsncpy.3:76 build/C/man3/wcsnlen.3:89 build/C/man3/wcsnrtombs.3:173 build/C/man3/wcspbrk.3:56 build/C/man3/wcsrchr.3:54 build/C/man3/wcsrtombs.3:139 build/C/man3/wcsspn.3:67 build/C/man3/wcsstr.3:63 build/C/man3/wcstoimax.3:62 build/C/man3/wcstok.3:104 build/C/man3/wcswidth.3:64 build/C/man3/wctob.3:68 build/C/man3/wcwidth.3:68 build/C/man3/wmemchr.3:58 build/C/man3/wmemcmp.3:77 build/C/man3/wmemcpy.3:59 build/C/man3/wmemmove.3:57 build/C/man3/wmemset.3:50
141 #: build/C/man3/btowc.3:72
142 msgid "B<mbrtowc>(3), B<mbtowc>(3), B<wctob>(3)"
146 #: build/C/man3/btowc.3:72 build/C/man3/fgetws.3:76 build/C/man3/fputws.3:63 build/C/man3/fwide.3:99 build/C/man3/getwchar.3:73 build/C/man3/mbrlen.3:121 build/C/man3/mbrtowc.3:191 build/C/man3/mbsinit.3:104 build/C/man3/mbsnrtowcs.3:181 build/C/man3/mbsrtowcs.3:145 build/C/man3/putwchar.3:78 build/C/man3/ungetwc.3:93 build/C/man3/wcpcpy.3:77 build/C/man3/wcpncpy.3:103 build/C/man3/wcrtomb.3:125 build/C/man3/wcscasecmp.3:105 build/C/man3/wcscat.3:60 build/C/man3/wcschr.3:60 build/C/man3/wcscmp.3:70 build/C/man3/wcscpy.3:62 build/C/man3/wcscspn.3:72 build/C/man3/wcsdup.3:78 build/C/man3/wcslen.3:51 build/C/man3/wcsncasecmp.3:110 build/C/man3/wcsncat.3:61 build/C/man3/wcsncmp.3:83 build/C/man3/wcsncpy.3:78 build/C/man3/wcsnlen.3:92 build/C/man3/wcsnrtombs.3:177 build/C/man3/wcspbrk.3:60 build/C/man3/wcsrchr.3:57 build/C/man3/wcsrtombs.3:145 build/C/man3/wcsspn.3:70 build/C/man3/wcsstr.3:66 build/C/man3/wcstoimax.3:70 build/C/man3/wcstok.3:107 build/C/man3/wcswidth.3:67 build/C/man3/wctob.3:72 build/C/man3/wcwidth.3:71 build/C/man3/wmemchr.3:61 build/C/man3/wmemcmp.3:80 build/C/man3/wmemcpy.3:64 build/C/man3/wmemmove.3:60 build/C/man3/wmemset.3:52
152 #: build/C/man3/btowc.3:79 build/C/man3/fgetws.3:83 build/C/man3/fputws.3:70 build/C/man3/fwide.3:106 build/C/man3/getwchar.3:80 build/C/man3/mbrlen.3:128 build/C/man3/mbrtowc.3:198 build/C/man3/mbsinit.3:111 build/C/man3/mbsnrtowcs.3:188 build/C/man3/mbsrtowcs.3:152 build/C/man3/putwchar.3:85 build/C/man3/ungetwc.3:100 build/C/man3/wcpcpy.3:84 build/C/man3/wcpncpy.3:110 build/C/man3/wcrtomb.3:132 build/C/man3/wcscasecmp.3:112 build/C/man3/wcscat.3:67 build/C/man3/wcschr.3:67 build/C/man3/wcscmp.3:77 build/C/man3/wcscpy.3:69 build/C/man3/wcscspn.3:79 build/C/man3/wcsdup.3:85 build/C/man3/wcslen.3:58 build/C/man3/wcsncasecmp.3:117 build/C/man3/wcsncat.3:68 build/C/man3/wcsncmp.3:90 build/C/man3/wcsncpy.3:85 build/C/man3/wcsnlen.3:99 build/C/man3/wcsnrtombs.3:184 build/C/man3/wcspbrk.3:67 build/C/man3/wcsrchr.3:64 build/C/man3/wcsrtombs.3:152 build/C/man3/wcsspn.3:77 build/C/man3/wcsstr.3:73 build/C/man3/wcstoimax.3:77 build/C/man3/wcstok.3:114 build/C/man3/wcswidth.3:74 build/C/man3/wctob.3:79 build/C/man3/wcwidth.3:78 build/C/man3/wmemchr.3:68 build/C/man3/wmemcmp.3:87 build/C/man3/wmemcpy.3:71 build/C/man3/wmemmove.3:67 build/C/man3/wmemset.3:59
154 "This page is part of release 3.65 of the Linux I<man-pages> project. A "
155 "description of the project, and information about reporting bugs, can be "
156 "found at \\%http://www.kernel.org/doc/man-pages/."
160 #: build/C/man3/fgetws.3:18
166 #: build/C/man3/fgetws.3:18 build/C/man3/fputws.3:16
172 #: build/C/man3/fgetws.3:21
173 msgid "fgetws - read a wide-character string from a FILE stream"
177 #: build/C/man3/fgetws.3:26
179 msgid "B<wchar_t *fgetws(wchar_t *>I<ws>B<, int >I<n>B<, FILE *>I<stream>B<);>\n"
183 #: build/C/man3/fgetws.3:40
185 "The B<fgetws>() function is the wide-character equivalent of the "
186 "B<fgets>(3) function. It reads a string of at most I<n-1> wide characters "
187 "into the wide-character array pointed to by I<ws>, and adds a terminating "
188 "null wide character (L\\(aq\\e0\\(aq). It stops reading wide characters "
189 "after it has encountered and stored a newline wide character. It also stops "
190 "when end of stream is reached."
194 #: build/C/man3/fgetws.3:43
196 "The programmer must ensure that there is room for at least I<n> wide "
197 "characters at I<ws>."
201 #: build/C/man3/fgetws.3:46 build/C/man3/fputws.3:37 build/C/man3/getwchar.3:49 build/C/man3/putwchar.3:52
202 msgid "For a nonlocking counterpart, see B<unlocked_stdio>(3)."
206 #: build/C/man3/fgetws.3:52
208 "The B<fgetws>() function, if successful, returns I<ws>. If end of stream "
209 "was already reached or if an error occurred, it returns NULL."
213 #: build/C/man3/fgetws.3:61
215 "The behavior of B<fgetws>() depends on the B<LC_CTYPE> category of the "
220 #: build/C/man3/fgetws.3:69
222 "In the absence of additional information passed to the B<fopen>(3) call, it "
223 "is reasonable to expect that B<fgetws>() will actually read a multibyte "
224 "string from the stream and then convert it to a wide-character string."
228 #: build/C/man3/fgetws.3:73
230 "This function is unreliable, because it does not permit to deal properly "
231 "with null wide characters that may be present in the input."
235 #: build/C/man3/fgetws.3:76 build/C/man3/getwchar.3:73
236 msgid "B<fgetwc>(3), B<unlocked_stdio>(3)"
240 #: build/C/man3/fputws.3:16
246 #: build/C/man3/fputws.3:19
247 msgid "fputws - write a wide-character string to a FILE stream"
251 #: build/C/man3/fputws.3:24
253 msgid "B<int fputws(const wchar_t *>I<ws>B<, FILE *>I<stream>B<);>\n"
257 #: build/C/man3/fputws.3:34
259 "The B<fputws>() function is the wide-character equivalent of the "
260 "B<fputs>(3) function. It writes the wide-character string starting at "
261 "I<ws>, up to but not including the terminating null wide character "
262 "(L\\(aq\\e0\\(aq), to I<stream>."
266 #: build/C/man3/fputws.3:43
268 "The B<fputws>() function returns a nonnegative integer if the operation was "
269 "successful, or -1 to indicate an error."
273 #: build/C/man3/fputws.3:52
275 "The behavior of B<fputws>() depends on the B<LC_CTYPE> category of the "
280 #: build/C/man3/fputws.3:60
282 "In the absence of additional information passed to the B<fopen>(3) call, it "
283 "is reasonable to expect that B<fputws>() will actually write the multibyte "
284 "string corresponding to the wide-character string I<ws>."
288 #: build/C/man3/fputws.3:63 build/C/man3/putwchar.3:78
289 msgid "B<fputwc>(3), B<unlocked_stdio>(3)"
293 #: build/C/man3/fwide.3:16
299 #: build/C/man3/fwide.3:16
305 #: build/C/man3/fwide.3:19
306 msgid "fwide - set and determine the orientation of a FILE stream"
310 #: build/C/man3/fwide.3:24
312 msgid "B<int fwide(FILE *>I<stream>B<, int >I<mode>B<);>\n"
316 #: build/C/man3/fwide.3:29 build/C/man3/mbsnrtowcs.3:29 build/C/man3/wcpcpy.3:28 build/C/man3/wcpncpy.3:29 build/C/man3/wcscasecmp.3:28 build/C/man3/wcsdup.3:28 build/C/man3/wcsncasecmp.3:28 build/C/man3/wcsnlen.3:28 build/C/man3/wcsnrtombs.3:29
317 msgid "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
321 #: build/C/man3/fwide.3:33
326 #: build/C/man3/fwide.3:35
327 msgid "_XOPEN_SOURCE\\ E<gt>=\\ 500 || _ISOC99_SOURCE ||"
331 #: build/C/man3/fwide.3:37
332 msgid "_POSIX_C_SOURCE\\ E<gt>=\\ 200112L;"
336 #: build/C/man3/fwide.3:40
337 msgid "or I<cc\\ -std=c99>"
341 #: build/C/man3/fwide.3:57
343 "When I<mode> is zero, the B<fwide>() function determines the current "
344 "orientation of I<stream>. It returns a positive value if I<stream> is "
345 "wide-character oriented, that is, if wide-character I/O is permitted but "
346 "char I/O is disallowed. It returns a negative value if I<stream> is byte "
347 "oriented\\(emthat is, if char I/O is permitted but wide-character I/O is "
348 "disallowed. It returns zero if I<stream> has no orientation yet; in this "
349 "case the next I/O operation might change the orientation (to byte oriented "
350 "if it is a char I/O operation, or to wide-character oriented if it is a "
351 "wide-character I/O operation)."
355 #: build/C/man3/fwide.3:60
357 "Once a stream has an orientation, it cannot be changed and persists until "
358 "the stream is closed."
362 #: build/C/man3/fwide.3:69
364 "When I<mode> is nonzero, the B<fwide>() function first attempts to set "
365 "I<stream>'s orientation (to wide-character oriented if I<mode> is greater "
366 "than 0, or to byte oriented if I<mode> is less than 0). It then returns a "
367 "value denoting the current orientation, as above."
371 #: build/C/man3/fwide.3:77
373 "The B<fwide>() function returns the stream's orientation, after possibly "
374 "changing it. A positive return value means wide-character oriented. A "
375 "negative return value means byte oriented. A return value of zero means "
380 #: build/C/man3/fwide.3:87
382 "Wide-character output to a byte oriented stream can be performed through the "
383 "B<fprintf>(3) function with the B<%lc> and B<%ls> directives."
387 #: build/C/man3/fwide.3:96
389 "Char oriented output to a wide-character oriented stream can be performed "
390 "through the B<fwprintf>(3) function with the B<%c> and B<%s> directives."
394 #: build/C/man3/fwide.3:99
395 msgid "B<fprintf>(3), B<fwprintf>(3)"
399 #: build/C/man3/getwchar.3:17
405 #: build/C/man3/getwchar.3:17 build/C/man3/putwchar.3:17
411 #: build/C/man3/getwchar.3:20
412 msgid "getwchar - read a wide character from standard input"
416 #: build/C/man3/getwchar.3:25
418 msgid "B<wint_t getwchar(void);>\n"
422 #: build/C/man3/getwchar.3:46
424 "The B<getwchar>() function is the wide-character equivalent of the "
425 "B<getchar>(3) function. It reads a wide character from I<stdin> and "
426 "returns it. If the end of stream is reached, or if I<ferror(stdin)> becomes "
427 "true, it returns B<WEOF>. If a wide-character conversion error occurs, it "
428 "sets I<errno> to B<EILSEQ> and returns B<WEOF>."
432 #: build/C/man3/getwchar.3:55
434 "The B<getwchar>() function returns the next wide-character from standard "
439 #: build/C/man3/getwchar.3:57 build/C/man3/mbrlen.3:112 build/C/man3/mbrtowc.3:181 build/C/man3/mbsinit.3:91 build/C/man3/mbsrtowcs.3:128 build/C/man3/putwchar.3:62 build/C/man3/ungetwc.3:84 build/C/man3/wcrtomb.3:111 build/C/man3/wcscat.3:55 build/C/man3/wcschr.3:54 build/C/man3/wcscmp.3:66 build/C/man3/wcscpy.3:56 build/C/man3/wcscspn.3:68 build/C/man3/wcslen.3:49 build/C/man3/wcsncat.3:58 build/C/man3/wcsncmp.3:80 build/C/man3/wcsncpy.3:76 build/C/man3/wcspbrk.3:56 build/C/man3/wcsrchr.3:54 build/C/man3/wcsrtombs.3:128 build/C/man3/wcsspn.3:67 build/C/man3/wcsstr.3:63 build/C/man3/wcstoimax.3:62 build/C/man3/wcstok.3:86 build/C/man3/wctob.3:52 build/C/man3/wmemchr.3:58 build/C/man3/wmemcmp.3:77 build/C/man3/wmemcpy.3:59 build/C/man3/wmemmove.3:57 build/C/man3/wmemset.3:50
444 #: build/C/man3/getwchar.3:64
446 "The behavior of B<getwchar>() depends on the B<LC_CTYPE> category of the "
451 #: build/C/man3/getwchar.3:70
453 "It is reasonable to expect that B<getwchar>() will actually read a "
454 "multibyte sequence from standard input and then convert it to a wide "
459 #: build/C/man3/mbrlen.3:16
465 #: build/C/man3/mbrlen.3:16
471 #: build/C/man3/mbrlen.3:19
472 msgid "mbrlen - determine number of bytes in next multibyte character"
476 #: build/C/man3/mbrlen.3:24
479 "B<size_t mbrlen(const char *>I<s>B<, size_t >I<n>B<, mbstate_t "
484 #: build/C/man3/mbrlen.3:43
486 "The B<mbrlen>() function inspects at most I<n> bytes of the multibyte "
487 "string starting at I<s> and extracts the next complete multibyte character. "
488 "It updates the shift state I<*ps>. If the multibyte character is not the "
489 "null wide character, it returns the number of bytes that were consumed from "
490 "I<s>. If the multibyte character is the null wide character, it resets the "
491 "shift state I<*ps> to the initial state and returns 0."
495 #: build/C/man3/mbrlen.3:59
497 "If the I<n> bytes starting at I<s> do not contain a complete multibyte "
498 "character, B<mbrlen>() returns I<(size_t)\\ -2>. This can happen even if "
499 "I<n> E<gt>= I<MB_CUR_MAX>, if the multibyte string contains redundant shift "
504 #: build/C/man3/mbrlen.3:75
506 "If the multibyte string starting at I<s> contains an invalid multibyte "
507 "sequence before the next complete character, B<mbrlen>() returns "
508 "I<(size_t)\\ -1> and sets I<errno> to B<EILSEQ>. In this case, the effects "
509 "on I<*ps> are undefined."
513 #: build/C/man3/mbrlen.3:81
515 "If I<ps> is NULL, a static anonymous state known only to the B<mbrlen>() "
516 "function is used instead."
520 #: build/C/man3/mbrlen.3:104
522 "The B<mbrlen>() function returns the number of bytes parsed from the "
523 "multibyte sequence starting at I<s>, if a non-null wide character was "
524 "recognized. It returns 0, if a null wide character was recognized. It "
525 "returns I<(size_t)\\ -1> and sets I<errno> to B<EILSEQ>, if an invalid "
526 "multibyte sequence was encountered. It returns I<(size_t)\\ -2> if it "
527 "couldn't parse a complete multibyte character, meaning that I<n> should be "
532 #: build/C/man3/mbrlen.3:104 build/C/man3/mbrtowc.3:173 build/C/man3/mbsinit.3:84 build/C/man3/ungetwc.3:77 build/C/man3/wcpcpy.3:67 build/C/man3/wcpncpy.3:93 build/C/man3/wcscasecmp.3:83 build/C/man3/wcscat.3:48 build/C/man3/wcschr.3:47 build/C/man3/wcscmp.3:59 build/C/man3/wcscpy.3:49 build/C/man3/wcscspn.3:61 build/C/man3/wcslen.3:42 build/C/man3/wcsncasecmp.3:88 build/C/man3/wcsncat.3:51 build/C/man3/wcsncmp.3:73 build/C/man3/wcsncpy.3:69 build/C/man3/wcsnlen.3:82 build/C/man3/wcspbrk.3:49 build/C/man3/wcsrchr.3:47 build/C/man3/wcsspn.3:60 build/C/man3/wcsstr.3:56 build/C/man3/wcstoimax.3:49 build/C/man3/wcstok.3:79 build/C/man3/wcswidth.3:47 build/C/man3/wcwidth.3:45 build/C/man3/wmemchr.3:51 build/C/man3/wmemcmp.3:70 build/C/man3/wmemcpy.3:52 build/C/man3/wmemmove.3:50 build/C/man3/wmemset.3:43
538 #: build/C/man3/mbrlen.3:105 build/C/man3/mbrtowc.3:174 build/C/man3/mbsinit.3:85 build/C/man3/ungetwc.3:78 build/C/man3/wcpcpy.3:68 build/C/man3/wcpncpy.3:94 build/C/man3/wcscasecmp.3:84 build/C/man3/wcscat.3:49 build/C/man3/wcschr.3:48 build/C/man3/wcscmp.3:60 build/C/man3/wcscpy.3:50 build/C/man3/wcscspn.3:62 build/C/man3/wcslen.3:43 build/C/man3/wcsncasecmp.3:89 build/C/man3/wcsncat.3:52 build/C/man3/wcsncmp.3:74 build/C/man3/wcsncpy.3:70 build/C/man3/wcsnlen.3:83 build/C/man3/wcspbrk.3:50 build/C/man3/wcsrchr.3:48 build/C/man3/wcsspn.3:61 build/C/man3/wcsstr.3:57 build/C/man3/wcstoimax.3:50 build/C/man3/wcstok.3:80 build/C/man3/wcswidth.3:48 build/C/man3/wcwidth.3:46 build/C/man3/wmemchr.3:52 build/C/man3/wmemcmp.3:71 build/C/man3/wmemcpy.3:53 build/C/man3/wmemmove.3:51 build/C/man3/wmemset.3:44
540 msgid "Multithreading (see pthreads(7))"
544 #: build/C/man3/mbrlen.3:110
546 "The B<mbrlen>() function is thread-safe with exceptions. It is not "
547 "thread-safe if called with a NULL I<ps> parameter."
551 #: build/C/man3/mbrlen.3:119
553 "The behavior of B<mbrlen>() depends on the B<LC_CTYPE> category of the "
558 #: build/C/man3/mbrlen.3:121
559 msgid "B<mbrtowc>(3)"
563 #: build/C/man3/mbrtowc.3:17
569 #: build/C/man3/mbrtowc.3:17 build/C/man3/mbsinit.3:16 build/C/man3/mbsnrtowcs.3:15 build/C/man3/mbsrtowcs.3:16 build/C/man3/wcrtomb.3:16 build/C/man3/wcsnrtombs.3:15 build/C/man3/wcsrtombs.3:16
575 #: build/C/man3/mbrtowc.3:20
576 msgid "mbrtowc - convert a multibyte sequence to a wide character"
580 #: build/C/man3/mbrtowc.3:26
583 "B<size_t mbrtowc(wchar_t *>I<pwc>B<, const char *>I<s>B<, size_t >I<n>B<, "
584 "mbstate_t *>I<ps>B<);>\n"
588 #: build/C/man3/mbrtowc.3:54
590 "The main case for this function is when I<s> is not NULL and I<pwc> is not "
591 "NULL. In this case, the B<mbrtowc>() function inspects at most I<n> bytes "
592 "of the multibyte string starting at I<s>, extracts the next complete "
593 "multibyte character, converts it to a wide character and stores it at "
594 "I<*pwc>. It updates the shift state I<*ps>. If the converted wide "
595 "character is not L\\(aq\\e0\\(aq (the null wide character), it returns the "
596 "number of bytes that were consumed from I<s>. If the converted wide "
597 "character is L\\(aq\\e0\\(aq, it resets the shift state I<*ps> to the "
598 "initial state and returns 0."
602 #: build/C/man3/mbrtowc.3:70
604 "If the I<n> bytes starting at I<s> do not contain a complete multibyte "
605 "character, B<mbrtowc>() returns I<(size_t)\\ -2>. This can happen even if "
606 "I<n> E<gt>= I<MB_CUR_MAX>, if the multibyte string contains redundant shift "
611 #: build/C/man3/mbrtowc.3:86
613 "If the multibyte string starting at I<s> contains an invalid multibyte "
614 "sequence before the next complete character, B<mbrtowc>() returns "
615 "I<(size_t)\\ -1> and sets I<errno> to B<EILSEQ>. In this case, the effects "
616 "on I<*ps> are undefined."
620 #: build/C/man3/mbrtowc.3:96
622 "A different case is when I<s> is not NULL but I<pwc> is NULL. In this case, "
623 "the B<mbrtowc>() function behaves as above, except that it does not store "
624 "the converted wide character in memory."
628 #: build/C/man3/mbrtowc.3:128
630 "A third case is when I<s> is NULL. In this case, I<pwc> and I<n> are "
631 "ignored. If the conversion state represented by I<*ps> denotes an "
632 "incomplete multibyte character conversion, the B<mbrtowc>() function "
633 "returns I<(size_t)\\ -1>, sets I<errno> to B<EILSEQ>, and leaves I<*ps> in "
634 "an undefined state. Otherwise, the B<mbrtowc>() function puts I<*ps> in "
635 "the initial state and returns 0."
639 #: build/C/man3/mbrtowc.3:146
641 "In all of the above cases, if I<ps> is NULL, a static anonymous state known "
642 "only to the B<mbrtowc>() function is used instead. Otherwise, I<*ps> must "
643 "be a valid I<mbstate_t> object. An I<mbstate_t> object I<a> can be "
644 "initialized to the initial state by zeroing it, for example using"
648 #: build/C/man3/mbrtowc.3:149
649 msgid "memset(&a, 0, sizeof(a));"
653 #: build/C/man3/mbrtowc.3:173
655 "The B<mbrtowc>() function returns the number of bytes parsed from the "
656 "multibyte sequence starting at I<s>, if a non-L\\(aq\\e0\\(aq wide character "
657 "was recognized. It returns 0, if a L\\(aq\\e0\\(aq wide character was "
658 "recognized. It returns I<(size_t)\\ -1> and sets I<errno> to B<EILSEQ>, if "
659 "an invalid multibyte sequence was encountered. It returns I<(size_t)\\ -2> "
660 "if it couldn't parse a complete multibyte character, meaning that I<n> "
661 "should be increased."
665 #: build/C/man3/mbrtowc.3:179
667 "The B<mbrtowc>() function is thread-safe with exceptions. It is not "
668 "thread-safe if called with a NULL I<ps> parameter."
672 #: build/C/man3/mbrtowc.3:188
674 "The behavior of B<mbrtowc>() depends on the B<LC_CTYPE> category of the "
679 #: build/C/man3/mbrtowc.3:191
680 msgid "B<mbsinit>(3), B<mbsrtowcs>(3)"
684 #: build/C/man3/mbsinit.3:16
690 #: build/C/man3/mbsinit.3:19
691 msgid "mbsinit - test for initial shift state"
695 #: build/C/man3/mbsinit.3:24
697 msgid "B<int mbsinit(const mbstate_t *>I<ps>B<);>\n"
701 #: build/C/man3/mbsinit.3:34
703 "Character conversion between the multibyte representation and the wide "
704 "character representation uses conversion state, of type I<mbstate_t>. "
705 "Conversion of a string uses a finite-state machine; when it is interrupted "
706 "after the complete conversion of a number of characters, it may need to save "
707 "a state for processing the remaining characters. Such a conversion state is "
708 "needed for the sake of encodings such as ISO-2022 and UTF-7."
712 #: build/C/man3/mbsinit.3:46
714 "The initial state is the state at the beginning of conversion of a string. "
715 "There are two kinds of state: The one used by multibyte to wide character "
716 "conversion functions, such as B<mbsrtowcs>(3), and the one used by wide "
717 "character to multibyte conversion functions, such as B<wcsrtombs>(3), but "
718 "they both fit in a I<mbstate_t>, and they both have the same representation "
719 "for an initial state."
723 #: build/C/man3/mbsinit.3:54
725 "For 8-bit encodings, all states are equivalent to the initial state. For "
726 "multibyte encodings like UTF-8, EUC-*, BIG5 or SJIS, the wide character to "
727 "multibyte conversion functions never produce non-initial states, but the "
728 "multibyte to wide-character conversion functions like B<mbrtowc>(3) do "
729 "produce non-initial states when interrupted in the middle of a character."
733 #: build/C/man3/mbsinit.3:58
735 "One possible way to create an I<mbstate_t> in initial state is to set it to "
740 #: build/C/man3/mbsinit.3:62
743 " mbstate_t state;\n"
744 " memset(&state,0,sizeof(mbstate_t));\n"
748 #: build/C/man3/mbsinit.3:65
749 msgid "On Linux, the following works as well, but might generate compiler warnings:"
753 #: build/C/man3/mbsinit.3:68
755 msgid " mbstate_t state = { 0 };\n"
759 #: build/C/man3/mbsinit.3:76
761 "The function B<mbsinit>() tests whether I<*ps> corresponds to an initial "
766 #: build/C/man3/mbsinit.3:84
768 "B<mbsinit>() returns nonzero if I<*ps> is an initial state, or if I<ps> is "
769 "NULL. Otherwise it returns 0."
773 #: build/C/man3/mbsinit.3:89
774 msgid "The B<mbsinit>() function is thread-safe."
778 #: build/C/man3/mbsinit.3:98
780 "The behavior of B<mbsinit>() depends on the B<LC_CTYPE> category of the "
785 #: build/C/man3/mbsinit.3:104
786 msgid "B<mbrlen>(3), B<mbrtowc>(3), B<wcrtomb>(3), B<mbsrtowcs>(3), B<wcsrtombs>(3)"
790 #: build/C/man3/mbsnrtowcs.3:15
796 #: build/C/man3/mbsnrtowcs.3:18
797 msgid "mbsnrtowcs - convert a multibyte string to a wide-character string"
801 #: build/C/man3/mbsnrtowcs.3:24
804 "B<size_t mbsnrtowcs(wchar_t *>I<dest>B<, const char **>I<src>B<,>\n"
805 "B< size_t >I<nms>B<, size_t >I<len>B<, mbstate_t "
810 #: build/C/man3/mbsnrtowcs.3:32
811 msgid "B<mbsnrtowcs>():"
815 #: build/C/man3/mbsnrtowcs.3:35 build/C/man3/wcpcpy.3:34 build/C/man3/wcpncpy.3:35 build/C/man3/wcscasecmp.3:34 build/C/man3/wcsdup.3:34 build/C/man3/wcsncasecmp.3:34 build/C/man3/wcsnlen.3:34 build/C/man3/wcsnrtombs.3:35
817 msgid "Since glibc 2.10:"
821 #: build/C/man3/mbsnrtowcs.3:38 build/C/man3/wcpcpy.3:37 build/C/man3/wcpncpy.3:38 build/C/man3/wcscasecmp.3:37 build/C/man3/wcsdup.3:37 build/C/man3/wcsncasecmp.3:37 build/C/man3/wcsnlen.3:37 build/C/man3/wcsnrtombs.3:38
822 msgid "_XOPEN_SOURCE\\ E<gt>=\\ 700 || _POSIX_C_SOURCE\\ E<gt>=\\ 200809L"
826 #: build/C/man3/mbsnrtowcs.3:38 build/C/man3/wcpcpy.3:37 build/C/man3/wcpncpy.3:38 build/C/man3/wcscasecmp.3:37 build/C/man3/wcsdup.3:37 build/C/man3/wcsncasecmp.3:37 build/C/man3/wcsnlen.3:37 build/C/man3/wcsnrtombs.3:38
828 msgid "Before glibc 2.10:"
832 #: build/C/man3/mbsnrtowcs.3:41 build/C/man3/wcpcpy.3:40 build/C/man3/wcpncpy.3:41 build/C/man3/wcscasecmp.3:40 build/C/man3/wcsdup.3:40 build/C/man3/wcsncasecmp.3:40 build/C/man3/wcsnlen.3:40 build/C/man3/wcsnrtombs.3:41
837 #: build/C/man3/mbsnrtowcs.3:54
839 "The B<mbsnrtowcs>() function is like the B<mbsrtowcs>(3) function, except "
840 "that the number of bytes to be converted, starting at I<*src>, is limited to "
845 #: build/C/man3/mbsnrtowcs.3:87
847 "If I<dest> is not NULL, the B<mbsnrtowcs>() function converts at most "
848 "I<nms> bytes from the multibyte string I<*src> to a wide-character string "
849 "starting at I<dest>. At most I<len> wide characters are written to "
850 "I<dest>. The shift state I<*ps> is updated. The conversion is effectively "
851 "performed by repeatedly calling I<mbrtowc(dest, *src, n, ps)> where I<n> is "
852 "some positive number, as long as this call succeeds, and then incrementing "
853 "I<dest> by one and I<*src> by the number of bytes consumed. The conversion "
854 "can stop for three reasons:"
858 #: build/C/man3/mbsnrtowcs.3:87 build/C/man3/mbsrtowcs.3:55 build/C/man3/wcsnrtombs.3:87
864 #: build/C/man3/mbsnrtowcs.3:98 build/C/man3/mbsrtowcs.3:66
866 "An invalid multibyte sequence has been encountered. In this case, I<*src> "
867 "is left pointing to the invalid multibyte sequence, I<(size_t)\\ -1> is "
868 "returned, and I<errno> is set to B<EILSEQ>."
872 #: build/C/man3/mbsnrtowcs.3:98 build/C/man3/mbsrtowcs.3:66 build/C/man3/wcsnrtombs.3:99
878 #: build/C/man3/mbsnrtowcs.3:114
880 "The I<nms> limit forces a stop, or I<len> non-L\\(aq\\e0\\(aq wide "
881 "characters have been stored at I<dest>. In this case, I<*src> is left "
882 "pointing to the next multibyte sequence to be converted, and the number of "
883 "wide characters written to I<dest> is returned."
887 #: build/C/man3/mbsnrtowcs.3:114 build/C/man3/mbsrtowcs.3:77 build/C/man3/wcsnrtombs.3:111
893 #: build/C/man3/mbsnrtowcs.3:128
895 "The multibyte string has been completely converted, including the "
896 "terminating null wide character (\\(aq\\e0\\(aq) (which has the side effect "
897 "of bringing back I<*ps> to the initial state). In this case, I<*src> is set "
898 "to NULL, and the number of wide characters written to I<dest>, excluding the "
899 "terminating null wide character, is returned."
903 #: build/C/man3/mbsnrtowcs.3:137
905 "If I<dest> is NULL, I<len> is ignored, and the conversion proceeds as above, "
906 "except that the converted wide characters are not written out to memory, and "
907 "that no destination length limit exists."
911 #: build/C/man3/mbsnrtowcs.3:144
913 "In both of the above cases, if I<ps> is NULL, a static anonymous state known "
914 "only to the B<mbsnrtowcs>() function is used instead."
918 #: build/C/man3/mbsnrtowcs.3:150 build/C/man3/mbsrtowcs.3:113
920 "The programmer must ensure that there is room for at least I<len> wide "
921 "characters at I<dest>."
925 #: build/C/man3/mbsnrtowcs.3:163
927 "The B<mbsnrtowcs>() function returns the number of wide characters that "
928 "make up the converted part of the wide-character string, not including the "
929 "terminating null wide character. If an invalid multibyte sequence was "
930 "encountered, I<(size_t)\\ -1> is returned, and I<errno> set to B<EILSEQ>."
934 #: build/C/man3/mbsnrtowcs.3:165 build/C/man3/wcpcpy.3:74 build/C/man3/wcpncpy.3:100 build/C/man3/wcsnlen.3:89 build/C/man3/wcsnrtombs.3:162
935 msgid "POSIX.1-2008."
939 #: build/C/man3/mbsnrtowcs.3:172
941 "The behavior of B<mbsnrtowcs>() depends on the B<LC_CTYPE> category of the "
946 #: build/C/man3/mbsnrtowcs.3:176 build/C/man3/mbsrtowcs.3:139 build/C/man3/wcrtomb.3:122 build/C/man3/wcsnrtombs.3:173 build/C/man3/wcsrtombs.3:139
947 msgid "Passing NULL as I<ps> is not multithread safe."
951 #: build/C/man3/mbsnrtowcs.3:181
952 msgid "B<iconv>(3), B<mbrtowc>(3) B<mbsinit>(3), B<mbsrtowcs>(3)"
956 #: build/C/man3/mbsrtowcs.3:16
962 #: build/C/man3/mbsrtowcs.3:19
963 msgid "mbsrtowcs - convert a multibyte string to a wide-character string"
967 #: build/C/man3/mbsrtowcs.3:25
970 "B<size_t mbsrtowcs(wchar_t *>I<dest>B<, const char **>I<src>B<,>\n"
971 "B< size_t >I<len>B<, mbstate_t *>I<ps>B<);>\n"
975 #: build/C/man3/mbsrtowcs.3:55
977 "If I<dest> is not NULL, the B<mbsrtowcs>() function converts the multibyte "
978 "string I<*src> to a wide-character string starting at I<dest>. At most "
979 "I<len> wide characters are written to I<dest>. The shift state I<*ps> is "
980 "updated. The conversion is effectively performed by repeatedly calling "
981 "I<mbrtowc(dest, *src, n, ps)> where I<n> is some positive number, as long as "
982 "this call succeeds, and then incrementing I<dest> by one and I<*src> by the "
983 "number of bytes consumed. The conversion can stop for three reasons:"
987 #: build/C/man3/mbsrtowcs.3:77
989 "I<len> non-L\\(aq\\e0\\(aq wide characters have been stored at I<dest>. In "
990 "this case, I<*src> is left pointing to the next multibyte sequence to be "
991 "converted, and the number of wide characters written to I<dest> is returned."
995 #: build/C/man3/mbsrtowcs.3:90
997 "The multibyte string has been completely converted, including the "
998 "terminating null wide character (\\(aq\\e0\\(aq), which has the side effect "
999 "of bringing back I<*ps> to the initial state. In this case, I<*src> is set "
1000 "to NULL, and the number of wide characters written to I<dest>, excluding the "
1001 "terminating null wide character, is returned."
1005 #: build/C/man3/mbsrtowcs.3:99
1007 "If I<dest> is NULL, I<len> is ignored, and the conversion proceeds as above, "
1008 "except that the converted wide characters are not written out to memory, and "
1009 "that no length limit exists."
1013 #: build/C/man3/mbsrtowcs.3:107
1015 "In both of the above cases, if I<ps> is NULL, a static anonymous state known "
1016 "only to the B<mbsrtowcs>() function is used instead."
1020 #: build/C/man3/mbsrtowcs.3:126
1022 "The B<mbsrtowcs>() function returns the number of wide characters that make "
1023 "up the converted part of the wide-character string, not including the "
1024 "terminating null wide character. If an invalid multibyte sequence was "
1025 "encountered, I<(size_t)\\ -1> is returned, and I<errno> set to B<EILSEQ>."
1029 #: build/C/man3/mbsrtowcs.3:135
1031 "The behavior of B<mbsrtowcs>() depends on the B<LC_CTYPE> category of the "
1036 #: build/C/man3/mbsrtowcs.3:145
1037 msgid "B<iconv>(3), B<mbrtowc>(3), B<mbsinit>(3), B<mbsnrtowcs>(3), B<mbstowcs>(3)"
1041 #: build/C/man3/putwchar.3:17
1047 #: build/C/man3/putwchar.3:20
1048 msgid "putwchar - write a wide character to standard output"
1052 #: build/C/man3/putwchar.3:25
1054 msgid "B<wint_t putwchar(wchar_t >I<wc>B<);>\n"
1058 #: build/C/man3/putwchar.3:49
1060 "The B<putwchar>() function is the wide-character equivalent of the "
1061 "B<putchar>(3) function. It writes the wide character I<wc> to I<stdout>. "
1062 "If I<ferror(stdout)> becomes true, it returns B<WEOF>. If a wide character "
1063 "conversion error occurs, it sets I<errno> to B<EILSEQ> and returns B<WEOF>. "
1064 "Otherwise it returns I<wc>."
1068 #: build/C/man3/putwchar.3:60
1070 "The B<putwchar>() function returns I<wc> if no error occurred, or B<WEOF> "
1071 "to indicate an error."
1075 #: build/C/man3/putwchar.3:69
1077 "The behavior of B<putwchar>() depends on the B<LC_CTYPE> category of the "
1082 #: build/C/man3/putwchar.3:75
1084 "It is reasonable to expect that B<putwchar>() will actually write the "
1085 "multibyte sequence corresponding to the wide character I<wc>."
1089 #: build/C/man3/ungetwc.3:16
1095 #: build/C/man3/ungetwc.3:16
1101 #: build/C/man3/ungetwc.3:19
1102 msgid "ungetwc - push back a wide character onto a FILE stream"
1106 #: build/C/man3/ungetwc.3:24
1108 msgid "B<wint_t ungetwc(wint_t >I<wc>B<, FILE *>I<stream>B<);>\n"
1112 #: build/C/man3/ungetwc.3:34
1114 "The B<ungetwc>() function is the wide-character equivalent of the "
1115 "B<ungetc>(3) function. It pushes back a wide character onto I<stream> and "
1120 #: build/C/man3/ungetwc.3:50
1122 "If I<wc> is B<WEOF>, it returns B<WEOF>. If I<wc> is an invalid wide "
1123 "character, it sets I<errno> to B<EILSEQ> and returns B<WEOF>."
1127 #: build/C/man3/ungetwc.3:59
1129 "If I<wc> is a valid wide character, it is pushed back onto the stream and "
1130 "thus becomes available for future wide-character read operations. The "
1131 "file-position indicator is decremented by one or more. The end-of-file "
1132 "indicator is cleared. The backing storage of the file is not affected."
1136 #: build/C/man3/ungetwc.3:64
1138 "Note: I<wc> need not be the last wide-character read from the stream; it can "
1139 "be any other valid wide character."
1143 #: build/C/man3/ungetwc.3:68
1145 "If the implementation supports multiple push-back operations in a row, the "
1146 "pushed-back wide characters will be read in reverse order; however, only one "
1147 "level of push-back is guaranteed."
1151 #: build/C/man3/ungetwc.3:77
1153 "The B<ungetwc>() function returns I<wc> when successful, or B<WEOF> upon "
1158 #: build/C/man3/ungetwc.3:82
1159 msgid "The B<ungetwc>() function is thread-safe."
1163 #: build/C/man3/ungetwc.3:91
1165 "The behavior of B<ungetwc>() depends on the B<LC_CTYPE> category of the "
1170 #: build/C/man3/ungetwc.3:93
1171 msgid "B<fgetwc>(3)"
1175 #: build/C/man3/wcpcpy.3:15
1181 #: build/C/man3/wcpcpy.3:15
1187 #: build/C/man3/wcpcpy.3:18
1188 msgid "wcpcpy - copy a wide-character string, returning a pointer to its end"
1192 #: build/C/man3/wcpcpy.3:23
1194 msgid "B<wchar_t *wcpcpy(wchar_t *>I<dest>B<, const wchar_t *>I<src>B<);>\n"
1198 #: build/C/man3/wcpcpy.3:31
1199 msgid "B<wcpcpy>():"
1203 #: build/C/man3/wcpcpy.3:54
1205 "The B<wcpcpy>() function is the wide-character equivalent of the "
1206 "B<stpcpy>(3) function. It copies the wide-character string pointed to by "
1207 "I<src>, including the terminating null wide character (L\\(aq\\e0\\(aq), to "
1208 "the array pointed to by I<dest>."
1212 #: build/C/man3/wcpcpy.3:56 build/C/man3/wcpncpy.3:83 build/C/man3/wcscat.3:39 build/C/man3/wcscpy.3:39 build/C/man3/wcsncat.3:42 build/C/man3/wcsncpy.3:59
1213 msgid "The strings may not overlap."
1217 #: build/C/man3/wcpcpy.3:62 build/C/man3/wcscpy.3:45
1219 "The programmer must ensure that there is room for at least I<wcslen(src)+1> "
1220 "wide characters at I<dest>."
1224 #: build/C/man3/wcpcpy.3:67
1226 "B<wcpcpy>() returns a pointer to the end of the wide-character string "
1227 "I<dest>, that is, a pointer to the terminating null wide character."
1231 #: build/C/man3/wcpcpy.3:72
1232 msgid "The B<wcpcpy>() function is thread-safe."
1236 #: build/C/man3/wcpcpy.3:77
1237 msgid "B<strcpy>(3), B<wcscpy>(3)"
1241 #: build/C/man3/wcpncpy.3:15
1247 #: build/C/man3/wcpncpy.3:15
1253 #: build/C/man3/wcpncpy.3:19
1255 "wcpncpy - copy a fixed-size string of wide characters, returning a pointer "
1260 #: build/C/man3/wcpncpy.3:24
1263 "B<wchar_t *wcpncpy(wchar_t *>I<dest>B<, const wchar_t *>I<src>B<, size_t "
1268 #: build/C/man3/wcpncpy.3:32
1269 msgid "B<wcpncpy>():"
1273 #: build/C/man3/wcpncpy.3:81
1275 "The B<wcpncpy>() function is the wide-character equivalent of the "
1276 "B<stpncpy>(3) function. It copies at most I<n> wide characters from the "
1277 "wide-character string pointed to by I<src>, including the terminating null "
1278 "wide (L\\(aq\\e0\\(aq), to the array pointed to by I<dest>. Exactly I<n> "
1279 "wide characters are written at I<dest>. If the length I<wcslen(src)> is "
1280 "smaller than I<n>, the remaining wide characters in the array pointed to by "
1281 "I<dest> are filled with L\\(aq\\e0\\(aq characters. If the length "
1282 "I<wcslen(src)> is greater than or equal to I<n>, the string pointed to by "
1283 "I<dest> will not be L\\(aq\\e0\\(aq terminated."
1287 #: build/C/man3/wcpncpy.3:89 build/C/man3/wcsncpy.3:65 build/C/man3/wmemcpy.3:48 build/C/man3/wmemmove.3:46
1289 "The programmer must ensure that there is room for at least I<n> wide "
1290 "characters at I<dest>."
1294 #: build/C/man3/wcpncpy.3:93
1296 "B<wcpncpy>() returns a pointer to the last wide character written, that is, "
1301 #: build/C/man3/wcpncpy.3:98
1302 msgid "The B<wcpncpy>() function is thread-safe."
1306 #: build/C/man3/wcpncpy.3:103
1307 msgid "B<stpncpy>(3), B<wcsncpy>(3)"
1311 #: build/C/man3/wcrtomb.3:16
1317 #: build/C/man3/wcrtomb.3:19
1318 msgid "wcrtomb - convert a wide character to a multibyte sequence"
1322 #: build/C/man3/wcrtomb.3:24
1324 msgid "B<size_t wcrtomb(char *>I<s>B<, wchar_t >I<wc>B<, mbstate_t *>I<ps>B<);>\n"
1328 #: build/C/man3/wcrtomb.3:48
1330 "The main case for this function is when I<s> is not NULL and I<wc> is not a "
1331 "null wide character (L\\(aq\\e0\\(aq). In this case, the B<wcrtomb>() "
1332 "function converts the wide character I<wc> to its multibyte representation "
1333 "and stores it at the beginning of the character array pointed to by I<s>. "
1334 "It updates the shift state I<*ps>, and returns the length of said multibyte "
1335 "representation, that is, the number of bytes written at I<s>."
1339 #: build/C/man3/wcrtomb.3:72
1341 "A different case is when I<s> is not NULL, but I<wc> is a null wide "
1342 "character (L\\(aq\\e0\\(aq). In this case, the B<wcrtomb>() function "
1343 "stores at the character array pointed to by I<s> the shift sequence needed "
1344 "to bring I<*ps> back to the initial state, followed by a \\(aq\\e0\\(aq "
1345 "byte. It updates the shift state I<*ps> (i.e., brings it into the initial "
1346 "state), and returns the length of the shift sequence plus one, that is, the "
1347 "number of bytes written at I<s>."
1351 #: build/C/man3/wcrtomb.3:80
1353 "A third case is when I<s> is NULL. In this case, I<wc> is ignored, and the "
1354 "function effectively returns"
1358 #: build/C/man3/wcrtomb.3:82
1360 msgid " wcrtomb(buf, L\\(aq\\e0\\(aq, ps)\n"
1364 #: build/C/man3/wcrtomb.3:86
1365 msgid "where I<buf> is an internal anonymous buffer."
1369 #: build/C/man3/wcrtomb.3:93
1371 "In all of the above cases, if I<ps> is NULL, a static anonymous state known "
1372 "only to the B<wcrtomb>() function is used instead."
1376 #: build/C/man3/wcrtomb.3:109
1378 "The B<wcrtomb>() function returns the number of bytes that have been or "
1379 "would have been written to the byte array at I<s>. If I<wc> can not be "
1380 "represented as a multibyte sequence (according to the current locale), "
1381 "I<(size_t)\\ -1> is returned, and I<errno> set to B<EILSEQ>."
1385 #: build/C/man3/wcrtomb.3:118
1387 "The behavior of B<wcrtomb>() depends on the B<LC_CTYPE> category of the "
1392 #: build/C/man3/wcrtomb.3:125
1393 msgid "B<mbsinit>(3), B<wcsrtombs>(3)"
1397 #: build/C/man3/wcscasecmp.3:15
1403 #: build/C/man3/wcscasecmp.3:15 build/C/man3/wcsncasecmp.3:15 build/C/man3/wcstoimax.3:24 build/C/man3/wcswidth.3:15 build/C/man3/wcwidth.3:15
1409 #: build/C/man3/wcscasecmp.3:18
1410 msgid "wcscasecmp - compare two wide-character strings, ignoring case"
1414 #: build/C/man3/wcscasecmp.3:23
1416 msgid "B<int wcscasecmp(const wchar_t *>I<s1>B<, const wchar_t *>I<s2>B<);>\n"
1420 #: build/C/man3/wcscasecmp.3:31
1421 msgid "B<wcscasecmp>():"
1425 #: build/C/man3/wcscasecmp.3:58
1427 "The B<wcscasecmp>() function is the wide-character equivalent of the "
1428 "B<strcasecmp>(3) function. It compares the wide-character string pointed "
1429 "to by I<s1> and the wide-character string pointed to by I<s2>, ignoring case "
1430 "differences (B<towupper>(3), B<towlower>(3))."
1434 #: build/C/man3/wcscasecmp.3:79
1436 "The B<wcscasecmp>() function returns zero if the wide-character strings at "
1437 "I<s1> and I<s2> are equal except for case distinctions. It returns a "
1438 "positive integer if I<s1> is greater than I<s2>, ignoring case. It returns "
1439 "a negative integer if I<s1> is smaller than I<s2>, ignoring case."
1443 #: build/C/man3/wcscasecmp.3:79 build/C/man3/wcsncasecmp.3:84 build/C/man3/wcsnlen.3:78
1449 #: build/C/man3/wcscasecmp.3:83
1450 msgid "The B<wcscasecmp>() function is provided in glibc since version 2.1."
1454 #: build/C/man3/wcscasecmp.3:91
1456 "The B<wcscasecmp>() function is thread-safe with exceptions. It can be "
1457 "safely used in multithreaded applications, as long as B<setlocale>(3) is "
1458 "not called to change the locale during its execution."
1462 #: build/C/man3/wcscasecmp.3:95 build/C/man3/wcsdup.3:75 build/C/man3/wcsncasecmp.3:100
1464 "POSIX.1-2008. This function is not specified in POSIX.1-2001, and is not "
1465 "widely available on other systems."
1469 #: build/C/man3/wcscasecmp.3:102
1471 "The behavior of B<wcscasecmp>() depends on the B<LC_CTYPE> category of the "
1476 #: build/C/man3/wcscasecmp.3:105
1477 msgid "B<strcasecmp>(3), B<wcscmp>(3)"
1481 #: build/C/man3/wcscat.3:16
1487 #: build/C/man3/wcscat.3:16 build/C/man3/wcschr.3:16 build/C/man3/wcscmp.3:16 build/C/man3/wcscpy.3:16 build/C/man3/wcscspn.3:16
1493 #: build/C/man3/wcscat.3:19
1494 msgid "wcscat - concatenate two wide-character strings"
1498 #: build/C/man3/wcscat.3:24
1500 msgid "B<wchar_t *wcscat(wchar_t *>I<dest>B<, const wchar_t *>I<src>B<);>\n"
1504 #: build/C/man3/wcscat.3:37
1506 "The B<wcscat>() function is the wide-character equivalent of the "
1507 "B<strcat>(3) function. It copies the wide-character string pointed to by "
1508 "I<src>, including the terminating null wide character (L\\(aq\\e0\\(aq), to "
1509 "the end of the wide-character string pointed to by I<dest>."
1513 #: build/C/man3/wcscat.3:44
1515 "The programmer must ensure that there is room for at least "
1516 "I<wcslen(dest)>+I<wcslen(src)>+1 wide characters at I<dest>."
1520 #: build/C/man3/wcscat.3:48
1521 msgid "B<wcscat>() returns I<dest>."
1525 #: build/C/man3/wcscat.3:53
1526 msgid "The B<wcscat>() function is thread-safe."
1530 #: build/C/man3/wcscat.3:60
1531 msgid "B<strcat>(3), B<wcpcpy>(3), B<wcscpy>(3), B<wcsncat>(3)"
1535 #: build/C/man3/wcschr.3:16
1541 #: build/C/man3/wcschr.3:19
1542 msgid "wcschr - search a wide character in a wide-character string"
1546 #: build/C/man3/wcschr.3:24
1548 msgid "B<wchar_t *wcschr(const wchar_t *>I<wcs>B<, wchar_t >I<wc>B<);>\n"
1552 #: build/C/man3/wcschr.3:37
1554 "The B<wcschr>() function is the wide-character equivalent of the "
1555 "B<strchr>(3) function. It searches the first occurrence of I<wc> in the "
1556 "wide-character string pointed to by I<wcs>."
1560 #: build/C/man3/wcschr.3:47
1562 "The B<wcschr>() function returns a pointer to the first occurrence of I<wc> "
1563 "in the wide-character string pointed to by I<wcs>, or NULL if I<wc> does not "
1564 "occur in the string."
1568 #: build/C/man3/wcschr.3:52
1569 msgid "The B<wcschr>() function is thread-safe."
1573 #: build/C/man3/wcschr.3:60
1574 msgid "B<strchr>(3), B<wcspbrk>(3), B<wcsrchr>(3), B<wcsstr>(3), B<wmemchr>(3)"
1578 #: build/C/man3/wcscmp.3:16
1584 #: build/C/man3/wcscmp.3:19
1585 msgid "wcscmp - compare two wide-character strings"
1589 #: build/C/man3/wcscmp.3:24
1591 msgid "B<int wcscmp(const wchar_t *>I<s1>B<, const wchar_t *>I<s2>B<);>\n"
1595 #: build/C/man3/wcscmp.3:37
1597 "The B<wcscmp>() function is the wide-character equivalent of the "
1598 "B<strcmp>(3) function. It compares the wide-character string pointed to by "
1599 "I<s1> and the wide-character string pointed to by I<s2>."
1603 #: build/C/man3/wcscmp.3:59
1605 "The B<wcscmp>() function returns zero if the wide-character strings at "
1606 "I<s1> and I<s2> are equal. It returns an integer greater than zero if at "
1607 "the first differing position I<i>, the corresponding wide-character I<s1[i]> "
1608 "is greater than I<s2[i]>. It returns an integer less than zero if at the "
1609 "first differing position I<i>, the corresponding wide-character I<s1[i]> is "
1610 "less than I<s2[i]>."
1614 #: build/C/man3/wcscmp.3:64
1615 msgid "The B<wcscmp>() function is thread-safe."
1619 #: build/C/man3/wcscmp.3:70
1620 msgid "B<strcmp>(3), B<wcscasecmp>(3), B<wmemcmp>(3)"
1624 #: build/C/man3/wcscpy.3:16
1630 #: build/C/man3/wcscpy.3:19
1631 msgid "wcscpy - copy a wide-character string"
1635 #: build/C/man3/wcscpy.3:24
1637 msgid "B<wchar_t *wcscpy(wchar_t *>I<dest>B<, const wchar_t *>I<src>B<);>\n"
1641 #: build/C/man3/wcscpy.3:37
1643 "The B<wcscpy>() function is the wide-character equivalent of the "
1644 "B<strcpy>(3) function. It copies the wide-character string pointed to by "
1645 "I<src>, including the terminating null wide character (L\\(aq\\e0\\(aq), to "
1646 "the array pointed to by I<dest>."
1650 #: build/C/man3/wcscpy.3:49
1651 msgid "B<wcscpy>() returns I<dest>."
1655 #: build/C/man3/wcscpy.3:54
1656 msgid "The B<wcscpy>() function is thread-safe."
1660 #: build/C/man3/wcscpy.3:62
1661 msgid "B<strcpy>(3), B<wcpcpy>(3), B<wcscat>(3), B<wcsdup>(3), B<wmemcpy>(3)"
1665 #: build/C/man3/wcscspn.3:16
1671 #: build/C/man3/wcscspn.3:19
1672 msgid "wcscspn - search a wide-character string for any of a set of wide characters"
1676 #: build/C/man3/wcscspn.3:24
1678 msgid "B<size_t wcscspn(const wchar_t *>I<wcs>B<, const wchar_t *>I<reject>B<);>\n"
1682 #: build/C/man3/wcscspn.3:42
1684 "The B<wcscspn>() function is the wide-character equivalent of the "
1685 "B<strcspn>(3) function. It determines the length of the longest initial "
1686 "segment of I<wcs> which consists entirely of wide-characters not listed in "
1687 "I<reject>. In other words, it searches for the first occurrence in the "
1688 "wide-character string I<wcs> of any of the characters in the wide-character "
1693 #: build/C/man3/wcscspn.3:61
1695 "The B<wcscspn>() function returns the number of wide characters in the "
1696 "longest initial segment of I<wcs> which consists entirely of wide-characters "
1697 "not listed in I<reject>. In other words, it returns the position of the "
1698 "first occurrence in the wide-character string I<wcs> of any of the "
1699 "characters in the wide-character string I<reject>, or I<wcslen(wcs)> if "
1704 #: build/C/man3/wcscspn.3:66
1705 msgid "The B<wcscspn>() function is thread-safe."
1709 #: build/C/man3/wcscspn.3:72
1710 msgid "B<strcspn>(3), B<wcspbrk>(3), B<wcsspn>(3)"
1714 #: build/C/man3/wcsdup.3:15
1720 #: build/C/man3/wcsdup.3:15
1726 #: build/C/man3/wcsdup.3:18
1727 msgid "wcsdup - duplicate a wide-character string"
1731 #: build/C/man3/wcsdup.3:23
1733 msgid "B<wchar_t *wcsdup(const wchar_t *>I<s>B<);>\n"
1737 #: build/C/man3/wcsdup.3:31
1738 msgid "B<wcsdup>():"
1742 #: build/C/man3/wcsdup.3:53
1744 "The B<wcsdup>() function is the wide-character equivalent of the "
1745 "B<strdup>(3) function. It allocates and returns a new wide-character "
1746 "string whose initial contents is a duplicate of the wide-character string "
1747 "pointed to by I<s>."
1751 #: build/C/man3/wcsdup.3:59
1753 "Memory for the new wide-character string is obtained with B<malloc>(3), and "
1754 "should be freed with B<free>(3)."
1758 #: build/C/man3/wcsdup.3:66
1760 "On success, B<wcsdup>() returns a pointer to the new wide-character "
1761 "string. On error, it returns -1, with I<errno> set to indicate the cause of "
1766 #: build/C/man3/wcsdup.3:66
1772 #: build/C/man3/wcsdup.3:67
1778 #: build/C/man3/wcsdup.3:70
1779 msgid "Insufficient memory available to allocate duplicate string."
1783 #: build/C/man3/wcsdup.3:78
1784 msgid "B<strdup>(3), B<wcscpy>(3)"
1788 #: build/C/man3/wcslen.3:16
1794 #: build/C/man3/wcslen.3:16
1800 #: build/C/man3/wcslen.3:19
1801 msgid "wcslen - determine the length of a wide-character string"
1805 #: build/C/man3/wcslen.3:24
1807 msgid "B<size_t wcslen(const wchar_t *>I<s>B<);>\n"
1811 #: build/C/man3/wcslen.3:36
1813 "The B<wcslen>() function is the wide-character equivalent of the "
1814 "B<strlen>(3) function. It determines the length of the wide-character "
1815 "string pointed to by I<s>, excluding the terminating null wide character "
1816 "(L\\(aq\\e0\\(aq)."
1820 #: build/C/man3/wcslen.3:42
1821 msgid "The B<wcslen>() function returns the number of wide characters in I<s>."
1825 #: build/C/man3/wcslen.3:47
1826 msgid "The B<wcslen>() function is thread-safe."
1830 #: build/C/man3/wcslen.3:51
1831 msgid "B<strlen>(3)"
1835 #: build/C/man3/wcsncasecmp.3:15
1841 #: build/C/man3/wcsncasecmp.3:18
1842 msgid "wcsncasecmp - compare two fixed-size wide-character strings, ignoring case"
1846 #: build/C/man3/wcsncasecmp.3:23
1849 "B<int wcsncasecmp(const wchar_t *>I<s1>B<, const wchar_t *>I<s2>B<, size_t "
1854 #: build/C/man3/wcsncasecmp.3:31
1855 msgid "B<wcsncasecmp>():"
1859 #: build/C/man3/wcsncasecmp.3:60
1861 "The B<wcsncasecmp>() function is the wide-character equivalent of the "
1862 "B<strncasecmp>(3) function. It compares the wide-character string pointed "
1863 "to by I<s1> and the wide-character string pointed to by I<s2>, but at most "
1864 "I<n> wide characters from each string, ignoring case differences "
1865 "(B<towupper>(3), B<towlower>(3))."
1869 #: build/C/man3/wcsncasecmp.3:84
1871 "The B<wcsncasecmp>() function returns zero if the wide-character strings at "
1872 "I<s1> and I<s2>, truncated to at most length I<n>, are equal except for case "
1873 "distinctions. It returns a positive integer if truncated I<s1> is greater "
1874 "than truncated I<s2>, ignoring case. It returns a negative integer if "
1875 "truncated I<s1> is smaller than truncated I<s2>, ignoring case."
1879 #: build/C/man3/wcsncasecmp.3:88
1880 msgid "The B<wcsncasecmp>() function is provided in glibc since version 2.1."
1884 #: build/C/man3/wcsncasecmp.3:96
1886 "The B<wcsncasecmp>() function is thread-safe with exceptions. It can be "
1887 "safely used in multithreaded applications, as long as B<setlocale>(3) is "
1888 "not called to change the locale during its execution."
1892 #: build/C/man3/wcsncasecmp.3:107
1894 "The behavior of B<wcsncasecmp>() depends on the B<LC_CTYPE> category of the "
1899 #: build/C/man3/wcsncasecmp.3:110
1900 msgid "B<strncasecmp>(3), B<wcsncmp>(3)"
1904 #: build/C/man3/wcsncat.3:16
1910 #: build/C/man3/wcsncat.3:16 build/C/man3/wcsncmp.3:16 build/C/man3/wcsncpy.3:16 build/C/man3/wcsnlen.3:15
1916 #: build/C/man3/wcsncat.3:19
1917 msgid "wcsncat - concatenate two wide-character strings"
1921 #: build/C/man3/wcsncat.3:24
1924 "B<wchar_t *wcsncat(wchar_t *>I<dest>B<, const wchar_t *>I<src>B<, size_t "
1929 #: build/C/man3/wcsncat.3:40
1931 "The B<wcsncat>() function is the wide-character equivalent of the "
1932 "B<strncat>(3) function. It copies at most I<n> wide characters from the "
1933 "wide-character string pointed to by I<src> to the end of the wide-character "
1934 "string pointed to by I<dest>, and adds a terminating null wide character "
1935 "(L\\(aq\\e0\\(aq)."
1939 #: build/C/man3/wcsncat.3:47
1941 "The programmer must ensure that there is room for at least "
1942 "I<wcslen(dest)>+I<n>+1 wide characters at I<dest>."
1946 #: build/C/man3/wcsncat.3:51
1947 msgid "B<wcsncat>() returns I<dest>."
1951 #: build/C/man3/wcsncat.3:56
1952 msgid "The B<wcsncat>() function is thread-safe."
1956 #: build/C/man3/wcsncat.3:61
1957 msgid "B<strncat>(3), B<wcscat>(3)"
1961 #: build/C/man3/wcsncmp.3:16
1967 #: build/C/man3/wcsncmp.3:19
1968 msgid "wcsncmp - compare two fixed-size wide-character strings"
1972 #: build/C/man3/wcsncmp.3:24
1975 "B<int wcsncmp(const wchar_t *>I<s1>B<, const wchar_t *>I<s2>B<, size_t "
1980 #: build/C/man3/wcsncmp.3:42
1982 "The B<wcsncmp>() function is the wide-character equivalent of the "
1983 "B<strncmp>(3) function. It compares the wide-character string pointed to "
1984 "by I<s1> and the wide-character string pointed to by I<s2>, but at most I<n> "
1985 "wide characters from each string. In each string, the comparison extends "
1986 "only up to the first occurrence of a null wide character (L\\(aq\\e0\\(aq), "
1991 #: build/C/man3/wcsncmp.3:73
1993 "The B<wcsncmp>() function returns zero if the wide-character strings at "
1994 "I<s1> and I<s2>, truncated to at most length I<n>, are equal. It returns an "
1995 "integer greater than zero if at the first differing position I<i> (I<i> "
1996 "E<lt> I<n>), the corresponding wide-character I<s1[i]> is greater than "
1997 "I<s2[i]>. It returns an integer less than zero if at the first differing "
1998 "position I<i> (i E<lt> I<n>), the corresponding wide-character I<s1[i]> is "
1999 "less than I<s2[i]>."
2003 #: build/C/man3/wcsncmp.3:78
2004 msgid "The B<wcsncmp>() function is thread-safe."
2008 #: build/C/man3/wcsncmp.3:83
2009 msgid "B<strncmp>(3), B<wcsncasecmp>(3)"
2013 #: build/C/man3/wcsncpy.3:16
2019 #: build/C/man3/wcsncpy.3:19
2020 msgid "wcsncpy - copy a fixed-size string of wide characters"
2024 #: build/C/man3/wcsncpy.3:24
2027 "B<wchar_t *wcsncpy(wchar_t *>I<dest>B<, const wchar_t *>I<src>B<, size_t "
2032 #: build/C/man3/wcsncpy.3:57
2034 "The B<wcsncpy>() function is the wide-character equivalent of the "
2035 "B<strncpy>(3) function. It copies at most I<n> wide characters from the "
2036 "wide-character string pointed to by I<src>, including the terminating null "
2037 "wide character (L\\(aq\\e0\\(aq), to the array pointed to by I<dest>. "
2038 "Exactly I<n> wide characters are written at I<dest>. If the length "
2039 "I<wcslen(src)> is smaller than I<n>, the remaining wide characters in the "
2040 "array pointed to by I<dest> are filled with null wide characters. If the "
2041 "length I<wcslen(src)> is greater than or equal to I<n>, the string pointed "
2042 "to by I<dest> will not be terminated by a null wide character."
2046 #: build/C/man3/wcsncpy.3:69
2047 msgid "B<wcsncpy>() returns I<dest>."
2051 #: build/C/man3/wcsncpy.3:74
2052 msgid "The B<wcsncpy>() function is thread-safe."
2056 #: build/C/man3/wcsncpy.3:78
2057 msgid "B<strncpy>(3)"
2061 #: build/C/man3/wcsnlen.3:15
2067 #: build/C/man3/wcsnlen.3:18
2068 msgid "wcsnlen - determine the length of a fixed-size wide-character string"
2072 #: build/C/man3/wcsnlen.3:23
2074 msgid "B<size_t wcsnlen(const wchar_t *>I<s>B<, size_t >I<maxlen>B<);>\n"
2078 #: build/C/man3/wcsnlen.3:31
2079 msgid "B<wcsnlen>():"
2083 #: build/C/man3/wcsnlen.3:64
2085 "The B<wcsnlen>() function is the wide-character equivalent of the "
2086 "B<strnlen>(3) function. It returns the number of wide-characters in the "
2087 "string pointed to by I<s>, not including the terminating null wide character "
2088 "(L\\(aq\\e0\\(aq), but at most I<maxlen> wide characters (note: this "
2089 "parameter is not a byte count). In doing this, B<wcsnlen>() looks at only "
2090 "the first I<maxlen> wide characters at I<s> and never beyond I<s+maxlen>."
2094 #: build/C/man3/wcsnlen.3:78
2096 "The B<wcsnlen>() function returns I<wcslen(s)>, if that is less than "
2097 "I<maxlen>, or I<maxlen> if there is no null wide character among the first "
2098 "I<maxlen> wide characters pointed to by I<s>."
2102 #: build/C/man3/wcsnlen.3:82
2103 msgid "The B<wcsnlen>() function is provided in glibc since version 2.1."
2107 #: build/C/man3/wcsnlen.3:87
2108 msgid "The B<wcsnlen>() function is thread-safe."
2112 #: build/C/man3/wcsnlen.3:92
2113 msgid "B<strnlen>(3), B<wcslen>(3)"
2117 #: build/C/man3/wcsnrtombs.3:15
2123 #: build/C/man3/wcsnrtombs.3:18
2124 msgid "wcsnrtombs - convert a wide-character string to a multibyte string"
2128 #: build/C/man3/wcsnrtombs.3:24
2131 "B<size_t wcsnrtombs(char *>I<dest>B<, const wchar_t **>I<src>B<, size_t "
2133 "B< size_t >I<len>B<, mbstate_t *>I<ps>B<);>\n"
2137 #: build/C/man3/wcsnrtombs.3:32
2138 msgid "B<wcsnrtombs>():"
2142 #: build/C/man3/wcsnrtombs.3:55
2144 "The B<wcsnrtombs>() function is like the B<wcsrtombs>(3) function, except "
2145 "that the number of wide characters to be converted, starting at I<*src>, is "
2146 "limited to I<nwc>."
2150 #: build/C/man3/wcsnrtombs.3:87
2152 "If I<dest> is not NULL, the B<wcsnrtombs>() function converts at most "
2153 "I<nwc> wide characters from the wide-character string I<*src> to a multibyte "
2154 "string starting at I<dest>. At most I<len> bytes are written to I<dest>. "
2155 "The shift state I<*ps> is updated. The conversion is effectively performed "
2156 "by repeatedly calling I<wcrtomb(dest, *src, ps)>, as long as this call "
2157 "succeeds, and then incrementing I<dest> by the number of bytes written and "
2158 "I<*src> by one. The conversion can stop for three reasons:"
2162 #: build/C/man3/wcsnrtombs.3:99
2164 "A wide character has been encountered that can not be represented as a "
2165 "multibyte sequence (according to the current locale). In this case, I<*src> "
2166 "is left pointing to the invalid wide character, I<(size_t)\\ -1> is "
2167 "returned, and I<errno> is set to B<EILSEQ>."
2171 #: build/C/man3/wcsnrtombs.3:111
2173 "I<nwc> wide characters have been converted without encountering a null wide "
2174 "character (L\\(aq\\e0\\(aq), or the length limit forces a stop. In this "
2175 "case, I<*src> is left pointing to the next wide character to be converted, "
2176 "and the number of bytes written to I<dest> is returned."
2180 #: build/C/man3/wcsnrtombs.3:123
2182 "The wide-character string has been completely converted, including the "
2183 "terminating null wide character (which has the side effect of bringing back "
2184 "I<*ps> to the initial state). In this case, I<*src> is set to NULL, and the "
2185 "number of bytes written to I<dest>, excluding the terminating null byte "
2186 "(\\(aq\\e0\\(aq), is returned."
2190 #: build/C/man3/wcsnrtombs.3:132
2192 "If I<dest> is NULL, I<len> is ignored, and the conversion proceeds as above, "
2193 "except that the converted bytes are not written out to memory, and that no "
2194 "destination length limit exists."
2198 #: build/C/man3/wcsnrtombs.3:140
2200 "In both of the above cases, if I<ps> is NULL, a static anonymous state known "
2201 "only to the B<wcsnrtombs>() function is used instead."
2205 #: build/C/man3/wcsnrtombs.3:146 build/C/man3/wcsrtombs.3:112
2207 "The programmer must ensure that there is room for at least I<len> bytes at "
2212 #: build/C/man3/wcsnrtombs.3:160
2214 "The B<wcsnrtombs>() function returns the number of bytes that make up the "
2215 "converted part of multibyte sequence, not including the terminating null "
2216 "byte. If a wide character was encountered which could not be converted, "
2217 "I<(size_t)\\ -1> is returned, and I<errno> set to B<EILSEQ>."
2221 #: build/C/man3/wcsnrtombs.3:169
2223 "The behavior of B<wcsnrtombs>() depends on the B<LC_CTYPE> category of the "
2228 #: build/C/man3/wcsnrtombs.3:177
2229 msgid "B<iconv>(3), B<mbsinit>(3), B<wcsrtombs>(3)"
2233 #: build/C/man3/wcspbrk.3:16
2239 #: build/C/man3/wcspbrk.3:16 build/C/man3/wcstok.3:16
2245 #: build/C/man3/wcspbrk.3:19
2246 msgid "wcspbrk - search a wide-character string for any of a set of wide characters"
2250 #: build/C/man3/wcspbrk.3:24
2253 "B<wchar_t *wcspbrk(const wchar_t *>I<wcs>B<, const wchar_t "
2254 "*>I<accept>B<);>\n"
2258 #: build/C/man3/wcspbrk.3:39
2260 "The B<wcspbrk>() function is the wide-character equivalent of the "
2261 "B<strpbrk>(3) function. It searches for the first occurrence in the "
2262 "wide-character string pointed to by I<wcs> of any of the characters in the "
2263 "wide-character string pointed to by I<accept>."
2267 #: build/C/man3/wcspbrk.3:49
2269 "The B<wcspbrk>() function returns a pointer to the first occurrence in "
2270 "I<wcs> of any of the characters listed in I<accept>. If I<wcs> contains "
2271 "none of these characters, NULL is returned."
2275 #: build/C/man3/wcspbrk.3:54
2276 msgid "The B<wcspbrk>() function is thread-safe."
2280 #: build/C/man3/wcspbrk.3:60
2281 msgid "B<strpbrk>(3), B<wcschr>(3), B<wcscspn>(3)"
2285 #: build/C/man3/wcsrchr.3:16
2291 #: build/C/man3/wcsrchr.3:16
2297 #: build/C/man3/wcsrchr.3:19
2298 msgid "wcsrchr - search a wide character in a wide-character string"
2302 #: build/C/man3/wcsrchr.3:24
2304 msgid "B<wchar_t *wcsrchr(const wchar_t *>I<wcs>B<, wchar_t >I<wc>B<);>\n"
2308 #: build/C/man3/wcsrchr.3:37
2310 "The B<wcsrchr>() function is the wide-character equivalent of the "
2311 "B<strrchr>(3) function. It searches the last occurrence of I<wc> in the "
2312 "wide-character string pointed to by I<wcs>."
2316 #: build/C/man3/wcsrchr.3:47
2318 "The B<wcsrchr>() function returns a pointer to the last occurrence of I<wc> "
2319 "in the wide-character string pointed to by I<wcs>, or NULL if I<wc> does not "
2320 "occur in the string."
2324 #: build/C/man3/wcsrchr.3:52
2325 msgid "The B<wcsrchr>() function is thread-safe."
2329 #: build/C/man3/wcsrchr.3:57
2330 msgid "B<strrchr>(3), B<wcschr>(3)"
2334 #: build/C/man3/wcsrtombs.3:16
2340 #: build/C/man3/wcsrtombs.3:19
2341 msgid "wcsrtombs - convert a wide-character string to a multibyte string"
2345 #: build/C/man3/wcsrtombs.3:25
2348 "B<size_t wcsrtombs(char *>I<dest>B<, const wchar_t **>I<src>B<,>\n"
2349 "B< size_t >I<len>B<, mbstate_t *>I<ps>B<);>\n"
2353 #: build/C/man3/wcsrtombs.3:55
2355 "If I<dest> is not NULL, the B<wcsrtombs>() function converts the "
2356 "wide-character string I<*src> to a multibyte string starting at I<dest>. At "
2357 "most I<len> bytes are written to I<dest>. The shift state I<*ps> is "
2358 "updated. The conversion is effectively performed by repeatedly calling "
2359 "I<wcrtomb(dest, *src, ps)>, as long as this call succeeds, and then "
2360 "incrementing I<dest> by the number of bytes written and I<*src> by one. The "
2361 "conversion can stop for three reasons:"
2365 #: build/C/man3/wcsrtombs.3:67
2367 "1. A wide character has been encountered that can not be represented as a "
2368 "multibyte sequence (according to the current locale). In this case, I<*src> "
2369 "is left pointing to the invalid wide character, I<(size_t)\\ -1> is "
2370 "returned, and I<errno> is set to B<EILSEQ>."
2374 #: build/C/man3/wcsrtombs.3:76
2376 "2. The length limit forces a stop. In this case, I<*src> is left pointing "
2377 "to the next wide character to be converted, and the number of bytes written "
2378 "to I<dest> is returned."
2382 #: build/C/man3/wcsrtombs.3:89
2384 "3. The wide-character string has been completely converted, including the "
2385 "terminating null wide character (L\\(aq\\e0\\(aq), which has the side effect "
2386 "of bringing back I<*ps> to the initial state. In this case, I<*src> is set "
2387 "to NULL, and the number of bytes written to I<dest>, excluding the "
2388 "terminating null byte (\\(aq\\e0\\(aq), is returned."
2392 #: build/C/man3/wcsrtombs.3:98
2394 "If I<dest> is NULL, I<len> is ignored, and the conversion proceeds as above, "
2395 "except that the converted bytes are not written out to memory, and that no "
2396 "length limit exists."
2400 #: build/C/man3/wcsrtombs.3:106
2402 "In both of the above cases, if I<ps> is NULL, a static anonymous state known "
2403 "only to the B<wcsrtombs>() function is used instead."
2407 #: build/C/man3/wcsrtombs.3:126
2409 "The B<wcsrtombs>() function returns the number of bytes that make up the "
2410 "converted part of multibyte sequence, not including the terminating null "
2411 "byte. If a wide character was encountered which could not be converted, "
2412 "I<(size_t)\\ -1> is returned, and I<errno> set to B<EILSEQ>."
2416 #: build/C/man3/wcsrtombs.3:135
2418 "The behavior of B<wcsrtombs>() depends on the B<LC_CTYPE> category of the "
2423 #: build/C/man3/wcsrtombs.3:145
2424 msgid "B<iconv>(3), B<mbsinit>(3), B<wcrtomb>(3), B<wcsnrtombs>(3), B<wcstombs>(3)"
2428 #: build/C/man3/wcsspn.3:16
2434 #: build/C/man3/wcsspn.3:16 build/C/man3/wmemcpy.3:16 build/C/man3/wmemmove.3:16 build/C/man3/wmemset.3:16
2440 #: build/C/man3/wcsspn.3:20
2442 "wcsspn - advance in a wide-character string, skipping any of a set of wide "
2447 #: build/C/man3/wcsspn.3:25
2449 msgid "B<size_t wcsspn(const wchar_t *>I<wcs>B<, const wchar_t *>I<accept>B<);>\n"
2453 #: build/C/man3/wcsspn.3:41
2455 "The B<wcsspn>() function is the wide-character equivalent of the "
2456 "B<strspn>(3) function. It determines the length of the longest initial "
2457 "segment of I<wcs> which consists entirely of wide-characters listed in "
2458 "I<accept>. In other words, it searches for the first occurrence in the "
2459 "wide-character string I<wcs> of a wide-character not contained in the "
2460 "wide-character string I<accept>."
2464 #: build/C/man3/wcsspn.3:60
2466 "The B<wcsspn>() function returns the number of wide characters in the "
2467 "longest initial segment of I<wcs> which consists entirely of wide-characters "
2468 "listed in I<accept>. In other words, it returns the position of the first "
2469 "occurrence in the wide-character string I<wcs> of a wide-character not "
2470 "contained in the wide-character string I<accept>, or I<wcslen(wcs)> if there "
2475 #: build/C/man3/wcsspn.3:65
2476 msgid "The B<wcsspn>() function is thread-safe."
2480 #: build/C/man3/wcsspn.3:70
2481 msgid "B<strspn>(3), B<wcscspn>(3)"
2485 #: build/C/man3/wcsstr.3:16
2491 #: build/C/man3/wcsstr.3:16
2497 #: build/C/man3/wcsstr.3:19
2498 msgid "wcsstr - locate a substring in a wide-character string"
2502 #: build/C/man3/wcsstr.3:24
2505 "B<wchar_t *wcsstr(const wchar_t *>I<haystack>B<, const wchar_t "
2506 "*>I<needle>B<);>\n"
2510 #: build/C/man3/wcsstr.3:36
2512 "The B<wcsstr>() function is the wide-character equivalent of the "
2513 "B<strstr>(3) function. It searches for the first occurrence of the "
2514 "wide-character string I<needle> (without its terminating null wide character "
2515 "(L\\(aq\\e0\\(aq)) as a substring in the wide-character string I<haystack>."
2519 #: build/C/man3/wcsstr.3:48
2521 "The B<wcsstr>() function returns a pointer to the first occurrence of "
2522 "I<needle> in I<haystack>. It returns NULL if I<needle> does not occur as a "
2523 "substring in I<haystack>."
2527 #: build/C/man3/wcsstr.3:56
2529 "Note the special case: If I<needle> is the empty wide-character string, the "
2530 "return value is always I<haystack> itself."
2534 #: build/C/man3/wcsstr.3:61
2535 msgid "The B<wcsstr>() function is thread-safe."
2539 #: build/C/man3/wcsstr.3:66
2540 msgid "B<strstr>(3), B<wcschr>(3)"
2544 #: build/C/man3/wcstoimax.3:24
2550 #: build/C/man3/wcstoimax.3:27
2551 msgid "wcstoimax, wcstoumax - convert wide-character string to integer"
2555 #: build/C/man3/wcstoimax.3:30
2557 msgid "B<#include E<lt>stddef.hE<gt>>\n"
2561 #: build/C/man3/wcstoimax.3:32
2563 msgid "B<#include E<lt>inttypes.hE<gt>>\n"
2567 #: build/C/man3/wcstoimax.3:35
2570 "B<intmax_t wcstoimax(const wchar_t *>I<nptr>B<, wchar_t **>I<endptr>B<, int "
2575 #: build/C/man3/wcstoimax.3:38
2578 "B<uintmax_t wcstoumax(const wchar_t *>I<nptr>B<, wchar_t **>I<endptr>B<, int "
2583 #: build/C/man3/wcstoimax.3:49
2585 "These functions are just like B<wcstol>(3) and B<wcstoul>(3), except that "
2586 "they return a value of type I<intmax_t> and I<uintmax_t>, respectively."
2590 #: build/C/man3/wcstoimax.3:60
2592 "The B<wcstoimax>() and B<wcstoumax>() functions are thread-safe with "
2593 "exceptions. These functions can be safely used in multithreaded "
2594 "applications, as long as B<setlocale>(3) is not called to change the locale "
2595 "during their execution."
2598 #. FIXME . the pages referred to by the following xrefs are not yet written
2600 #: build/C/man3/wcstoimax.3:70
2602 "B<imaxabs>(3), B<imaxdiv>(3), B<strtoimax>(3), B<strtoumax>(3), "
2603 "B<wcstol>(3), B<wcstoul>(3)"
2607 #: build/C/man3/wcstok.3:16
2613 #: build/C/man3/wcstok.3:19
2614 msgid "wcstok - split wide-character string into tokens"
2618 #: build/C/man3/wcstok.3:25
2621 "B<wchar_t *wcstok(wchar_t *>I<wcs>B<, const wchar_t *>I<delim>B<, wchar_t "
2626 #: build/C/man3/wcstok.3:39
2628 "The B<wcstok>() function is the wide-character equivalent of the "
2629 "B<strtok>(3) function, with an added argument to make it multithread-safe. "
2630 "It can be used to split a wide-character string I<wcs> into tokens, where a "
2631 "token is defined as a substring not containing any wide-characters from "
2636 #: build/C/man3/wcstok.3:74
2638 "The search starts at I<wcs>, if I<wcs> is not NULL, or at I<*ptr>, if I<wcs> "
2639 "is NULL. First, any delimiter wide-characters are skipped, that is, the "
2640 "pointer is advanced beyond any wide-characters which occur in I<delim>. If "
2641 "the end of the wide-character string is now reached, B<wcstok>() returns "
2642 "NULL, to indicate that no tokens were found, and stores an appropriate value "
2643 "in I<*ptr>, so that subsequent calls to B<wcstok>() will continue to return "
2644 "NULL. Otherwise, the B<wcstok>() function recognizes the beginning of a "
2645 "token and returns a pointer to it, but before doing that, it zero-terminates "
2646 "the token by replacing the next wide-character which occurs in I<delim> with "
2647 "a null wide character (L\\(aq\\e0\\(aq), and it updates I<*ptr> so that "
2648 "subsequent calls will continue searching after the end of recognized token."
2652 #: build/C/man3/wcstok.3:79
2654 "The B<wcstok>() function returns a pointer to the next token, or NULL if no "
2655 "further token was found."
2659 #: build/C/man3/wcstok.3:84
2660 msgid "The B<wcstok>() function is thread-safe."
2664 #: build/C/man3/wcstok.3:91
2666 "The original I<wcs> wide-character string is destructively modified during "
2671 #: build/C/man3/wcstok.3:91
2677 #: build/C/man3/wcstok.3:93
2679 "The following code loops over the tokens contained in a wide-character "
2684 #: build/C/man3/wcstok.3:103
2687 "wchar_t *wcs = ...;\n"
2690 "for (token = wcstok(wcs, \" \\et\\en\", &state);\n"
2692 " token = wcstok(NULL, \" \\et\\en\", &state)) {\n"
2698 #: build/C/man3/wcstok.3:107
2699 msgid "B<strtok>(3), B<wcschr>(3)"
2703 #: build/C/man3/wcswidth.3:15
2709 #: build/C/man3/wcswidth.3:18
2710 msgid "wcswidth - determine columns needed for a fixed-size wide-character string"
2714 #: build/C/man3/wcswidth.3:22
2717 "B<#define _XOPEN_SOURCE> /* See feature_test_macros(7) */\n"
2718 "B<#include E<lt>wchar.hE<gt>>\n"
2722 #: build/C/man3/wcswidth.3:24
2724 msgid "B<int wcswidth(const wchar_t *>I<s>B<, size_t >I<n>B<);>\n"
2728 #: build/C/man3/wcswidth.3:38
2730 "The B<wcswidth>() function returns the number of columns needed to "
2731 "represent the wide-character string pointed to by I<s>, but at most I<n> "
2732 "wide characters. If a nonprintable wide character occurs among these "
2733 "characters, -1 is returned."
2737 #: build/C/man3/wcswidth.3:47
2739 "The B<wcswidth>() function returns the number of column positions for the "
2740 "wide-character string I<s>, truncated to at most length I<n>."
2744 #: build/C/man3/wcswidth.3:55
2746 "The B<wcswidth>() function is thread-safe with exceptions. It can be "
2747 "safely used in multithreaded applications, as long as B<setlocale>(3) is "
2748 "not called to change the locale during its execution."
2752 #: build/C/man3/wcswidth.3:57 build/C/man3/wcwidth.3:55
2753 msgid "POSIX.1-2001."
2757 #: build/C/man3/wcswidth.3:64
2759 "The behavior of B<wcswidth>() depends on the B<LC_CTYPE> category of the "
2764 #: build/C/man3/wcswidth.3:67
2765 msgid "B<iswprint>(3), B<wcwidth>(3)"
2769 #: build/C/man3/wctob.3:16
2775 #: build/C/man3/wctob.3:19
2776 msgid "wctob - try to represent a wide character as a single byte"
2780 #: build/C/man3/wctob.3:24
2782 msgid "B<int wctob(wint_t >I<c>B<);>\n"
2786 #: build/C/man3/wctob.3:36
2788 "The B<wctob>() function tests whether the multibyte representation of the "
2789 "wide character I<c>, starting in the initial state, consists of a single "
2790 "byte. If so, it is returned as an I<unsigned char>."
2794 #: build/C/man3/wctob.3:42
2796 "Never use this function. It cannot help you in writing internationalized "
2797 "programs. Internationalized programs must never distinguish single-byte and "
2798 "multibyte characters."
2802 #: build/C/man3/wctob.3:50
2804 "The B<wctob>() function returns the single-byte representation of I<c>, if "
2805 "it exists, of B<EOF> otherwise."
2809 #: build/C/man3/wctob.3:59
2811 "The behavior of B<wctob>() depends on the B<LC_CTYPE> category of the "
2816 #: build/C/man3/wctob.3:68
2818 "This function should never be used. Internationalized programs must never "
2819 "distinguish single-byte and multibyte characters. Use either B<wctomb>(3) "
2820 "or the thread-safe B<wcrtomb>(3) instead."
2824 #: build/C/man3/wctob.3:72
2825 msgid "B<btowc>(3), B<wcrtomb>(3), B<wctomb>(3)"
2829 #: build/C/man3/wcwidth.3:15
2835 #: build/C/man3/wcwidth.3:18
2836 msgid "wcwidth - determine columns needed for a wide character"
2840 #: build/C/man3/wcwidth.3:22
2843 "B<#define _XOPEN_SOURCE> /* See feature_test_macros(7) */\n"
2844 "B<#include E<lt>wchar.hE<gt>>\n"
2848 #: build/C/man3/wcwidth.3:24
2850 msgid "B<int wcwidth(wchar_t >I<c>B<);>\n"
2854 #: build/C/man3/wcwidth.3:39
2856 "The B<wcwidth>() function returns the number of columns needed to represent "
2857 "the wide character I<c>. If I<c> is a printable wide character, the value "
2858 "is at least 0. If I<c> is null wide character (L\\(aq\\e0\\(aq), the value "
2859 "is 0. Otherwise -1 is returned."
2863 #: build/C/man3/wcwidth.3:45
2864 msgid "The B<wcwidth>() function returns the number of column positions for I<c>."
2868 #: build/C/man3/wcwidth.3:53
2870 "The B<wcwidth>() function is thread-safe with exceptions. It can be safely "
2871 "used in multithreaded applications, as long as B<setlocale>(3) is not "
2872 "called to change the locale during its execution."
2876 #: build/C/man3/wcwidth.3:57
2877 msgid "Note that glibc before 2.2.5 used the prototype"
2881 #: build/C/man3/wcwidth.3:60
2883 msgid "B<int wcwidth(wint_t >I<c>B<);>\n"
2887 #: build/C/man3/wcwidth.3:68
2889 "The behavior of B<wcwidth>() depends on the B<LC_CTYPE> category of the "
2894 #: build/C/man3/wcwidth.3:71
2895 msgid "B<iswprint>(3), B<wcswidth>(3)"
2899 #: build/C/man3/wmemchr.3:16
2905 #: build/C/man3/wmemchr.3:16 build/C/man3/wmemcmp.3:15
2911 #: build/C/man3/wmemchr.3:19
2912 msgid "wmemchr - search a wide character in a wide-character array"
2916 #: build/C/man3/wmemchr.3:24
2919 "B<wchar_t *wmemchr(const wchar_t *>I<s>B<, wchar_t >I<c>B<, size_t "
2924 #: build/C/man3/wmemchr.3:38
2926 "The B<wmemchr>() function is the wide-character equivalent of the "
2927 "B<memchr>(3) function. It searches the I<n> wide characters starting at "
2928 "I<s> for the first occurrence of the wide character I<c>."
2932 #: build/C/man3/wmemchr.3:51
2934 "The B<wmemchr>() function returns a pointer to the first occurrence of I<c> "
2935 "among the I<n> wide characters starting at I<s>, or NULL if I<c> does not "
2936 "occur among these."
2940 #: build/C/man3/wmemchr.3:56
2941 msgid "The B<wmemchr>() function is thread-safe."
2945 #: build/C/man3/wmemchr.3:61
2946 msgid "B<memchr>(3), B<wcschr>(3)"
2950 #: build/C/man3/wmemcmp.3:15
2956 #: build/C/man3/wmemcmp.3:18
2957 msgid "wmemcmp - compare two arrays of wide-characters"
2961 #: build/C/man3/wmemcmp.3:23
2964 "B<int wmemcmp(const wchar_t *>I<s1>B<, const wchar_t *>I<s2>B<, size_t "
2969 #: build/C/man3/wmemcmp.3:38
2971 "The B<wmemcmp>() function is the wide-character equivalent of the "
2972 "B<memcmp>(3) function. It compares the I<n> wide-characters starting at "
2973 "I<s1> and the I<n> wide-characters starting at I<s2>."
2977 #: build/C/man3/wmemcmp.3:70
2979 "The B<wmemcmp>() function returns zero if the wide-character arrays of size "
2980 "I<n> at I<s1> and I<s2> are equal. It returns an integer greater than zero "
2981 "if at the first differing position I<i> (I<i> E<lt> I<n>), the corresponding "
2982 "wide-character I<s1[i]> is greater than I<s2[i]>. It returns an integer "
2983 "less than zero if at the first differing position I<i> (I<i> E<lt> I<n>), "
2984 "the corresponding wide-character I<s1[i]> is less than I<s2[i]>."
2988 #: build/C/man3/wmemcmp.3:75
2989 msgid "The B<wmemcmp>() function is thread-safe."
2993 #: build/C/man3/wmemcmp.3:80
2994 msgid "B<memcmp>(3), B<wcscmp>(3)"
2998 #: build/C/man3/wmemcpy.3:16
3004 #: build/C/man3/wmemcpy.3:19
3005 msgid "wmemcpy - copy an array of wide-characters"
3009 #: build/C/man3/wmemcpy.3:24
3012 "B<wchar_t *wmemcpy(wchar_t *>I<dest>B<, const wchar_t *>I<src>B<, size_t "
3017 #: build/C/man3/wmemcpy.3:37
3019 "The B<wmemcpy>() function is the wide-character equivalent of the "
3020 "B<memcpy>(3) function. It copies I<n> wide characters from the array "
3021 "starting at I<src> to the array starting at I<dest>."
3025 #: build/C/man3/wmemcpy.3:42
3027 "The arrays may not overlap; use B<wmemmove>(3) to copy between overlapping "
3032 #: build/C/man3/wmemcpy.3:52
3033 msgid "B<wmemcpy>() returns I<dest>."
3037 #: build/C/man3/wmemcpy.3:57
3038 msgid "The B<wmemcpy>() function is thread-safe."
3042 #: build/C/man3/wmemcpy.3:64
3043 msgid "B<memcpy>(3), B<wcscpy>(3), B<wmemmove>(3), B<wmempcpy>(3)"
3047 #: build/C/man3/wmemmove.3:16
3053 #: build/C/man3/wmemmove.3:19
3054 msgid "wmemmove - copy an array of wide-characters"
3058 #: build/C/man3/wmemmove.3:24
3061 "B<wchar_t *wmemmove(wchar_t *>I<dest>B<, const wchar_t *>I<src>B<, size_t "
3066 #: build/C/man3/wmemmove.3:40
3068 "The B<wmemmove>() function is the wide-character equivalent of the "
3069 "B<memmove>(3) function. It copies I<n> wide characters from the array "
3070 "starting at I<src> to the array starting at I<dest>. The arrays may "
3075 #: build/C/man3/wmemmove.3:50
3076 msgid "B<wmemmove>() returns I<dest>."
3080 #: build/C/man3/wmemmove.3:55
3081 msgid "The B<wmemmove>() function is thread-safe."
3085 #: build/C/man3/wmemmove.3:60
3086 msgid "B<memmove>(3), B<wmemcpy>(3)"
3090 #: build/C/man3/wmemset.3:16
3096 #: build/C/man3/wmemset.3:19
3097 msgid "wmemset - fill an array of wide-characters with a constant wide character"
3101 #: build/C/man3/wmemset.3:24
3103 msgid "B<wchar_t *wmemset(wchar_t *>I<wcs>B<, wchar_t >I<wc>B<, size_t >I<n>B<);>\n"
3107 #: build/C/man3/wmemset.3:39
3109 "The B<wmemset>() function is the wide-character equivalent of the "
3110 "B<memset>(3) function. It fills the array of I<n> wide-characters starting "
3111 "at I<wcs> with I<n> copies of the wide character I<wc>."
3115 #: build/C/man3/wmemset.3:43
3116 msgid "B<wmemset>() returns I<wcs>."
3120 #: build/C/man3/wmemset.3:48
3121 msgid "The B<wmemset>() function is thread-safe."
3125 #: build/C/man3/wmemset.3:52
3126 msgid "B<memset>(3)"