Debian Codegraph @

po/ar/man3/mbrtowc.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 "mbrtowc"
25 msgstr "mbrtowc"
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 "mbrtowc - convert a multibyte sequence to a wide character"
51 msgstr "mbrtowc - تحويل تسلسل متعدد البايت إلى محرف عريض"
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>wchar.hE<gt>>\n"
78 msgstr "B<#include E<lt>wchar.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<size_t mbrtowc(>size_t n;\n"
86 "B< wchar_t *restrict >I<pwc>B<, const char >I<s>B<[restrict >I<n>B<],>\n"
87 "B< size_t >I<n>B<, mbstate_t *restrict >I<ps>B<);>\n"
88 msgstr ""
89 "B<size_t mbrtowc(>size_t n;\n"
90 "B< wchar_t *restrict >I<pwc>B<, const char >I<s>B<[restrict >I<n>B<],>\n"
91 "B< size_t >I<n>B<, mbstate_t *restrict >I<ps>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-trixie debian-unstable fedora-44 fedora-rawhide
102 #: mageia-cauldron opensuse-leap-16-1 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<mbrtowc>() function inspects at most I<n> bytes "
106 "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 the shift state I<*ps>. If the converted wide "
109 "character is not L\\[aq]\\[rs]0\\[aq] (the null wide character), it returns "
110 "the number of bytes that were consumed from I<s>. If the converted wide "
111 "character is L\\[aq]\\[rs]0\\[aq], it resets the shift state I<*ps> to the "
112 "initial state and returns 0."
113 msgstr ""
114 "الحالة الرئيسية لهذه الدالة هي عندما لا يكون I<s> فارغًا ولا يكون I<pwc> "
115 "فارغًا. في هذه الحالة، تفحص الدالة B<mbrtowc>() على الأكثر I<n> بايت من "
116 "السلسلة متعددة البايت بدءًا من I<s>، وتستخرج المحرف متعدد البايت الكامل "
117 "التالي، وتُحوّله إلى محرف عريض وتُخزّنه في I<*pwc>. تُحدّث حالة الإزاحة I<*ps>. "
118 "إذا لم يكن المحرف العريض المُحوّل هو L\\[aq]\\[rs]0\\[aq] (المحرف العريض "
119 "الفارغ)، تُعيد عدد البايتات التي استُهلكت من I<s>. إذا كان المحرف العريض "
120 "المُحوّل هو L\\[aq]\\[rs]0\\[aq]، تُعيد تعيين حالة الإزاحة I<*ps> إلى الحالة "
121 "الأولية وتُعيد 0."
122
123 #. type: Plain text
124 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
125 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
126 msgid ""
127 "If the I<n> bytes starting at I<s> do not contain a complete multibyte "
128 "character, B<mbrtowc>() returns I<(size_t)\\ -2>. This can happen even if "
129 "I<n> E<gt>= I<MB_CUR_MAX>, if the multibyte string contains redundant shift "
130 "sequences."
131 msgstr ""
132 "إذا كانت البايتات I<n> بدءًا من I<s> لا تحتوي على محرف متعدد البايت كامل، "
133 "تُعيد B<mbrtowc>() I<(size_t)\\ -2>. يمكن أن يحدث هذا حتى لو كان I<n> E<gt>= "
134 "I<MB_CUR_MAX>، إذا كانت السلسلة متعددة البايت تحتوي على تسلسلات إزاحة زائدة."
135
136 #. type: Plain text
137 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
138 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
139 msgid ""
140 "If the multibyte string starting at I<s> contains an invalid multibyte "
141 "sequence before the next complete character, B<mbrtowc>() returns "
142 "I<(size_t)\\ -1> and sets I<errno> to B<EILSEQ>. In this case, the effects "
143 "on I<*ps> are undefined."
144 msgstr ""
145 "إذا كانت السلسلة متعددة البايت بدءًا من I<s> تحتوي على تسلسل متعدد البايت غير "
146 "صالح قبل المحرف الكامل التالي، تُعيد B<mbrtowc>() I<(size_t)\\ -1> وتُعيِّن "
147 "I<errno> إلى B<EILSEQ>. في هذه الحالة، تكون التأثيرات على I<*ps> غير مُعرَّفة."
148
149 #. type: Plain text
150 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
151 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
152 msgid ""
153 "A different case is when I<s> is not NULL but I<pwc> is NULL. In this case, "
154 "the B<mbrtowc>() function behaves as above, except that it does not store "
155 "the converted wide character in memory."
156 msgstr ""
157 "حالة مختلفة هي عندما لا يكون I<s> فارغًا ولكن I<pwc> فارغ. في هذه الحالة، "
158 "تتصرف الدالة B<mbrtowc>() كما هو مذكور أعلاه، باستثناء أنها لا تُخزّن المحرف "
159 "العريض المُحوّل في الذاكرة."
160
161 #. type: Plain text
162 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
163 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
164 msgid ""
165 "A third case is when I<s> is NULL. In this case, I<pwc> and I<n> are "
166 "ignored. If the conversion state represented by I<*ps> denotes an "
167 "incomplete multibyte character conversion, the B<mbrtowc>() function "
168 "returns I<(size_t)\\ -1>, sets I<errno> to B<EILSEQ>, and leaves I<*ps> in "
169 "an undefined state. Otherwise, the B<mbrtowc>() function puts I<*ps> in "
170 "the initial state and returns 0."
171 msgstr ""
172 "حالة ثالثة هي عندما يكون I<s> فارغًا. في هذه الحالة، يُتجاهل I<pwc> و I<n>. "
173 "إذا كانت حالة التحويل المُمثَّلة بـ I<*ps> تُشير إلى تحويل محرف متعدد البايت غير "
174 "مكتمل، تُعيد الدالة B<mbrtowc>() I<(size_t)\\ -1>، وتُعيِّن I<errno> إلى "
175 "B<EILSEQ>، وتترك I<*ps> في حالة غير مُعرَّفة. خلاف ذلك، تضع الدالة B<mbrtowc>() "
176 "I<*ps> في الحالة الأولية وتُعيد 0."
177
178 #. type: Plain text
179 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
180 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
181 msgid ""
182 "In all of the above cases, if I<ps> is NULL, a static anonymous state known "
183 "only to the B<mbrtowc>() function is used instead. Otherwise, I<*ps> must "
184 "be a valid I<mbstate_t> object. An I<mbstate_t> object I<a> can be "
185 "initialized to the initial state by zeroing it, for example using"
186 msgstr ""
187 "في جميع الحالات المذكورة أعلاه، إذا كان I<ps> فارغًا، يُستخدم حالة مجهولة "
188 "ثابتة معروفة فقط للدالة B<mbrtowc>() بدلاً من ذلك. خلاف ذلك، يجب أن يكون "
189 "I<*ps> كائن I<mbstate_t> صالحًا. يمكن تهيئة كائن I<mbstate_t> I<a> إلى الحالة "
190 "الأولية بتصفيته، على سبيل المثال باستخدام"
191
192 #. type: Plain text
193 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
194 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
195 #, no-wrap
196 msgid "memset(&a, 0, sizeof(a));\n"
197 msgstr "memset(&a, 0, sizeof(a));\n"
198
199 #. type: SH
200 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
201 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
202 #, no-wrap
203 msgid "RETURN VALUE"
204 msgstr "قيمة الإرجاع"
205
206 #. type: Plain text
207 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
208 #: opensuse-tumbleweed
209 msgid ""
210 "The B<mbrtowc>() function returns the number of bytes parsed from the "
211 "multibyte sequence starting at I<s>, if a non-L\\[aq]\\[rs]0\\[aq] wide "
212 "character was recognized. It returns 0, if a L\\[aq]\\[rs]0\\[aq] wide "
213 "character was recognized. It returns I<(size_t)\\ -1> and sets I<errno> to "
214 "B<EILSEQ>, if an invalid multibyte sequence was encountered. It returns "
215 "I<(size_t)\\ -2> if the consumed I<n> bytes form a valid partial character "
216 "sequence; more subsequent data needs to be fed in."
217 msgstr ""
218 "تُعيد الدالة B<mbrtowc>() عدد البايتات التي تم تحليلها من التسلسل متعدد "
219 "البايت بدءًا من I<s>، إذا تم التعرف على محرف عريض غير L\\[aq]\\[rs]0\\[aq]. "
220 "تُعيد 0، إذا تم التعرف على محرف عريض L\\[aq]\\[rs]0\\[aq]. تُعيد I<(size_t)\\ "
221 "-1> وتُعيِّن I<errno> إلى B<EILSEQ>، إذا تم مواجهة تسلسل متعدد البايت غير صالح. "
222 "تُعيد I<(size_t)\\ -2> إذا كانت البايتات I<n> المُستهلكة تُشكِّل تسلسل محرف جزئي "
223 "صالح؛ يجب تغذية بيانات لاحقة إضافية."
224
225 #. type: SH
226 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
227 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
228 #, no-wrap
229 msgid "ATTRIBUTES"
230 msgstr "السمات"
231
232 #. type: Plain text
233 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
234 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
235 msgid ""
236 "For an explanation of the terms used in this section, see B<attributes>(7)."
237 msgstr ""
238 "للاطلاع على شرح للمصطلحات المستخدمة في هذا القسم، انظر B<attributes>(7)."
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 "Interface"
245 msgstr "الواجهة"
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 "Attribute"
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 "Value"
259 msgstr "القيمة"
260
261 #. type: tbl table
262 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
263 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
264 #, no-wrap
265 msgid ".na\n"
266 msgstr ".na\n"
267
268 #. type: tbl table
269 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
270 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
271 #, no-wrap
272 msgid ".nh\n"
273 msgstr ".nh\n"
274
275 #. type: tbl table
276 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
277 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
278 #, no-wrap
279 msgid "B<mbrtowc>()"
280 msgstr "B<mbrtowc>()"
281
282 #. type: tbl table
283 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
284 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
285 #, no-wrap
286 msgid "Thread safety"
287 msgstr "سلامة الخيوط"
288
289 #. type: tbl table
290 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
291 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
292 #, no-wrap
293 msgid "MT-Unsafe race:mbrtowc/!ps"
294 msgstr "MT-Unsafe race:mbrtowc/!ps"
295
296 #. type: SH
297 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
298 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
299 #, no-wrap
300 msgid "STANDARDS"
301 msgstr "المعايير"
302
303 #. type: Plain text
304 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
305 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
306 msgid "C11, POSIX.1-2008."
307 msgstr "C11, POSIX.1-2008."
308
309 #. type: SH
310 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
311 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
312 #, no-wrap
313 msgid "HISTORY"
314 msgstr "التاريخ"
315
316 #. type: Plain text
317 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
318 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
319 msgid "POSIX.1-2001, C99."
320 msgstr "POSIX.1-2001، C99."
321
322 #. type: SH
323 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
324 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
325 #, no-wrap
326 msgid "NOTES"
327 msgstr "ملاحظات"
328
329 #. type: Plain text
330 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
331 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
332 msgid ""
333 "The behavior of B<mbrtowc>() depends on the B<LC_CTYPE> category of the "
334 "current locale."
335 msgstr ""
336 "يعتمد سلوك B<mbrtowc>() على فئة B<LC_CTYPE> من الإعدادات المحلية الحالية."
337
338 #. type: SH
339 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
340 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
341 #, no-wrap
342 msgid "SEE ALSO"
343 msgstr "انظر أيضًا"
344
345 #. type: Plain text
346 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
347 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
348 msgid "B<mbsinit>(3), B<mbsrtowcs>(3)"
349 msgstr "B<mbsinit>(3), B<mbsrtowcs>(3)"
350
351 #. type: TH
352 #: debian-trixie
353 #, no-wrap
354 msgid "2024-06-15"
355 msgstr "15 يونيو 2024"
356
357 #. type: TH
358 #: debian-trixie
359 #, no-wrap
360 msgid "Linux man-pages 6.9.1"
361 msgstr "صفحات دليل لينكس 6.9.1"
362
363 #. type: Plain text
364 #: debian-trixie
365 msgid "Standard C library (I<libc>, I<-lc>)"
366 msgstr "مكتبة سي المعيارية (I<libc>، I<-lc>)"
367
368 #. type: Plain text
369 #: debian-trixie fedora-44 fedora-rawhide
370 #, no-wrap
371 msgid ""
372 "B<size_t mbrtowc(wchar_t *restrict >I<pwc>B<, const char >I<s>B<[restrict .>I<n>B<],>\n"
373 "B< size_t >I<n>B<, mbstate_t *restrict >I<ps>B<);>\n"
374 msgstr ""
375 "B<size_t mbrtowc(wchar_t *restrict >I<pwc>B<, const char >I<s>B<[restrict .>I<n>B<],>\n"
376 "B< size_t >I<n>B<, mbstate_t *restrict >I<ps>B<);>\n"
377
378 #. type: Plain text
379 #: debian-trixie fedora-44 fedora-rawhide
380 msgid ""
381 "The B<mbrtowc>() function returns the number of bytes parsed from the "
382 "multibyte sequence starting at I<s>, if a non-L\\[aq]\\[rs]0\\[aq] wide "
383 "character was recognized. It returns 0, if a L\\[aq]\\[rs]0\\[aq] wide "
384 "character was recognized. It returns I<(size_t)\\ -1> and sets I<errno> to "
385 "B<EILSEQ>, if an invalid multibyte sequence was encountered. It returns "
386 "I<(size_t)\\ -2> if it couldn't parse a complete multibyte character, "
387 "meaning that I<n> should be increased."
388 msgstr ""
389 "تُعيد الدالة B<mbrtowc>() عدد البايتات التي تم تحليلها من التسلسل متعدد "
390 "البايت بدءًا من I<s>، إذا تم التعرف على محرف عريض غير L\\[aq]\\[rs]0\\[aq]. "
391 "تُعيد 0، إذا تم التعرف على محرف عريض L\\[aq]\\[rs]0\\[aq]. تُعيد I<(size_t)\\ "
392 "-1> وتُعيِّن I<errno> إلى B<EILSEQ>، إذا تم مواجهة تسلسل متعدد البايت غير صالح. "
393 "تُعيد I<(size_t)\\ -2> إذا لم تستطع تحليل محرف متعدد البايت كامل، مما يعني "
394 "أنه يجب زيادة I<n>."
395
396 #. type: TH
397 #: fedora-44 fedora-rawhide
398 #, no-wrap
399 msgid "2024-07-23"
400 msgstr "23 يوليو 2024"
401
402 #. type: TH
403 #: fedora-44 fedora-rawhide
404 #, no-wrap
405 msgid "Linux man-pages 6.13"
406 msgstr "صفحات دليل لينكس 6.13"
407
408 #. type: TH
409 #: mageia-cauldron
410 #, no-wrap
411 msgid "Linux man-pages 6.17"
412 msgstr "صفحات دليل لينكس 6.17"
413
414 #. type: TH
415 #: opensuse-leap-16-1 opensuse-tumbleweed
416 #, no-wrap
417 msgid "Linux man-pages (unreleased)"
418 msgstr "صفحات دليل لينكس (لم تصدر بعد)"