Debian Codegraph @

po/ar/man3/mbtowc.3.po

raw
1 # Arabic translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # زايد السعيدي <[email protected]>, 2026.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n 4.30.2\n"
8 "POT-Creation-Date: 2026-06-05 06:30+0200\n"
9 "PO-Revision-Date: 2026-06-02 18:56+0400\n"
10 "Last-Translator: Zayed Al-Saidi <[email protected]>\n"
11 "Language-Team: Arabic <[email protected]>\n"
12 "Language: ar\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
17 "&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
18 "X-Generator: Lokalize 23.08.5\n"
19
20 #. type: TH
21 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
22 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
23 #, no-wrap
24 msgid "mbtowc"
25 msgstr "mbtowc"
26
27 #. type: TH
28 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
29 #: opensuse-tumbleweed
30 #, no-wrap
31 msgid "2026-02-08"
32 msgstr "8 فبراير 2026"
33
34 #. type: TH
35 #: archlinux debian-unstable
36 #, no-wrap
37 msgid "Linux man-pages 6.18"
38 msgstr "صفحات دليل لينكس 6.18"
39
40 #. type: SH
41 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
42 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
43 #, no-wrap
44 msgid "NAME"
45 msgstr "الاسم"
46
47 #. type: Plain text
48 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
49 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
50 msgid "mbtowc - convert a multibyte sequence to a wide character"
51 msgstr "mbtowc - تحويل تسلسل متعدد البايتات إلى محرف عريض"
52
53 #. type: SH
54 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
55 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
56 #, no-wrap
57 msgid "LIBRARY"
58 msgstr "المكتبة"
59
60 #. type: Plain text
61 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
62 #: opensuse-leap-16-1 opensuse-tumbleweed
63 msgid "Standard C library (I<libc>,\\ I<-lc>)"
64 msgstr "مكتبة سي المعيارية (I<libc>،\\ I<-lc>)"
65
66 #. type: SH
67 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
68 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
69 #, no-wrap
70 msgid "SYNOPSIS"
71 msgstr "موجز"
72
73 #. type: Plain text
74 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
75 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
76 #, no-wrap
77 msgid "B<#include E<lt>stdlib.hE<gt>>\n"
78 msgstr "B<#include E<lt>stdlib.hE<gt>>\n"
79
80 #. type: Plain text
81 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
82 #: opensuse-tumbleweed
83 #, no-wrap
84 msgid ""
85 "B<int mbtowc(>size_t size;\n"
86 "B< wchar_t *restrict >I<pwc>B<, const char >I<s>B<[restrict >I<size>B<],>\n"
87 "B< size_t >I<size>B<);>\n"
88 msgstr ""
89 "B<int mbtowc(>size_t size;\n"
90 "B< wchar_t *restrict >I<pwc>B<, const char >I<s>B<[restrict >I<size>B<],>\n"
91 "B< size_t >I<size>B<);>\n"
92
93 #. type: SH
94 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
95 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
96 #, no-wrap
97 msgid "DESCRIPTION"
98 msgstr "الوصف"
99
100 #. type: Plain text
101 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
102 #: opensuse-tumbleweed
103 msgid ""
104 "The main case for this function is when I<s> is not NULL and I<pwc> is not "
105 "NULL. In this case, the B<mbtowc>() function inspects at most I<size> "
106 "bytes of the multibyte string starting at I<s>, extracts the next complete "
107 "multibyte character, converts it to a wide character and stores it at "
108 "I<*pwc>. It updates an internal shift state known only to the B<mbtowc>() "
109 "function. If I<s> does not point to a null byte (\\[aq]\\[rs]0\\[aq]), it "
110 "returns the number of bytes that were consumed from I<s>, otherwise it "
111 "returns 0."
112 msgstr ""
113 "الحالة الرئيسية لهذه الدالة هي عندما يكون I<s> ليس NULL و I<pwc> ليس NULL. "
114 "في هذه الحالة، تفحص الدالة B<mbtowc>() على الأكثر I<size> بايت من السلسلة "
115 "متعددة البايتات بدءًا من I<s>، وتستخرج المحرف متعدد البايتات الكامل التالي، "
116 "وتحوله إلى محرف عريض وتخزنه في I<*pwc>. تُحدّث حالة إزاحة داخلية معروفة فقط "
117 "للدالة B<mbtowc>(). إذا لم يُشر I<s> إلى بايت فارغ (\\[aq]\\[rs]0\\[aq])، "
118 "فإنها تُرجع عدد البايتات التي استُهلكت من I<s>، وإلا تُرجع 0."
119
120 #. type: Plain text
121 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
122 #: opensuse-tumbleweed
123 msgid ""
124 "If the I<size> bytes starting at I<s> do not contain a complete multibyte "
125 "character, or if they contain an invalid multibyte sequence, B<mbtowc>() "
126 "returns -1. This can happen even if I<size> E<gt>= I<MB_CUR_MAX>, if the "
127 "multibyte string contains redundant shift sequences."
128 msgstr ""
129 "إذا كانت البايتات I<size> بدءًا من I<s> لا تحتوي على محرف متعدد البايتات "
130 "كامل، أو إذا كانت تحتوي على تسلسل متعدد البايتات غير صالح، تُرجع B<mbtowc>() "
131 "-1. يمكن أن يحدث هذا حتى لو كان I<size> E<gt>= I<MB_CUR_MAX>، إذا كانت "
132 "السلسلة متعددة البايتات تحتوي على تسلسلات إزاحة زائدة."
133
134 #. type: Plain text
135 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
136 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
137 msgid ""
138 "A different case is when I<s> is not NULL but I<pwc> is NULL. In this case, "
139 "the B<mbtowc>() function behaves as above, except that it does not store "
140 "the converted wide character in memory."
141 msgstr ""
142 "حالة مختلفة هي عندما يكون I<s> ليس NULL ولكن I<pwc> هو NULL. في هذه الحالة، "
143 "تتصرف الدالة B<mbtowc>() كما سبق، باستثناء أنها لا تخزن المحرف العريض "
144 "المُحوّل في الذاكرة."
145
146 #. The Dinkumware doc and the Single UNIX specification say this, but
147 #. glibc doesn't implement this.
148 #. type: Plain text
149 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
150 #: opensuse-tumbleweed
151 msgid ""
152 "A third case is when I<s> is NULL. In this case, I<pwc> and I<size> are "
153 "ignored. The B<mbtowc>() function resets the shift state, only known to "
154 "this function, to the initial state, and returns nonzero if the encoding has "
155 "nontrivial shift state, or zero if the encoding is stateless."
156 msgstr ""
157 "حالة ثالثة هي عندما يكون I<s> هو NULL. في هذه الحالة، يُتجاهل I<pwc> و "
158 "I<size>. تُعيد الدالة B<mbtowc>() ضبط حالة الإزاحة، المعروفة فقط لهذه "
159 "الدالة، إلى الحالة الأولية، وتُعيد قيمة غير صفرية إذا كان الترميز يحتوي على "
160 "حالة إزاحة غير بديهية، أو صفرًا إذا كان الترميز عديم الحالة."
161
162 #. type: SH
163 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
164 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
165 #, no-wrap
166 msgid "RETURN VALUE"
167 msgstr "قيمة الإرجاع"
168
169 #. type: Plain text
170 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
171 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
172 msgid ""
173 "If I<s> is not NULL, the B<mbtowc>() function returns the number of "
174 "consumed bytes starting at I<s>, or 0 if I<s> points to a null byte, or -1 "
175 "upon failure."
176 msgstr ""
177 "إذا كان I<s> ليس NULL، تُرجع الدالة B<mbtowc>() عدد البايتات المستهلكة بدءًا "
178 "من I<s>، أو 0 إذا أشار I<s> إلى بايت فارغ، أو -1 عند الفشل."
179
180 #. type: Plain text
181 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
182 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
183 msgid ""
184 "If I<s> is NULL, the B<mbtowc>() function returns nonzero if the encoding "
185 "has nontrivial shift state, or zero if the encoding is stateless."
186 msgstr ""
187 "إذا كان I<s> هو NULL، تُرجع الدالة B<mbtowc>() قيمة غير صفرية إذا كان "
188 "الترميز يحتوي على حالة إزاحة غير بديهية، أو صفرًا إذا كان الترميز عديم الحالة."
189
190 #. type: SH
191 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
192 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
193 #, no-wrap
194 msgid "ATTRIBUTES"
195 msgstr "السمات"
196
197 #. type: Plain text
198 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
199 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
200 msgid ""
201 "For an explanation of the terms used in this section, see B<attributes>(7)."
202 msgstr ""
203 "للاطلاع على شرح للمصطلحات المستخدمة في هذا القسم، انظر B<attributes>(7)."
204
205 #. type: tbl table
206 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
207 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
208 #, no-wrap
209 msgid "Interface"
210 msgstr "الواجهة"
211
212 #. type: tbl table
213 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
214 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
215 #, no-wrap
216 msgid "Attribute"
217 msgstr "السمة"
218
219 #. type: tbl table
220 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
221 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
222 #, no-wrap
223 msgid "Value"
224 msgstr "القيمة"
225
226 #. type: tbl table
227 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
228 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
229 #, no-wrap
230 msgid ".na\n"
231 msgstr ".na\n"
232
233 #. type: tbl table
234 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
235 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
236 #, no-wrap
237 msgid ".nh\n"
238 msgstr ".nh\n"
239
240 #. type: tbl table
241 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
242 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
243 #, no-wrap
244 msgid "B<mbtowc>()"
245 msgstr "B<mbtowc>()"
246
247 #. type: tbl table
248 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
249 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
250 #, no-wrap
251 msgid "Thread safety"
252 msgstr "سلامة الخيوط"
253
254 #. type: tbl table
255 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
256 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
257 #, no-wrap
258 msgid "MT-Unsafe race"
259 msgstr "MT-Unsafe race"
260
261 #. type: SH
262 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
263 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
264 #, no-wrap
265 msgid "VERSIONS"
266 msgstr "الإصدارات"
267
268 #. type: Plain text
269 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
270 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
271 msgid ""
272 "This function is not multithread safe. The function B<mbrtowc>(3) provides "
273 "a better interface to the same functionality."
274 msgstr ""
275 "هذه الدالة ليست آمنة للخيوط المتعددة. تُوفر الدالة B<mbrtowc>(3) واجهة أفضل "
276 "لنفس الوظيفة."
277
278 #. type: SH
279 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
280 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
281 #, no-wrap
282 msgid "STANDARDS"
283 msgstr "المعايير"
284
285 #. type: Plain text
286 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
287 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
288 msgid "C11, POSIX.1-2008."
289 msgstr "C11, POSIX.1-2008."
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 "HISTORY"
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 "POSIX.1-2001, C99."
302 msgstr "POSIX.1-2001، C99."
303
304 #. type: SH
305 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
306 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
307 #, no-wrap
308 msgid "NOTES"
309 msgstr "ملاحظات"
310
311 #. type: Plain text
312 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
313 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
314 msgid ""
315 "The behavior of B<mbtowc>() depends on the B<LC_CTYPE> category of the "
316 "current locale."
317 msgstr ""
318 "يعتمد سلوك B<mbtowc>() على فئة B<LC_CTYPE> من الإعدادات المحلية الحالية."
319
320 #. type: SH
321 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
322 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
323 #, no-wrap
324 msgid "SEE ALSO"
325 msgstr "انظر أيضًا"
326
327 #. type: Plain text
328 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
329 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
330 msgid ""
331 "B<MB_CUR_MAX>(3), B<mblen>(3), B<mbrtowc>(3), B<mbstowcs>(3), "
332 "B<wcstombs>(3), B<wctomb>(3)"
333 msgstr ""
334 "B<MB_CUR_MAX>(3), B<mblen>(3), B<mbrtowc>(3), B<mbstowcs>(3), "
335 "B<wcstombs>(3), B<wctomb>(3)"
336
337 #. type: TH
338 #: debian-trixie
339 #, no-wrap
340 msgid "2024-06-15"
341 msgstr "15 يونيو 2024"
342
343 #. type: TH
344 #: debian-trixie
345 #, no-wrap
346 msgid "Linux man-pages 6.9.1"
347 msgstr "صفحات دليل لينكس 6.9.1"
348
349 #. type: Plain text
350 #: debian-trixie
351 msgid "Standard C library (I<libc>, I<-lc>)"
352 msgstr "مكتبة سي المعيارية (I<libc>، I<-lc>)"
353
354 #. type: Plain text
355 #: debian-trixie fedora-44 fedora-rawhide
356 #, no-wrap
357 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"
358 msgstr "B<int mbtowc(wchar_t *restrict >I<pwc>B<, const char >I<s>B<[restrict .>I<n>B<], size_t >I<n>B<);>\n"
359
360 #. type: Plain text
361 #: debian-trixie fedora-44 fedora-rawhide
362 msgid ""
363 "The main case for this function is when I<s> is not NULL and I<pwc> is not "
364 "NULL. In this case, the B<mbtowc>() function inspects at most I<n> bytes "
365 "of the multibyte string starting at I<s>, extracts the next complete "
366 "multibyte character, converts it to a wide character and stores it at "
367 "I<*pwc>. It updates an internal shift state known only to the B<mbtowc>() "
368 "function. If I<s> does not point to a null byte (\\[aq]\\[rs]0\\[aq]), it "
369 "returns the number of bytes that were consumed from I<s>, otherwise it "
370 "returns 0."
371 msgstr ""
372 "الحالة الرئيسية لهذه الدالة هي عندما يكون I<s> ليس NULL و I<pwc> ليس NULL. "
373 "في هذه الحالة، تفحص الدالة B<mbtowc>() على الأكثر I<n> بايت من السلسلة "
374 "متعددة البايتات بدءًا من I<s>، وتستخرج المحرف متعدد البايتات الكامل التالي، "
375 "وتحوله إلى محرف عريض وتخزنه في I<*pwc>. تُحدّث حالة إزاحة داخلية معروفة فقط "
376 "للدالة B<mbtowc>(). إذا لم يُشر I<s> إلى بايت فارغ (\\[aq]\\[rs]0\\[aq])، "
377 "فإنها تُرجع عدد البايتات التي استُهلكت من I<s>، وإلا تُرجع 0."
378
379 #. type: Plain text
380 #: debian-trixie fedora-44 fedora-rawhide
381 msgid ""
382 "If the I<n> bytes starting at I<s> do not contain a complete multibyte "
383 "character, or if they contain an invalid multibyte sequence, B<mbtowc>() "
384 "returns -1. This can happen even if I<n> E<gt>= I<MB_CUR_MAX>, if the "
385 "multibyte string contains redundant shift sequences."
386 msgstr ""
387 "إذا كانت البايتات I<n> بدءًا من I<s> لا تحتوي على محرف متعدد البايتات كامل، "
388 "أو إذا كانت تحتوي على تسلسل متعدد البايتات غير صالح، تُرجع B<mbtowc>() -1. "
389 "يمكن أن يحدث هذا حتى لو كان I<n> E<gt>= I<MB_CUR_MAX>، إذا كانت السلسلة "
390 "متعددة البايتات تحتوي على تسلسلات إزاحة زائدة."
391
392 #. The Dinkumware doc and the Single UNIX specification say this, but
393 #. glibc doesn't implement this.
394 #. type: Plain text
395 #: debian-trixie fedora-44 fedora-rawhide
396 msgid ""
397 "A third case is when I<s> is NULL. In this case, I<pwc> and I<n> are "
398 "ignored. The B<mbtowc>() function resets the shift state, only known to "
399 "this function, to the initial state, and returns nonzero if the encoding has "
400 "nontrivial shift state, or zero if the encoding is stateless."
401 msgstr ""
402 "حالة ثالثة هي عندما يكون I<s> هو NULL. في هذه الحالة، يُتجاهل I<pwc> و "
403 "I<n>. تُعيد الدالة B<mbtowc>() ضبط حالة الإزاحة، المعروفة فقط لهذه الدالة، "
404 "إلى الحالة الأولية، وتُعيد قيمة غير صفرية إذا كان الترميز يحتوي على حالة "
405 "إزاحة غير بديهية، أو صفرًا إذا كان الترميز عديم الحالة."
406
407 #. type: TH
408 #: fedora-44 fedora-rawhide
409 #, no-wrap
410 msgid "2024-07-23"
411 msgstr "23 يوليو 2024"
412
413 #. type: TH
414 #: fedora-44 fedora-rawhide
415 #, no-wrap
416 msgid "Linux man-pages 6.13"
417 msgstr "صفحات دليل لينكس 6.13"
418
419 #. type: TH
420 #: mageia-cauldron
421 #, no-wrap
422 msgid "Linux man-pages 6.17"
423 msgstr "صفحات دليل لينكس 6.17"
424
425 #. type: TH
426 #: opensuse-leap-16-1 opensuse-tumbleweed
427 #, no-wrap
428 msgid "Linux man-pages (unreleased)"
429 msgstr "صفحات دليل لينكس (لم تصدر بعد)"