Debian Codegraph @

po/ar/man3/stdarg.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:45+0200\n"
9 "PO-Revision-Date: 2026-06-03 18:32+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 "stdarg"
25 msgstr "stdarg"
26
27 #. type: TH
28 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
29 #: opensuse-tumbleweed
30 #, no-wrap
31 msgid "2025-05-17"
32 msgstr "17 مايو 2025"
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 "stdarg, va_start, va_arg, va_end, va_copy - variable argument lists"
51 msgstr "stdarg, va_start, va_arg, va_end, va_copy - قوائم المعاملات المتغيرة"
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>stdarg.hE<gt>>\n"
78 msgstr "B<#include E<lt>stdarg.hE<gt>>\n"
79
80 #. type: Plain text
81 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
82 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
83 #, no-wrap
84 msgid ""
85 "B<void va_start(va_list >I<ap>B<, >I<last>B<);>\n"
86 "I<type>B< va_arg(va_list >I<ap>B<, >I<type>B<);>\n"
87 "B<void va_end(va_list >I<ap>B<);>\n"
88 "B<void va_copy(va_list >I<dest>B<, va_list >I<src>B<);>\n"
89 msgstr ""
90 "B<void va_start(va_list >I<ap>B<, >I<last>B<);>\n"
91 "I<type>B< va_arg(va_list >I<ap>B<, >I<type>B<);>\n"
92 "B<void va_end(va_list >I<ap>B<);>\n"
93 "B<void va_copy(va_list >I<dest>B<, va_list >I<src>B<);>\n"
94
95 #. type: SH
96 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
97 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
98 #, no-wrap
99 msgid "DESCRIPTION"
100 msgstr "الوصف"
101
102 #. type: Plain text
103 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
104 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
105 msgid ""
106 "A function may be called with a varying number of arguments of varying "
107 "types. The include file I<E<lt>stdarg.hE<gt>> declares a type I<va_list> "
108 "and defines three macros for stepping through a list of arguments whose "
109 "number and types are not known to the called function."
110 msgstr ""
111 "قد تُستدعى دالة بعدد متغير من المعاملات من أنواع متغيرة. يُصرح ملف التضمين "
112 "I<E<lt>stdarg.hE<gt>> بنوع I<va_list> ويُعرف ثلاث وحدات ماكرو للتنقل عبر "
113 "قائمة من المعاملات التي لا يُعرف عددها وأنواعها للدالة المُستدعاة."
114
115 #. type: Plain text
116 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
117 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
118 msgid ""
119 "The called function must declare an object of type I<va_list> which is used "
120 "by the macros B<va_start>(), B<va_arg>(), and B<va_end>()."
121 msgstr ""
122 "يجب على الدالة المُستدعاة أن تُصرح بكائن من النوع I<va_list> الذي تستخدمه "
123 "وحدات الماكرو B<va_start>() و B<va_arg>() و B<va_end>()."
124
125 #. type: SS
126 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
127 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
128 #, no-wrap
129 msgid "va_start()"
130 msgstr "va_start()"
131
132 #. type: Plain text
133 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
134 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
135 msgid ""
136 "The B<va_start>() macro initializes I<ap> for subsequent use by "
137 "B<va_arg>() and B<va_end>(), and must be called first."
138 msgstr ""
139 "وحدة الماكرو B<va_start>() تُهيئ I<ap> للاستخدام اللاحق بواسطة B<va_arg>() و "
140 "B<va_end>()، ويجب استدعاؤها أولاً."
141
142 #. type: Plain text
143 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
144 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
145 msgid ""
146 "The argument I<last> is the name of the last argument before the variable "
147 "argument list, that is, the last argument of which the calling function "
148 "knows the type."
149 msgstr ""
150 "المعامل I<last> هو اسم آخر معامل قبل قائمة المعاملات المتغيرة، أي آخر معامل "
151 "تعرف الدالة المُستدعية نوعه."
152
153 #. type: Plain text
154 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
155 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
156 msgid ""
157 "Because the address of this argument may be used in the B<va_start>() "
158 "macro, it should not be declared as a register variable, or as a function or "
159 "an array type."
160 msgstr ""
161 "لأن عنوان هذا المعامل قد يُستخدم في وحدة الماكرو B<va_start>()، فلا ينبغي "
162 "التصريح عنه كمتغير سجل، أو كنوع دالة أو مصفوفة."
163
164 #. type: SS
165 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
166 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
167 #, no-wrap
168 msgid "va_arg()"
169 msgstr "va_arg()"
170
171 #. type: Plain text
172 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
173 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
174 msgid ""
175 "The B<va_arg>() macro expands to an expression that has the type and value "
176 "of the next argument in the call. The argument I<ap> is the I<va_list> "
177 "I<ap> initialized by B<va_start>(). Each call to B<va_arg>() modifies "
178 "I<ap> so that the next call returns the next argument. The argument I<type> "
179 "is a type name specified so that the type of a pointer to an object that has "
180 "the specified type can be obtained simply by adding a * to I<type>."
181 msgstr ""
182 "وحدة الماكرو B<va_arg>() تتوسع إلى تعبير له نوع وقيمة المعامل التالي في "
183 "الاستدعاء. المعامل I<ap> هو I<va_list> I<ap> المُهيأ بواسطة B<va_start>(). كل "
184 "استدعاء لـ B<va_arg>() يُعدل I<ap> بحيث يُرجع الاستدعاء التالي المعامل التالي. "
185 "المعامل I<type> هو اسم نوع مُحدد بحيث يمكن الحصول على نوع مؤشر لكائن له النوع "
186 "المُحدد ببساطة بإضافة * إلى I<type>."
187
188 #. type: Plain text
189 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
190 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
191 msgid ""
192 "The first use of the B<va_arg>() macro after that of the B<va_start>() "
193 "macro returns the argument after I<last>. Successive invocations return the "
194 "values of the remaining arguments."
195 msgstr ""
196 "الاستخدام الأول لوحدة الماكرو B<va_arg>() بعد استخدام وحدة الماكرو "
197 "B<va_start>() يُرجع المعامل بعد I<last>. الاستدعاءات المتتالية تُرجع قيم "
198 "المعاملات المتبقية."
199
200 #. type: Plain text
201 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
202 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
203 msgid ""
204 "If there is no next argument, or if I<type> is not compatible with the type "
205 "of the actual next argument (as promoted according to the default argument "
206 "promotions), random errors will occur."
207 msgstr ""
208 "إذا لم يكن هناك معامل تالٍ، أو إذا كان I<type> غير متوافق مع نوع المعامل "
209 "التالي الفعلي (كما يُرفع وفقًا لترقيات المعاملات المبدئية)، فستحدث أخطاء "
210 "عشوائية."
211
212 #. type: Plain text
213 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
214 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
215 msgid ""
216 "If I<ap> is passed to a function that uses B<va_arg(>I<ap>B<,>I<type>B<),> "
217 "then the value of I<ap> is undefined after the return of that function."
218 msgstr ""
219 "إذا مُرر I<ap> إلى دالة تستخدم B<va_arg(>I<ap>B<,>I<type>B<),> فإن قيمة I<ap> "
220 "تكون غير مُعرفة بعد عودة تلك الدالة."
221
222 #. type: SS
223 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
224 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
225 #, no-wrap
226 msgid "va_end()"
227 msgstr "va_end()"
228
229 #. type: Plain text
230 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
231 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
232 msgid ""
233 "Each invocation of B<va_start>() must be matched by a corresponding "
234 "invocation of B<va_end>() in the same function. After the call "
235 "B<va_end(>I<ap>B<)> the variable I<ap> is undefined. Multiple traversals of "
236 "the list, each bracketed by B<va_start>() and B<va_end>() are possible. "
237 "B<va_end>() may be a macro or a function."
238 msgstr ""
239 "يجب أن يُقابل كل استدعاء لـ B<va_start>() استدعاء مقابل لـ B<va_end>() في نفس "
240 "الدالة. بعد الاستدعاء B<va_end(>I<ap>B<)> يكون المتغير I<ap> غير مُعرف. "
241 "عمليات اجتياز متعددة للقائمة، كل منها محصور بين B<va_start>() و B<va_end>()، "
242 "ممكنة. قد تكون B<va_end>() وحدة ماكرو أو دالة."
243
244 #. type: SS
245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
246 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
247 #, no-wrap
248 msgid "va_copy()"
249 msgstr "va_copy()"
250
251 #. type: Plain text
252 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
253 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
254 msgid ""
255 "The B<va_copy>() macro copies the (previously initialized) variable "
256 "argument list I<src> to I<dest>. The behavior is as if B<va_start>() were "
257 "applied to I<dest> with the same I<last> argument, followed by the same "
258 "number of B<va_arg>() invocations that was used to reach the current state "
259 "of I<src>."
260 msgstr ""
261 "وحدة الماكرو B<va_copy>() تنسخ قائمة المعاملات المتغيرة (المُهيأة سابقًا) "
262 "I<src> إلى I<dest>. السلوك كما لو أن B<va_start>() طُبقت على I<dest> بنفس "
263 "المعامل I<last>، متبوعة بنفس عدد استدعاءات B<va_arg>() التي استُخدمت للوصول "
264 "إلى الحالة الحالية لـ I<src>."
265
266 #. Proposal from [email protected], 1997-02-28
267 #. type: Plain text
268 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
269 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
270 msgid ""
271 "An obvious implementation would have a I<va_list> be a pointer to the stack "
272 "frame of the variadic function. In such a setup (by far the most common) "
273 "there seems nothing against an assignment"
274 msgstr ""
275 "تطبيق واضح سيجعل I<va_list> مؤشرًا إلى إطار المكدس للدالة المتغيرة. في مثل "
276 "هذا الإعداد (الأكثر شيوعًا بفارق كبير) لا يبدو هناك ما يمنع الإسناد"
277
278 #. type: Plain text
279 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
280 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
281 #, no-wrap
282 msgid "va_list aq = ap;\n"
283 msgstr "va_list aq = ap;\n"
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 ""
289 "Unfortunately, there are also systems that make it an array of pointers (of "
290 "length 1), and there one needs"
291 msgstr ""
292 "لسوء الحظ، هناك أيضًا أنظمة تجعلها مصفوفة من المؤشرات (بطول 1)، وهناك يحتاج "
293 "المرء"
294
295 #. type: Plain text
296 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
297 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
298 #, no-wrap
299 msgid ""
300 "va_list aq;\n"
301 "*aq = *ap;\n"
302 msgstr ""
303 "va_list aq;\n"
304 "*aq = *ap;\n"
305
306 #. type: Plain text
307 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
308 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
309 msgid ""
310 "Finally, on systems where arguments are passed in registers, it may be "
311 "necessary for B<va_start>() to allocate memory, store the arguments there, "
312 "and also an indication of which argument is next, so that B<va_arg>() can "
313 "step through the list. Now B<va_end>() can free the allocated memory "
314 "again. To accommodate this situation, C99 adds a macro B<va_copy>(), so "
315 "that the above assignment can be replaced by"
316 msgstr ""
317 "أخيرًا، على الأنظمة التي تُمرر فيها المعاملات في المسجلات، قد يكون من الضروري "
318 "لـ B<va_start>() تخصيص ذاكرة، وتخزين المعاملات هناك، وأيضًا إشارة إلى أي "
319 "معامل هو التالي، بحيث يمكن لـ B<va_arg>() التنقل عبر القائمة. الآن يمكن لـ "
320 "B<va_end>() تحرير الذاكرة المخصصة مرة أخرى. لاستيعاب هذا الموقف، يضيف C99 "
321 "كلية B<va_copy>()، بحيث يمكن استبدال التعيين أعلاه بـ"
322
323 #. type: Plain text
324 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
325 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
326 #, no-wrap
327 msgid ""
328 "va_list aq;\n"
329 "va_copy(aq, ap);\n"
330 "\\&...\n"
331 "va_end(aq);\n"
332 msgstr ""
333 "va_list aq;\n"
334 "va_copy(aq, ap);\n"
335 "\\&...\n"
336 "va_end(aq);\n"
337
338 #. type: Plain text
339 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
340 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
341 msgid ""
342 "Each invocation of B<va_copy>() must be matched by a corresponding "
343 "invocation of B<va_end>() in the same function. Some systems that do not "
344 "supply B<va_copy>() have B<__va_copy> instead, since that was the name used "
345 "in the draft proposal."
346 msgstr ""
347 "يجب أن يُقابل كل استدعاء لـ B<va_copy>() باستدعاء مقابل لـ B<va_end>() في "
348 "نفس الدالة. بعض الأنظمة التي لا توفر B<va_copy>() لديها B<__va_copy> بدلاً "
349 "من ذلك، لأن هذا هو الاسم المستخدم في الاقتراح المسود."
350
351 #. type: SH
352 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
353 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
354 #, no-wrap
355 msgid "ATTRIBUTES"
356 msgstr "السمات"
357
358 #. type: Plain text
359 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
360 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
361 msgid ""
362 "For an explanation of the terms used in this section, see B<attributes>(7)."
363 msgstr ""
364 "للاطلاع على شرح للمصطلحات المستخدمة في هذا القسم، انظر B<attributes>(7)."
365
366 #. type: tbl table
367 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
368 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
369 #, no-wrap
370 msgid "Interface"
371 msgstr "الواجهة"
372
373 #. type: tbl table
374 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
375 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
376 #, no-wrap
377 msgid "Attribute"
378 msgstr "السمة"
379
380 #. type: tbl table
381 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
382 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
383 #, no-wrap
384 msgid "Value"
385 msgstr "القيمة"
386
387 #. type: tbl table
388 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
389 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
390 #, no-wrap
391 msgid ".na\n"
392 msgstr ".na\n"
393
394 #. type: tbl table
395 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
396 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
397 #, no-wrap
398 msgid ".nh\n"
399 msgstr ".nh\n"
400
401 #. type: tbl table
402 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
403 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
404 #, no-wrap
405 msgid ""
406 "B<va_start>(),\n"
407 "B<va_end>(),\n"
408 "B<va_copy>()"
409 msgstr ""
410 "B<va_start>(),\n"
411 "B<va_end>(),\n"
412 "B<va_copy>()"
413
414 #. type: tbl table
415 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
416 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
417 #, no-wrap
418 msgid "Thread safety"
419 msgstr "سلامة الخيوط"
420
421 #. type: tbl table
422 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
423 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
424 #, no-wrap
425 msgid "MT-Safe"
426 msgstr "MT-Safe"
427
428 #. type: TQ
429 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
430 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
431 #, no-wrap
432 msgid "B<va_arg>()"
433 msgstr "B<va_arg>()"
434
435 #. type: tbl table
436 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
437 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
438 #, no-wrap
439 msgid "MT-Safe race:ap"
440 msgstr "MT-Safe race:ap"
441
442 #. type: SH
443 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
444 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
445 #, no-wrap
446 msgid "STANDARDS"
447 msgstr "المعايير"
448
449 #. type: Plain text
450 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
451 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
452 msgid "C11, POSIX.1-2008."
453 msgstr "C11, POSIX.1-2008."
454
455 #. type: SH
456 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
457 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
458 #, no-wrap
459 msgid "HISTORY"
460 msgstr "التاريخ"
461
462 #. type: TP
463 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
464 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
465 #, no-wrap
466 msgid "B<va_start>()"
467 msgstr "B<va_start>()"
468
469 #. type: TQ
470 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
471 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
472 #, no-wrap
473 msgid "B<va_end>()"
474 msgstr "B<va_end>()"
475
476 #. type: Plain text
477 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
478 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
479 msgid "C89, POSIX.1-2001."
480 msgstr "C89, POSIX.1-2001."
481
482 #. type: TP
483 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
484 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
485 #, no-wrap
486 msgid "B<va_copy>()"
487 msgstr "B<va_copy>()"
488
489 #. type: Plain text
490 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
491 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
492 msgid "C99, POSIX.1-2001."
493 msgstr "C99، POSIX.1-2001."
494
495 #. type: SH
496 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
497 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
498 #, no-wrap
499 msgid "CAVEATS"
500 msgstr "تحذيرات"
501
502 #. type: Plain text
503 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
504 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
505 msgid ""
506 "Unlike the historical B<varargs> macros, the B<stdarg> macros do not permit "
507 "programmers to code a function with no fixed arguments. This problem "
508 "generates work mainly when converting B<varargs> code to B<stdarg> code, but "
509 "it also creates difficulties for variadic functions that wish to pass all of "
510 "their arguments on to a function that takes a I<va_list> argument, such as "
511 "B<vfprintf>(3)."
512 msgstr ""
513 "على عكس الكليات التاريخية B<varargs>، لا تسمح كليات B<stdarg> للمبرمجين "
514 "بترميز دالة بدون معاملات ثابتة. تُولد هذه المشكلة عملًا بشكل رئيسي عند تحويل "
515 "كود B<varargs> إلى كود B<stdarg>، ولكنها تُنشئ أيضًا صعوبات للدوال المتغيرة "
516 "التي ترغب في تمرير جميع معاملاتها إلى دالة تأخذ معامل I<va_list>، مثل "
517 "B<vfprintf>(3)."
518
519 #. type: SH
520 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
521 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
522 #, no-wrap
523 msgid "EXAMPLES"
524 msgstr "أمثلة"
525
526 #. type: Plain text
527 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
528 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
529 msgid ""
530 "The function I<foo> takes a string of format characters and prints out the "
531 "argument associated with each format character based on the type."
532 msgstr ""
533 "تأخذ الدالة I<foo> سلسلة محارف من حروف التنسيق وتطبع المعامل المرتبط بكل حرف "
534 "تنسيق بناءً على النوع."
535
536 #. type: Plain text
537 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
538 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
539 #, no-wrap
540 msgid ""
541 "#include E<lt>stdio.hE<gt>\n"
542 "#include E<lt>stdarg.hE<gt>\n"
543 "\\&\n"
544 "void\n"
545 "foo(char *fmt, ...) /* \\[aq]...\\[aq] is C syntax for a variadic function */\n"
546 "\\&\n"
547 "{\n"
548 " va_list ap;\n"
549 " int d;\n"
550 " char c;\n"
551 " char *s;\n"
552 "\\&\n"
553 " va_start(ap, fmt);\n"
554 " while (*fmt)\n"
555 " switch (*fmt++) {\n"
556 " case \\[aq]s\\[aq]: /* string */\n"
557 " s = va_arg(ap, char *);\n"
558 " printf(\"string %s\\[rs]n\", s);\n"
559 " break;\n"
560 " case \\[aq]d\\[aq]: /* int */\n"
561 " d = va_arg(ap, int);\n"
562 " printf(\"int %d\\[rs]n\", d);\n"
563 " break;\n"
564 " case \\[aq]c\\[aq]: /* char */\n"
565 " /* need a cast here since va_arg only\n"
566 " takes fully promoted types */\n"
567 " c = (char) va_arg(ap, int);\n"
568 " printf(\"char %c\\[rs]n\", c);\n"
569 " break;\n"
570 " }\n"
571 " va_end(ap);\n"
572 "}\n"
573 msgstr ""
574 "#include E<lt>stdio.hE<gt>\n"
575 "#include E<lt>stdarg.hE<gt>\n"
576 "\\&\n"
577 "void\n"
578 "foo(char *fmt, ...) /* \\[aq]...\\[aq] is C syntax for a variadic function */\n"
579 "\\&\n"
580 "{\n"
581 " va_list ap;\n"
582 " int d;\n"
583 " char c;\n"
584 " char *s;\n"
585 "\\&\n"
586 " va_start(ap, fmt);\n"
587 " while (*fmt)\n"
588 " switch (*fmt++) {\n"
589 " case \\[aq]s\\[aq]: /* string */\n"
590 " s = va_arg(ap, char *);\n"
591 " printf(\"string %s\\[rs]n\", s);\n"
592 " break;\n"
593 " case \\[aq]d\\[aq]: /* int */\n"
594 " d = va_arg(ap, int);\n"
595 " printf(\"int %d\\[rs]n\", d);\n"
596 " break;\n"
597 " case \\[aq]c\\[aq]: /* char */\n"
598 " /* need a cast here since va_arg only\n"
599 " takes fully promoted types */\n"
600 " c = (char) va_arg(ap, int);\n"
601 " printf(\"char %c\\[rs]n\", c);\n"
602 " break;\n"
603 " }\n"
604 " va_end(ap);\n"
605 "}\n"
606
607 #. type: SH
608 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
609 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
610 #, no-wrap
611 msgid "SEE ALSO"
612 msgstr "انظر أيضًا"
613
614 #. type: Plain text
615 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
616 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
617 msgid "B<vprintf>(3), B<vscanf>(3), B<vsyslog>(3)"
618 msgstr "B<vprintf>(3), B<vscanf>(3), B<vsyslog>(3)"
619
620 #. type: TH
621 #: debian-trixie
622 #, no-wrap
623 msgid "2024-06-15"
624 msgstr "15 يونيو 2024"
625
626 #. type: TH
627 #: debian-trixie
628 #, no-wrap
629 msgid "Linux man-pages 6.9.1"
630 msgstr "صفحات دليل لينكس 6.9.1"
631
632 #. type: Plain text
633 #: debian-trixie
634 msgid "Standard C library (I<libc>, I<-lc>)"
635 msgstr "مكتبة سي المعيارية (I<libc>، I<-lc>)"
636
637 #. type: TH
638 #: fedora-44 fedora-rawhide
639 #, no-wrap
640 msgid "2024-07-23"
641 msgstr "23 يوليو 2024"
642
643 #. type: TH
644 #: fedora-44 fedora-rawhide
645 #, no-wrap
646 msgid "Linux man-pages 6.13"
647 msgstr "صفحات دليل لينكس 6.13"
648
649 #. type: TH
650 #: mageia-cauldron
651 #, no-wrap
652 msgid "Linux man-pages 6.17"
653 msgstr "صفحات دليل لينكس 6.17"
654
655 #. type: TH
656 #: opensuse-leap-16-1 opensuse-tumbleweed
657 #, no-wrap
658 msgid "Linux man-pages (unreleased)"
659 msgstr "صفحات دليل لينكس (لم تصدر بعد)"