Debian Codegraph @

templates/man3/mbtowc.3.pot

raw
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 "mbtowc"
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 "mbtowc - 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>stdlib.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<int mbtowc(>size_t size;\n"
85 "B< wchar_t *restrict >I<pwc>B<, const char >I<s>B<[restrict >I<size>B<],>\n"
86 "B< size_t >I<size>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-unstable mageia-cauldron opensuse-leap-16-1
98 #: 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<mbtowc>() function inspects at most I<size> "
102 "bytes 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 an internal shift state known only to the B<mbtowc>() "
105 "function. If I<s> does not point to a null byte (\\[aq]\\[rs]0\\[aq]), it "
106 "returns the number of bytes that were consumed from I<s>, otherwise it "
107 "returns 0."
108 msgstr ""
109
110 #. type: Plain text
111 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
112 #: opensuse-tumbleweed
113 msgid ""
114 "If the I<size> bytes starting at I<s> do not contain a complete multibyte "
115 "character, or if they contain an invalid multibyte sequence, B<mbtowc>() "
116 "returns -1. This can happen even if I<size> E<gt>= I<MB_CUR_MAX>, if the "
117 "multibyte string contains redundant shift sequences."
118 msgstr ""
119
120 #. type: Plain text
121 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
122 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
123 msgid ""
124 "A different case is when I<s> is not NULL but I<pwc> is NULL. In this case, "
125 "the B<mbtowc>() function behaves as above, except that it does not store "
126 "the converted wide character in memory."
127 msgstr ""
128
129 #. The Dinkumware doc and the Single UNIX specification say this, but
130 #. glibc doesn't implement this.
131 #. type: Plain text
132 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
133 #: opensuse-tumbleweed
134 msgid ""
135 "A third case is when I<s> is NULL. In this case, I<pwc> and I<size> are "
136 "ignored. The B<mbtowc>() function resets the shift state, only known to "
137 "this function, to the initial state, and returns nonzero if the encoding has "
138 "nontrivial shift state, or zero if the encoding is stateless."
139 msgstr ""
140
141 #. type: SH
142 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
143 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
144 #, no-wrap
145 msgid "RETURN VALUE"
146 msgstr ""
147
148 #. type: Plain text
149 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
150 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
151 msgid ""
152 "If I<s> is not NULL, the B<mbtowc>() function returns the number of "
153 "consumed bytes starting at I<s>, or 0 if I<s> points to a null byte, or -1 "
154 "upon failure."
155 msgstr ""
156
157 #. type: Plain text
158 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
159 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
160 msgid ""
161 "If I<s> is NULL, the B<mbtowc>() function returns nonzero if the encoding "
162 "has nontrivial shift state, or zero if the encoding is stateless."
163 msgstr ""
164
165 #. type: SH
166 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
167 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
168 #, no-wrap
169 msgid "ATTRIBUTES"
170 msgstr ""
171
172 #. type: Plain text
173 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
174 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
175 msgid ""
176 "For an explanation of the terms used in this section, see B<attributes>(7)."
177 msgstr ""
178
179 #. type: tbl table
180 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
181 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
182 #, no-wrap
183 msgid "Interface"
184 msgstr ""
185
186 #. type: tbl table
187 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
188 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
189 #, no-wrap
190 msgid "Attribute"
191 msgstr ""
192
193 #. type: tbl table
194 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
195 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
196 #, no-wrap
197 msgid "Value"
198 msgstr ""
199
200 #. type: tbl table
201 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
202 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
203 #, no-wrap
204 msgid ".na\n"
205 msgstr ""
206
207 #. type: tbl table
208 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
209 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
210 #, no-wrap
211 msgid ".nh\n"
212 msgstr ""
213
214 #. type: tbl table
215 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
216 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
217 #, no-wrap
218 msgid "B<mbtowc>()"
219 msgstr ""
220
221 #. type: tbl table
222 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
223 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
224 #, no-wrap
225 msgid "Thread safety"
226 msgstr ""
227
228 #. type: tbl table
229 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
230 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
231 #, no-wrap
232 msgid "MT-Unsafe race"
233 msgstr ""
234
235 #. type: SH
236 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
237 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
238 #, no-wrap
239 msgid "VERSIONS"
240 msgstr ""
241
242 #. type: Plain text
243 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
244 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
245 msgid ""
246 "This function is not multithread safe. The function B<mbrtowc>(3) provides "
247 "a better interface to the same functionality."
248 msgstr ""
249
250 #. type: SH
251 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
252 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
253 #, no-wrap
254 msgid "STANDARDS"
255 msgstr ""
256
257 #. type: Plain text
258 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
259 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
260 msgid "C11, POSIX.1-2008."
261 msgstr ""
262
263 #. type: SH
264 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
265 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
266 #, no-wrap
267 msgid "HISTORY"
268 msgstr ""
269
270 #. type: Plain text
271 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
272 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
273 msgid "POSIX.1-2001, C99."
274 msgstr ""
275
276 #. type: SH
277 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
278 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
279 #, no-wrap
280 msgid "NOTES"
281 msgstr ""
282
283 #. type: Plain text
284 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
285 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
286 msgid ""
287 "The behavior of B<mbtowc>() depends on the B<LC_CTYPE> category of the "
288 "current locale."
289 msgstr ""
290
291 #. type: SH
292 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
293 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
294 #, no-wrap
295 msgid "SEE ALSO"
296 msgstr ""
297
298 #. type: Plain text
299 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
300 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
301 msgid ""
302 "B<MB_CUR_MAX>(3), B<mblen>(3), B<mbrtowc>(3), B<mbstowcs>(3), "
303 "B<wcstombs>(3), B<wctomb>(3)"
304 msgstr ""
305
306 #. type: TH
307 #: debian-trixie
308 #, no-wrap
309 msgid "2024-06-15"
310 msgstr ""
311
312 #. type: TH
313 #: debian-trixie
314 #, no-wrap
315 msgid "Linux man-pages 6.9.1"
316 msgstr ""
317
318 #. type: Plain text
319 #: debian-trixie
320 msgid "Standard C library (I<libc>, I<-lc>)"
321 msgstr ""
322
323 #. type: Plain text
324 #: debian-trixie fedora-44 fedora-rawhide
325 #, no-wrap
326 msgid "B<int mbtowc(wchar_t *restrict >I<pwc>B<, const char >I<s>B<[restrict .>I<n>B<], size_t >I<n>B<);>\n"
327 msgstr ""
328
329 #. type: Plain text
330 #: debian-trixie fedora-44 fedora-rawhide
331 msgid ""
332 "The main case for this function is when I<s> is not NULL and I<pwc> is not "
333 "NULL. In this case, the B<mbtowc>() function inspects at most I<n> bytes "
334 "of the multibyte string starting at I<s>, extracts the next complete "
335 "multibyte character, converts it to a wide character and stores it at "
336 "I<*pwc>. It updates an internal shift state known only to the B<mbtowc>() "
337 "function. If I<s> does not point to a null byte (\\[aq]\\[rs]0\\[aq]), it "
338 "returns the number of bytes that were consumed from I<s>, otherwise it "
339 "returns 0."
340 msgstr ""
341
342 #. type: Plain text
343 #: debian-trixie fedora-44 fedora-rawhide
344 msgid ""
345 "If the I<n> bytes starting at I<s> do not contain a complete multibyte "
346 "character, or if they contain an invalid multibyte sequence, B<mbtowc>() "
347 "returns -1. This can happen even if I<n> E<gt>= I<MB_CUR_MAX>, if the "
348 "multibyte string contains redundant shift sequences."
349 msgstr ""
350
351 #. The Dinkumware doc and the Single UNIX specification say this, but
352 #. glibc doesn't implement this.
353 #. type: Plain text
354 #: debian-trixie fedora-44 fedora-rawhide
355 msgid ""
356 "A third case is when I<s> is NULL. In this case, I<pwc> and I<n> are "
357 "ignored. The B<mbtowc>() function resets the shift state, only known to "
358 "this function, to the initial state, and returns nonzero if the encoding has "
359 "nontrivial shift state, or zero if the encoding is stateless."
360 msgstr ""
361
362 #. type: TH
363 #: fedora-44 fedora-rawhide
364 #, no-wrap
365 msgid "2024-07-23"
366 msgstr ""
367
368 #. type: TH
369 #: fedora-44 fedora-rawhide
370 #, no-wrap
371 msgid "Linux man-pages 6.13"
372 msgstr ""
373
374 #. type: TH
375 #: mageia-cauldron
376 #, no-wrap
377 msgid "Linux man-pages 6.17"
378 msgstr ""
379
380 #. type: TH
381 #: opensuse-leap-16-1 opensuse-tumbleweed
382 #, no-wrap
383 msgid "Linux man-pages (unreleased)"
384 msgstr ""