| 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. |
| 5 |
# |
| 6 |
#, fuzzy |
| 7 |
msgid "" |
| 8 |
msgstr "" |
| 9 |
"Project-Id-Version: PACKAGE VERSION\n" |
| 10 |
"POT-Creation-Date: 2026-06-05 06:30+0200\n" |
| 11 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
| 12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
| 13 |
"Language-Team: LANGUAGE <[email protected]>\n" |
| 14 |
"Language: \n" |
| 15 |
"MIME-Version: 1.0\n" |
| 16 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 17 |
"Content-Transfer-Encoding: 8bit\n" |
| 18 |
|
| 19 |
#. type: TH |
| 20 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 21 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 22 |
#, no-wrap |
| 23 |
msgid "mbrtowc" |
| 24 |
msgstr "" |
| 25 |
|
| 26 |
#. type: TH |
| 27 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 28 |
#: opensuse-tumbleweed |
| 29 |
#, no-wrap |
| 30 |
msgid "2026-02-08" |
| 31 |
msgstr "" |
| 32 |
|
| 33 |
#. type: TH |
| 34 |
#: archlinux debian-unstable |
| 35 |
#, no-wrap |
| 36 |
msgid "Linux man-pages 6.18" |
| 37 |
msgstr "" |
| 38 |
|
| 39 |
#. type: SH |
| 40 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 41 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 42 |
#, no-wrap |
| 43 |
msgid "NAME" |
| 44 |
msgstr "" |
| 45 |
|
| 46 |
#. type: Plain text |
| 47 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 48 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 49 |
msgid "mbrtowc - convert a multibyte sequence to a wide character" |
| 50 |
msgstr "" |
| 51 |
|
| 52 |
#. type: SH |
| 53 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 54 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 55 |
#, no-wrap |
| 56 |
msgid "LIBRARY" |
| 57 |
msgstr "" |
| 58 |
|
| 59 |
#. type: Plain text |
| 60 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 61 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 62 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 63 |
msgstr "" |
| 64 |
|
| 65 |
#. type: SH |
| 66 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 67 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 68 |
#, no-wrap |
| 69 |
msgid "SYNOPSIS" |
| 70 |
msgstr "" |
| 71 |
|
| 72 |
#. type: Plain text |
| 73 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 74 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 75 |
#, no-wrap |
| 76 |
msgid "B<#include E<lt>wchar.hE<gt>>\n" |
| 77 |
msgstr "" |
| 78 |
|
| 79 |
#. type: Plain text |
| 80 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 81 |
#: opensuse-tumbleweed |
| 82 |
#, no-wrap |
| 83 |
msgid "" |
| 84 |
"B<size_t mbrtowc(>size_t n;\n" |
| 85 |
"B< wchar_t *restrict >I<pwc>B<, const char >I<s>B<[restrict >I<n>B<],>\n" |
| 86 |
"B< size_t >I<n>B<, mbstate_t *restrict >I<ps>B<);>\n" |
| 87 |
msgstr "" |
| 88 |
|
| 89 |
#. type: SH |
| 90 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 91 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 92 |
#, no-wrap |
| 93 |
msgid "DESCRIPTION" |
| 94 |
msgstr "" |
| 95 |
|
| 96 |
#. type: Plain text |
| 97 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 98 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 99 |
msgid "" |
| 100 |
"The main case for this function is when I<s> is not NULL and I<pwc> is not " |
| 101 |
"NULL. In this case, the B<mbrtowc>() function inspects at most I<n> bytes " |
| 102 |
"of the multibyte string starting at I<s>, extracts the next complete " |
| 103 |
"multibyte character, converts it to a wide character and stores it at " |
| 104 |
"I<*pwc>. It updates the shift state I<*ps>. If the converted wide " |
| 105 |
"character is not L\\[aq]\\[rs]0\\[aq] (the null wide character), it returns " |
| 106 |
"the number of bytes that were consumed from I<s>. If the converted wide " |
| 107 |
"character is L\\[aq]\\[rs]0\\[aq], it resets the shift state I<*ps> to the " |
| 108 |
"initial state and returns 0." |
| 109 |
msgstr "" |
| 110 |
|
| 111 |
#. type: Plain text |
| 112 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 113 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 114 |
msgid "" |
| 115 |
"If the I<n> bytes starting at I<s> do not contain a complete multibyte " |
| 116 |
"character, B<mbrtowc>() returns I<(size_t)\\ -2>. This can happen even if " |
| 117 |
"I<n> E<gt>= I<MB_CUR_MAX>, if the multibyte string contains redundant shift " |
| 118 |
"sequences." |
| 119 |
msgstr "" |
| 120 |
|
| 121 |
#. type: Plain text |
| 122 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 123 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 124 |
msgid "" |
| 125 |
"If the multibyte string starting at I<s> contains an invalid multibyte " |
| 126 |
"sequence before the next complete character, B<mbrtowc>() returns I<(size_t)" |
| 127 |
"\\ -1> and sets I<errno> to B<EILSEQ>. In this case, the effects on I<*ps> " |
| 128 |
"are undefined." |
| 129 |
msgstr "" |
| 130 |
|
| 131 |
#. type: Plain text |
| 132 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 133 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 134 |
msgid "" |
| 135 |
"A different case is when I<s> is not NULL but I<pwc> is NULL. In this case, " |
| 136 |
"the B<mbrtowc>() function behaves as above, except that it does not store " |
| 137 |
"the converted wide character in memory." |
| 138 |
msgstr "" |
| 139 |
|
| 140 |
#. type: Plain text |
| 141 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 142 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 143 |
msgid "" |
| 144 |
"A third case is when I<s> is NULL. In this case, I<pwc> and I<n> are " |
| 145 |
"ignored. If the conversion state represented by I<*ps> denotes an " |
| 146 |
"incomplete multibyte character conversion, the B<mbrtowc>() function " |
| 147 |
"returns I<(size_t)\\ -1>, sets I<errno> to B<EILSEQ>, and leaves I<*ps> in " |
| 148 |
"an undefined state. Otherwise, the B<mbrtowc>() function puts I<*ps> in " |
| 149 |
"the initial state and returns 0." |
| 150 |
msgstr "" |
| 151 |
|
| 152 |
#. type: Plain text |
| 153 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 154 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 155 |
msgid "" |
| 156 |
"In all of the above cases, if I<ps> is NULL, a static anonymous state known " |
| 157 |
"only to the B<mbrtowc>() function is used instead. Otherwise, I<*ps> must " |
| 158 |
"be a valid I<mbstate_t> object. An I<mbstate_t> object I<a> can be " |
| 159 |
"initialized to the initial state by zeroing it, for example using" |
| 160 |
msgstr "" |
| 161 |
|
| 162 |
#. type: Plain text |
| 163 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 164 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 165 |
#, no-wrap |
| 166 |
msgid "memset(&a, 0, sizeof(a));\n" |
| 167 |
msgstr "" |
| 168 |
|
| 169 |
#. type: SH |
| 170 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 171 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 172 |
#, no-wrap |
| 173 |
msgid "RETURN VALUE" |
| 174 |
msgstr "" |
| 175 |
|
| 176 |
#. type: Plain text |
| 177 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 178 |
#: opensuse-tumbleweed |
| 179 |
msgid "" |
| 180 |
"The B<mbrtowc>() function returns the number of bytes parsed from the " |
| 181 |
"multibyte sequence starting at I<s>, if a non-L\\[aq]\\[rs]0\\[aq] wide " |
| 182 |
"character was recognized. It returns 0, if a L\\[aq]\\[rs]0\\[aq] wide " |
| 183 |
"character was recognized. It returns I<(size_t)\\ -1> and sets I<errno> to " |
| 184 |
"B<EILSEQ>, if an invalid multibyte sequence was encountered. It returns " |
| 185 |
"I<(size_t)\\ -2> if the consumed I<n> bytes form a valid partial character " |
| 186 |
"sequence; more subsequent data needs to be fed in." |
| 187 |
msgstr "" |
| 188 |
|
| 189 |
#. type: SH |
| 190 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 191 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 192 |
#, no-wrap |
| 193 |
msgid "ATTRIBUTES" |
| 194 |
msgstr "" |
| 195 |
|
| 196 |
#. type: Plain text |
| 197 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 198 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 199 |
msgid "" |
| 200 |
"For an explanation of the terms used in this section, see B<attributes>(7)." |
| 201 |
msgstr "" |
| 202 |
|
| 203 |
#. type: tbl table |
| 204 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 205 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 206 |
#, no-wrap |
| 207 |
msgid "Interface" |
| 208 |
msgstr "" |
| 209 |
|
| 210 |
#. type: tbl table |
| 211 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 212 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 213 |
#, no-wrap |
| 214 |
msgid "Attribute" |
| 215 |
msgstr "" |
| 216 |
|
| 217 |
#. type: tbl table |
| 218 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 219 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 220 |
#, no-wrap |
| 221 |
msgid "Value" |
| 222 |
msgstr "" |
| 223 |
|
| 224 |
#. type: tbl table |
| 225 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 226 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 227 |
#, no-wrap |
| 228 |
msgid ".na\n" |
| 229 |
msgstr "" |
| 230 |
|
| 231 |
#. type: tbl table |
| 232 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 233 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 234 |
#, no-wrap |
| 235 |
msgid ".nh\n" |
| 236 |
msgstr "" |
| 237 |
|
| 238 |
#. type: tbl table |
| 239 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 240 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 241 |
#, no-wrap |
| 242 |
msgid "B<mbrtowc>()" |
| 243 |
msgstr "" |
| 244 |
|
| 245 |
#. type: tbl table |
| 246 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 247 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 248 |
#, no-wrap |
| 249 |
msgid "Thread safety" |
| 250 |
msgstr "" |
| 251 |
|
| 252 |
#. type: tbl table |
| 253 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 254 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 255 |
#, no-wrap |
| 256 |
msgid "MT-Unsafe race:mbrtowc/!ps" |
| 257 |
msgstr "" |
| 258 |
|
| 259 |
#. type: SH |
| 260 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 261 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 262 |
#, no-wrap |
| 263 |
msgid "STANDARDS" |
| 264 |
msgstr "" |
| 265 |
|
| 266 |
#. type: Plain text |
| 267 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 268 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 269 |
msgid "C11, POSIX.1-2008." |
| 270 |
msgstr "" |
| 271 |
|
| 272 |
#. type: SH |
| 273 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 274 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 275 |
#, no-wrap |
| 276 |
msgid "HISTORY" |
| 277 |
msgstr "" |
| 278 |
|
| 279 |
#. type: Plain text |
| 280 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 281 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 282 |
msgid "POSIX.1-2001, C99." |
| 283 |
msgstr "" |
| 284 |
|
| 285 |
#. type: SH |
| 286 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 287 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 288 |
#, no-wrap |
| 289 |
msgid "NOTES" |
| 290 |
msgstr "" |
| 291 |
|
| 292 |
#. type: Plain text |
| 293 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 294 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 295 |
msgid "" |
| 296 |
"The behavior of B<mbrtowc>() depends on the B<LC_CTYPE> category of the " |
| 297 |
"current locale." |
| 298 |
msgstr "" |
| 299 |
|
| 300 |
#. type: SH |
| 301 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 302 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 303 |
#, no-wrap |
| 304 |
msgid "SEE ALSO" |
| 305 |
msgstr "" |
| 306 |
|
| 307 |
#. type: Plain text |
| 308 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 309 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 310 |
msgid "B<mbsinit>(3), B<mbsrtowcs>(3)" |
| 311 |
msgstr "" |
| 312 |
|
| 313 |
#. type: TH |
| 314 |
#: debian-trixie |
| 315 |
#, no-wrap |
| 316 |
msgid "2024-06-15" |
| 317 |
msgstr "" |
| 318 |
|
| 319 |
#. type: TH |
| 320 |
#: debian-trixie |
| 321 |
#, no-wrap |
| 322 |
msgid "Linux man-pages 6.9.1" |
| 323 |
msgstr "" |
| 324 |
|
| 325 |
#. type: Plain text |
| 326 |
#: debian-trixie |
| 327 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 328 |
msgstr "" |
| 329 |
|
| 330 |
#. type: Plain text |
| 331 |
#: debian-trixie fedora-44 fedora-rawhide |
| 332 |
#, no-wrap |
| 333 |
msgid "" |
| 334 |
"B<size_t mbrtowc(wchar_t *restrict >I<pwc>B<, const char >I<s>B<[restrict .>I<n>B<],>\n" |
| 335 |
"B< size_t >I<n>B<, mbstate_t *restrict >I<ps>B<);>\n" |
| 336 |
msgstr "" |
| 337 |
|
| 338 |
#. type: Plain text |
| 339 |
#: debian-trixie fedora-44 fedora-rawhide |
| 340 |
msgid "" |
| 341 |
"The B<mbrtowc>() function returns the number of bytes parsed from the " |
| 342 |
"multibyte sequence starting at I<s>, if a non-L\\[aq]\\[rs]0\\[aq] wide " |
| 343 |
"character was recognized. It returns 0, if a L\\[aq]\\[rs]0\\[aq] wide " |
| 344 |
"character was recognized. It returns I<(size_t)\\ -1> and sets I<errno> to " |
| 345 |
"B<EILSEQ>, if an invalid multibyte sequence was encountered. It returns " |
| 346 |
"I<(size_t)\\ -2> if it couldn't parse a complete multibyte character, " |
| 347 |
"meaning that I<n> should be increased." |
| 348 |
msgstr "" |
| 349 |
|
| 350 |
#. type: TH |
| 351 |
#: fedora-44 fedora-rawhide |
| 352 |
#, no-wrap |
| 353 |
msgid "2024-07-23" |
| 354 |
msgstr "" |
| 355 |
|
| 356 |
#. type: TH |
| 357 |
#: fedora-44 fedora-rawhide |
| 358 |
#, no-wrap |
| 359 |
msgid "Linux man-pages 6.13" |
| 360 |
msgstr "" |
| 361 |
|
| 362 |
#. type: TH |
| 363 |
#: mageia-cauldron |
| 364 |
#, no-wrap |
| 365 |
msgid "Linux man-pages 6.17" |
| 366 |
msgstr "" |
| 367 |
|
| 368 |
#. type: TH |
| 369 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 370 |
#, no-wrap |
| 371 |
msgid "Linux man-pages (unreleased)" |
| 372 |
msgstr "" |