Debian Codegraph @

po/ar/man3/stailq.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:44+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 "STAILQ"
25 msgstr "STAILQ"
26
27 #. type: TH
28 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
29 #: opensuse-tumbleweed
30 #, no-wrap
31 msgid "2025-09-21"
32 msgstr "21 سبتمبر 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 #. SIMPLEQ_CONCAT,
48 #. SIMPLEQ_FOREACH_FROM,
49 #. SIMPLEQ_FOREACH_FROM_SAFE,
50 #. SIMPLEQ_FOREACH_SAFE,
51 #. SIMPLEQ_LAST,
52 #. SIMPLEQ_REMOVE_AFTER,
53 #. SIMPLEQ_SWAP,
54 #. STAILQ_FOREACH_FROM,
55 #. STAILQ_FOREACH_FROM_SAFE,
56 #. STAILQ_FOREACH_SAFE,
57 #. STAILQ_LAST,
58 #. STAILQ_REMOVE_AFTER,
59 #. STAILQ_SWAP
60 #. type: Plain text
61 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
62 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
63 msgid ""
64 "SIMPLEQ_EMPTY, SIMPLEQ_ENTRY, SIMPLEQ_FIRST, SIMPLEQ_FOREACH, SIMPLEQ_HEAD, "
65 "SIMPLEQ_HEAD_INITIALIZER, SIMPLEQ_INIT, SIMPLEQ_INSERT_AFTER, "
66 "SIMPLEQ_INSERT_HEAD, SIMPLEQ_INSERT_TAIL, SIMPLEQ_NEXT, SIMPLEQ_REMOVE, "
67 "SIMPLEQ_REMOVE_HEAD, STAILQ_CONCAT, STAILQ_EMPTY, STAILQ_ENTRY, "
68 "STAILQ_FIRST, STAILQ_FOREACH, STAILQ_HEAD, STAILQ_HEAD_INITIALIZER, "
69 "STAILQ_INIT, STAILQ_INSERT_AFTER, STAILQ_INSERT_HEAD, STAILQ_INSERT_TAIL, "
70 "STAILQ_NEXT, STAILQ_REMOVE, STAILQ_REMOVE_HEAD, - implementation of a singly "
71 "linked tail queue"
72 msgstr ""
73 "SIMPLEQ_EMPTY, SIMPLEQ_ENTRY, SIMPLEQ_FIRST, SIMPLEQ_FOREACH, SIMPLEQ_HEAD, "
74 "SIMPLEQ_HEAD_INITIALIZER, SIMPLEQ_INIT, SIMPLEQ_INSERT_AFTER, "
75 "SIMPLEQ_INSERT_HEAD, SIMPLEQ_INSERT_TAIL, SIMPLEQ_NEXT, SIMPLEQ_REMOVE, "
76 "SIMPLEQ_REMOVE_HEAD, STAILQ_CONCAT, STAILQ_EMPTY, STAILQ_ENTRY, "
77 "STAILQ_FIRST, STAILQ_FOREACH, STAILQ_HEAD, STAILQ_HEAD_INITIALIZER, "
78 "STAILQ_INIT, STAILQ_INSERT_AFTER, STAILQ_INSERT_HEAD, STAILQ_INSERT_TAIL, "
79 "STAILQ_NEXT, STAILQ_REMOVE, STAILQ_REMOVE_HEAD, - implementation of a singly "
80 "linked tail queue"
81
82 #. type: SH
83 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
84 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
85 #, no-wrap
86 msgid "LIBRARY"
87 msgstr "المكتبة"
88
89 #. type: Plain text
90 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
91 #: opensuse-leap-16-1 opensuse-tumbleweed
92 msgid "Standard C library (I<libc>,\\ I<-lc>)"
93 msgstr "مكتبة سي المعيارية (I<libc>،\\ I<-lc>)"
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 "SYNOPSIS"
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 #, no-wrap
106 msgid "B<#include E<lt>sys/queue.hE<gt>>\n"
107 msgstr "B<#include E<lt>sys/queue.hE<gt>>\n"
108
109 #. type: Plain text
110 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
111 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
112 #, no-wrap
113 msgid "B<STAILQ_ENTRY(TYPE);>\n"
114 msgstr "B<STAILQ_ENTRY(TYPE);>\n"
115
116 #. type: Plain text
117 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
118 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
119 #, no-wrap
120 msgid ""
121 "B<STAILQ_HEAD(HEADNAME, TYPE);>\n"
122 "B<STAILQ_HEAD STAILQ_HEAD_INITIALIZER(STAILQ_HEAD >I<head>B<);>\n"
123 "B<void STAILQ_INIT(STAILQ_HEAD *>I<head>B<);>\n"
124 msgstr ""
125 "B<STAILQ_HEAD(HEADNAME, TYPE);>\n"
126 "B<STAILQ_HEAD STAILQ_HEAD_INITIALIZER(STAILQ_HEAD >I<head>B<);>\n"
127 "B<void STAILQ_INIT(STAILQ_HEAD *>I<head>B<);>\n"
128
129 #. type: Plain text
130 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
131 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
132 #, no-wrap
133 msgid "B<int STAILQ_EMPTY(STAILQ_HEAD *>I<head>B<);>\n"
134 msgstr "B<int STAILQ_EMPTY(STAILQ_HEAD *>I<head>B<);>\n"
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 #, no-wrap
140 msgid ""
141 "B<void STAILQ_INSERT_HEAD(STAILQ_HEAD *>I<head>B<,>\n"
142 "B< struct TYPE *>I<elm>B<, STAILQ_ENTRY >I<NAME>B<);>\n"
143 "B<void STAILQ_INSERT_TAIL(STAILQ_HEAD *>I<head>B<,>\n"
144 "B< struct TYPE *>I<elm>B<, STAILQ_ENTRY >I<NAME>B<);>\n"
145 "B<void STAILQ_INSERT_AFTER(STAILQ_HEAD *>I<head>B<, struct TYPE *>I<listelm>B<,>\n"
146 "B< struct TYPE *>I<elm>B<, STAILQ_ENTRY >I<NAME>B<);>\n"
147 msgstr ""
148 "B<void STAILQ_INSERT_HEAD(STAILQ_HEAD *>I<head>B<,>\n"
149 "B< struct TYPE *>I<elm>B<, STAILQ_ENTRY >I<NAME>B<);>\n"
150 "B<void STAILQ_INSERT_TAIL(STAILQ_HEAD *>I<head>B<,>\n"
151 "B< struct TYPE *>I<elm>B<, STAILQ_ENTRY >I<NAME>B<);>\n"
152 "B<void STAILQ_INSERT_AFTER(STAILQ_HEAD *>I<head>B<, struct TYPE *>I<listelm>B<,>\n"
153 "B< struct TYPE *>I<elm>B<, STAILQ_ENTRY >I<NAME>B<);>\n"
154
155 #. .BI "struct TYPE *STAILQ_LAST(STAILQ_HEAD *" head ", struct TYPE *" elm ,
156 #. .BI " STAILQ_ENTRY " NAME );
157 #. type: Plain text
158 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
159 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
160 #, no-wrap
161 msgid ""
162 "B<struct TYPE *STAILQ_FIRST(STAILQ_HEAD *>I<head>B<);>\n"
163 "B<struct TYPE *STAILQ_NEXT(struct TYPE *>I<elm>B<, STAILQ_ENTRY >I<NAME>B<);>\n"
164 msgstr ""
165 "B<struct TYPE *STAILQ_FIRST(STAILQ_HEAD *>I<head>B<);>\n"
166 "B<struct TYPE *STAILQ_NEXT(struct TYPE *>I<elm>B<, STAILQ_ENTRY >I<NAME>B<);>\n"
167
168 #. .BI "STAILQ_FOREACH_FROM(struct TYPE *" var ", STAILQ_HEAD *" head ,
169 #. .BI " STAILQ_ENTRY " NAME );
170 #. .P
171 #. .BI "STAILQ_FOREACH_SAFE(struct TYPE *" var ", STAILQ_HEAD *" head ,
172 #. .BI " STAILQ_ENTRY " NAME ", struct TYPE *" temp_var );
173 #. .BI "STAILQ_FOREACH_FROM_SAFE(struct TYPE *" var ", STAILQ_HEAD *" head ,
174 #. .BI " STAILQ_ENTRY " NAME ", struct TYPE *" temp_var );
175 #. type: Plain text
176 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
177 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
178 #, no-wrap
179 msgid "B<STAILQ_FOREACH(struct TYPE *>I<var>B<, STAILQ_HEAD *>I<head>B<, STAILQ_ENTRY >I<NAME>B<);>\n"
180 msgstr "B<STAILQ_FOREACH(struct TYPE *>I<var>B<, STAILQ_HEAD *>I<head>B<, STAILQ_ENTRY >I<NAME>B<);>\n"
181
182 #. .BI "void STAILQ_REMOVE_AFTER(STAILQ_HEAD *" head ", struct TYPE *" elm ,
183 #. .BI " STAILQ_ENTRY " NAME );
184 #. type: Plain text
185 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
186 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
187 #, no-wrap
188 msgid ""
189 "B<void STAILQ_REMOVE(STAILQ_HEAD *>I<head>B<, struct TYPE *>I<elm>B<, TYPE,>\n"
190 "B< STAILQ_ENTRY >I<NAME>B<);>\n"
191 "B<void STAILQ_REMOVE_HEAD(STAILQ_HEAD *>I<head>B<,>\n"
192 "B< STAILQ_ENTRY >I<NAME>B<);>\n"
193 msgstr ""
194 "B<void STAILQ_REMOVE(STAILQ_HEAD *>I<head>B<, struct TYPE *>I<elm>B<, TYPE,>\n"
195 "B< STAILQ_ENTRY >I<NAME>B<);>\n"
196 "B<void STAILQ_REMOVE_HEAD(STAILQ_HEAD *>I<head>B<,>\n"
197 "B< STAILQ_ENTRY >I<NAME>B<);>\n"
198
199 #. .BI "void STAILQ_SWAP(STAILQ_HEAD *" head1 ", STAILQ_HEAD *" head2 ,
200 #. .BI " STAILQ_ENTRY " NAME );
201 #. type: Plain text
202 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
203 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
204 #, no-wrap
205 msgid "B<void STAILQ_CONCAT(STAILQ_HEAD *>I<head1>B<, STAILQ_HEAD *>I<head2>B<);>\n"
206 msgstr "B<void STAILQ_CONCAT(STAILQ_HEAD *>I<head1>B<, STAILQ_HEAD *>I<head2>B<);>\n"
207
208 #. type: Plain text
209 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
210 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
211 msgid ""
212 "I<Note>: Identical macros prefixed with SIMPLEQ instead of STAILQ exist; see "
213 "VERSIONS."
214 msgstr ""
215 "I<ملاحظة>: توجد وحدات ماكرو مطابقة مسبوقة بـ SIMPLEQ بدلاً من STAILQ؛ انظر "
216 "VERSIONS."
217
218 #. type: SH
219 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
220 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
221 #, no-wrap
222 msgid "DESCRIPTION"
223 msgstr "الوصف"
224
225 #. type: Plain text
226 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
227 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
228 msgid "These macros define and operate on singly linked tail queues."
229 msgstr "تُعرِّف وحدات الماكرو هذه وتُشغِّل طوابير ذيل موصولة وحيدة الاتجاه."
230
231 #. type: Plain text
232 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
233 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
234 msgid ""
235 "In the macro definitions, I<TYPE> is the name of a user-defined structure, "
236 "that must contain a field of type I<STAILQ_ENTRY>, named I<NAME>. The "
237 "argument I<HEADNAME> is the name of a user-defined structure that must be "
238 "declared using the macro B<STAILQ_HEAD>()."
239 msgstr ""
240 "في تعريفات الماكرو، I<TYPE> هو اسم بنية مُعرَّفة من قبل المستخدم، ويجب أن تحتوي "
241 "على حقل من النوع I<STAILQ_ENTRY>، مُسمى I<NAME>. المُعامل I<HEADNAME> هو اسم "
242 "بنية مُعرَّفة من قبل المستخدم يجب أن تُصرَّح باستخدام الماكرو B<STAILQ_HEAD>()."
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 "Creation"
249 msgstr "الإنشاء"
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 "A singly linked tail queue is headed by a structure defined by the "
256 "B<STAILQ_HEAD>() macro. This structure contains a pair of pointers, one to "
257 "the first element in the tail queue and the other to the last element in the "
258 "tail queue. The elements are singly linked for minimum space and pointer "
259 "manipulation overhead at the expense of O(n) removal for arbitrary "
260 "elements. New elements can be added to the tail queue after an existing "
261 "element, at the head of the tail queue, or at the end of the tail queue. A "
262 "I<STAILQ_HEAD> structure is declared as follows:"
263 msgstr ""
264 "طابور الذيل الموصول وحيد الاتجاه يُرأَس ببنية مُعرَّفة بواسطة الماكرو "
265 "B<STAILQ_HEAD>(). تحتوي هذه البنية على زوج من المؤشرات، واحد إلى أول عنصر "
266 "في طابور الذيل والآخر إلى آخر عنصر في طابور الذيل. العناصر موصولة وحيدة "
267 "الاتجاه لتقليل المساحة والعبء في معالجة المؤشرات على حساب إزالة O(n) للعناصر "
268 "العشوائية. يمكن إضافة عناصر جديدة إلى طابور الذيل بعد عنصر موجود، في رأس "
269 "طابور الذيل، أو في نهاية طابور الذيل. تُصرَّح بنية I<STAILQ_HEAD> كالتالي:"
270
271 #. type: Plain text
272 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
273 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
274 #, no-wrap
275 msgid "STAILQ_HEAD(HEADNAME, TYPE) head;\n"
276 msgstr "STAILQ_HEAD(HEADNAME, TYPE) head;\n"
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 msgid ""
282 "where I<struct HEADNAME> is the structure to be defined, and I<struct TYPE> "
283 "is the type of the elements to be linked into the tail queue. A pointer to "
284 "the head of the tail queue can later be declared as:"
285 msgstr ""
286 "حيث I<struct HEADNAME> هي البنية التي سيتم تعريفها، و I<struct TYPE> هو نوع "
287 "العناصر التي سيتم وصلها في طابور الذيل. يمكن لاحقاً تعريف مؤشر إلى رأس طابور "
288 "الذيل كالتالي:"
289
290 #. type: Plain text
291 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
292 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
293 #, no-wrap
294 msgid "struct HEADNAME *headp;\n"
295 msgstr "struct HEADNAME *headp;\n"
296
297 #. type: Plain text
298 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
299 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
300 msgid "(The names I<head> and I<headp> are user selectable.)"
301 msgstr "(الاسمان I<head> و I<headp> يمكن للمستخدم اختيارهما.)"
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 ""
307 "B<STAILQ_ENTRY>() declares a structure that connects the elements in the "
308 "tail queue."
309 msgstr "B<STAILQ_ENTRY>() يُعرِّف بنية تصل العناصر في طابور الذيل."
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 "B<STAILQ_HEAD_INITIALIZER>() evaluates to an initializer for the tail queue "
316 "I<head>."
317 msgstr "B<STAILQ_HEAD_INITIALIZER>() يُقيِّم إلى مُهيِّئ لطابور الذيل I<head>."
318
319 #. type: Plain text
320 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
321 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
322 msgid "B<STAILQ_INIT>() initializes the tail queue referenced by I<head>."
323 msgstr "B<STAILQ_INIT>() يُهيِّئ طابور الذيل المُشار إليه بواسطة I<head>."
324
325 #. type: Plain text
326 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
327 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
328 msgid ""
329 "B<STAILQ_EMPTY>() evaluates to true if there are no items on the tail queue."
330 msgstr "B<STAILQ_EMPTY>() يُقيِّم إلى صحيح إذا لم تكن هناك عناصر في طابور الذيل."
331
332 #. type: SS
333 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
334 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
335 #, no-wrap
336 msgid "Insertion"
337 msgstr "إدراج"
338
339 #. type: Plain text
340 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
341 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
342 msgid ""
343 "B<STAILQ_INSERT_HEAD>() inserts the new element I<elm> at the head of the "
344 "tail queue."
345 msgstr "B<STAILQ_INSERT_HEAD>() يُدرج العنصر الجديد I<elm> في رأس طابور الذيل."
346
347 #. type: Plain text
348 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
349 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
350 msgid ""
351 "B<STAILQ_INSERT_TAIL>() inserts the new element I<elm> at the end of the "
352 "tail queue."
353 msgstr ""
354 "تدرج B<STAILQ_INSERT_TAIL>() العنصر الجديد I<elm> في نهاية طابور الذيل."
355
356 #. type: Plain text
357 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
358 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
359 msgid ""
360 "B<STAILQ_INSERT_AFTER>() inserts the new element I<elm> after the element "
361 "I<listelm>."
362 msgstr ""
363 "تدرج B<STAILQ_INSERT_AFTER>() العنصر الجديد I<elm> بعد العنصر I<listelm>."
364
365 #. type: SS
366 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
367 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
368 #, no-wrap
369 msgid "Traversal"
370 msgstr "اجتياز"
371
372 #. .P
373 #. .BR STAILQ_LAST ()
374 #. returns the last item on the tail queue.
375 #. If the tail queue is empty the return value is NULL .
376 #. type: Plain text
377 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
378 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
379 msgid ""
380 "B<STAILQ_FIRST>() returns the first item on the tail queue or NULL if the "
381 "tail queue is empty."
382 msgstr ""
383 "تُرجع B<STAILQ_FIRST>() أول عنصر في طابور الذيل أو NULL إذا كان طابور الذيل "
384 "فارغًا."
385
386 #. type: Plain text
387 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
388 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
389 msgid ""
390 "B<STAILQ_NEXT>() returns the next item on the tail queue, or NULL this item "
391 "is the last."
392 msgstr ""
393 "تُرجع B<STAILQ_NEXT>() العنصر التالي في طابور الذيل، أو NULL إذا كان هذا "
394 "العنصر هو الأخير."
395
396 #. .P
397 #. .BR STAILQ_FOREACH_FROM ()
398 #. behaves identically to
399 #. .BR STAILQ_FOREACH ()
400 #. when
401 #. .I var
402 #. is NULL, else it treats
403 #. .I var
404 #. as a previously found STAILQ element and begins the loop at
405 #. .I var
406 #. instead of the first element in the STAILQ referenced by
407 #. .IR head .
408 #. .P
409 #. .BR STAILQ_FOREACH_SAFE ()
410 #. traverses the tail queue referenced by
411 #. .I head
412 #. in the forward direction, assigning each element
413 #. in turn to
414 #. .IR var .
415 #. However, unlike
416 #. .BR STAILQ_FOREACH ()
417 #. here it is permitted to both remove
418 #. .I var
419 #. as well as free it from within the loop safely without interfering with the
420 #. traversal.
421 #. .P
422 #. .BR STAILQ_FOREACH_FROM_SAFE ()
423 #. behaves identically to
424 #. .BR STAILQ_FOREACH_SAFE ()
425 #. when
426 #. .I var
427 #. is NULL, else it treats
428 #. .I var
429 #. as a previously found STAILQ element and begins the loop at
430 #. .I var
431 #. instead of the first element in the STAILQ referenced by
432 #. .IR head .
433 #. type: Plain text
434 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
435 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
436 msgid ""
437 "B<STAILQ_FOREACH>() traverses the tail queue referenced by I<head> in the "
438 "forward direction, assigning each element in turn to I<var>."
439 msgstr ""
440 "تعبر B<STAILQ_FOREACH>() طابور الذيل المشار إليه بـ I<head> في الاتجاه "
441 "الأمامي، مع تخصيص كل عنصر بدوره إلى I<var>."
442
443 #. type: SS
444 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
445 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
446 #, no-wrap
447 msgid "Removal"
448 msgstr "إزالة"
449
450 #. type: Plain text
451 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
452 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
453 msgid "B<STAILQ_REMOVE>() removes the element I<elm> from the tail queue."
454 msgstr "تزيل B<STAILQ_REMOVE>() العنصر I<elm> من طابور الذيل."
455
456 #. .P
457 #. .BR STAILQ_REMOVE_AFTER ()
458 #. removes the element after
459 #. .I elm
460 #. from the tail queue.
461 #. Unlike
462 #. .BR STAILQ_REMOVE (),
463 #. this macro does not traverse the entire tail queue.
464 #. type: Plain text
465 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
466 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
467 msgid ""
468 "B<STAILQ_REMOVE_HEAD>() removes the element at the head of the tail queue. "
469 "For optimum efficiency, elements being removed from the head of the tail "
470 "queue should use this macro explicitly rather than the generic "
471 "B<STAILQ_REMOVE>() macro."
472 msgstr ""
473 "تزيل B<STAILQ_REMOVE_HEAD>() العنصر الموجود في رأس طابور الذيل. لتحقيق "
474 "الكفاءة المثلى، يجب أن تستخدم العناصر التي تُزال من رأس طابور الذيل هذه "
475 "الكلية (macro) صراحةً بدلاً من الكلية العامة B<STAILQ_REMOVE>()."
476
477 #. type: SS
478 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
479 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
480 #, no-wrap
481 msgid "Other features"
482 msgstr "ميزات أخرى"
483
484 #. .P
485 #. .BR STAILQ_SWAP ()
486 #. swaps the contents of
487 #. .I head1
488 #. and
489 #. .IR head2 .
490 #. type: Plain text
491 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
492 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
493 msgid ""
494 "B<STAILQ_CONCAT>() concatenates the tail queue headed by I<head2> onto the "
495 "end of the one headed by I<head1> removing all entries from the former."
496 msgstr ""
497 "تسلسل B<STAILQ_CONCAT>() طابور الذيل الذي يرأسه I<head2> إلى نهاية الطابور "
498 "الذي يرأسه I<head1> مع إزالة جميع المدخلات من الأول."
499
500 #. type: SH
501 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
502 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
503 #, no-wrap
504 msgid "RETURN VALUE"
505 msgstr "قيمة الإرجاع"
506
507 #. type: Plain text
508 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
509 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
510 msgid ""
511 "B<STAILQ_EMPTY>() returns nonzero if the queue is empty, and zero if the "
512 "queue contains at least one entry."
513 msgstr ""
514 "تُرجع B<STAILQ_EMPTY>() قيمة غير صفرية إذا كان الطابور فارغًا، وصفرًا إذا كان "
515 "الطابور يحتوي على مدخل واحد على الأقل."
516
517 #. type: Plain text
518 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
519 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
520 msgid ""
521 "B<STAILQ_FIRST>(), and B<STAILQ_NEXT>() return a pointer to the first or "
522 "next I<TYPE> structure, respectively."
523 msgstr ""
524 "تُرجع B<STAILQ_FIRST>() و B<STAILQ_NEXT>() مؤشرًا إلى بنية I<TYPE> الأولى أو "
525 "التالية، على التوالي."
526
527 #. type: Plain text
528 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
529 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
530 msgid ""
531 "B<STAILQ_HEAD_INITIALIZER>() returns an initializer that can be assigned to "
532 "the queue I<head>."
533 msgstr "تُرجع B<STAILQ_HEAD_INITIALIZER()> مُهيئًا يمكن تخصيصه للطابور I<head>."
534
535 #. type: SH
536 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
537 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
538 #, no-wrap
539 msgid "VERSIONS"
540 msgstr "الإصدارات"
541
542 #. type: Plain text
543 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
544 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
545 msgid ""
546 "Some BSDs provide SIMPLEQ instead of STAILQ. They are identical, but for "
547 "historical reasons they were named differently on different BSDs. STAILQ "
548 "originated on FreeBSD, and SIMPLEQ originated on NetBSD. For compatibility "
549 "reasons, some systems provide both sets of macros. glibc provides both "
550 "STAILQ and SIMPLEQ, which are identical except for a missing SIMPLEQ "
551 "equivalent to B<STAILQ_CONCAT>()."
552 msgstr ""
553 "توفر بعض أنظمة BSD الماكرو SIMPLEQ بدلاً من STAILQ. وهما متطابقان، لكن لأسباب "
554 "تاريخية سُمِّيَا بشكل مختلف في أنظمة BSD المختلفة. نشأ STAILQ في FreeBSD، ونشأ "
555 "SIMPLEQ في NetBSD. لأسباب تتعلق بالتوافق، توفر بعض الأنظمة كلا المجموعتين من "
556 "الماكروهات. توفر glibc كلاً من STAILQ و SIMPLEQ، وهما متطابقان باستثناء عدم "
557 "وجود مكافئ في SIMPLEQ لـ B<STAILQ_CONCAT>()."
558
559 #. type: SH
560 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
561 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
562 #, no-wrap
563 msgid "BUGS"
564 msgstr "العلل"
565
566 #. type: Plain text
567 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
568 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
569 msgid ""
570 "B<STAILQ_FOREACH>() doesn't allow I<var> to be removed or freed within the "
571 "loop, as it would interfere with the traversal. B<STAILQ_FOREACH_SAFE>(), "
572 "which is present on the BSDs but is not present in glibc, fixes this "
573 "limitation by allowing I<var> to safely be removed from the list and freed "
574 "from within the loop without interfering with the traversal."
575 msgstr ""
576 "لا تسمح B<STAILQ_FOREACH>() بإزالة I<var> أو تحريره داخل الحلقة، لأن ذلك "
577 "سيتداخل مع العبور. تعالج B<STAILQ_FOREACH_SAFE>()، الموجودة في أنظمة BSD "
578 "ولكنها غير موجودة في glibc، هذا القيد بالسماح بإزالة I<var> بأمان من القائمة "
579 "وتحريره من داخل الحلقة دون التداخل مع العبور."
580
581 #. type: SH
582 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
583 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
584 #, no-wrap
585 msgid "STANDARDS"
586 msgstr "المعايير"
587
588 #. type: Plain text
589 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
590 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
591 msgid "BSD."
592 msgstr "BSD."
593
594 #. type: SH
595 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
596 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
597 #, no-wrap
598 msgid "HISTORY"
599 msgstr "التاريخ"
600
601 #. type: Plain text
602 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
603 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
604 msgid "4.4BSD."
605 msgstr "4.4BSD."
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 "EXAMPLES"
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 #, no-wrap
618 msgid ""
619 "#include E<lt>stddef.hE<gt>\n"
620 "#include E<lt>stdio.hE<gt>\n"
621 "#include E<lt>stdlib.hE<gt>\n"
622 "#include E<lt>sys/queue.hE<gt>\n"
623 "\\&\n"
624 "struct entry {\n"
625 " int data;\n"
626 " STAILQ_ENTRY(entry) entries; /* Singly linked tail queue */\n"
627 "};\n"
628 "\\&\n"
629 "STAILQ_HEAD(stailhead, entry);\n"
630 "\\&\n"
631 "int\n"
632 "main(void)\n"
633 "{\n"
634 " struct entry *n1, *n2, *n3, *np;\n"
635 " struct stailhead head; /* Singly linked tail queue\n"
636 " head */\n"
637 "\\&\n"
638 " STAILQ_INIT(&head); /* Initialize the queue */\n"
639 "\\&\n"
640 " n1 = malloc(sizeof(struct entry)); /* Insert at the head */\n"
641 " STAILQ_INSERT_HEAD(&head, n1, entries);\n"
642 "\\&\n"
643 " n1 = malloc(sizeof(struct entry)); /* Insert at the tail */\n"
644 " STAILQ_INSERT_TAIL(&head, n1, entries);\n"
645 "\\&\n"
646 " n2 = malloc(sizeof(struct entry)); /* Insert after */\n"
647 " STAILQ_INSERT_AFTER(&head, n1, n2, entries);\n"
648 "\\&\n"
649 " STAILQ_REMOVE(&head, n2, entry, entries); /* Deletion */\n"
650 " free(n2);\n"
651 "\\&\n"
652 " n3 = STAILQ_FIRST(&head);\n"
653 " STAILQ_REMOVE_HEAD(&head, entries); /* Deletion from the head */\n"
654 " free(n3);\n"
655 "\\&\n"
656 " n1 = STAILQ_FIRST(&head);\n"
657 " n1-E<gt>data = 0;\n"
658 " for (unsigned int i = 1; i E<lt> 5; i++) {\n"
659 " n1 = malloc(sizeof(struct entry));\n"
660 " STAILQ_INSERT_HEAD(&head, n1, entries);\n"
661 " n1-E<gt>data = i;\n"
662 " }\n"
663 " /* Forward traversal */\n"
664 " STAILQ_FOREACH(np, &head, entries)\n"
665 " printf(\"%i\\[rs]n\", np-E<gt>data);\n"
666 " /* TailQ deletion */\n"
667 " n1 = STAILQ_FIRST(&head);\n"
668 " while (n1 != NULL) {\n"
669 " n2 = STAILQ_NEXT(n1, entries);\n"
670 " free(n1);\n"
671 " n1 = n2;\n"
672 " }\n"
673 " STAILQ_INIT(&head);\n"
674 "\\&\n"
675 " exit(EXIT_SUCCESS);\n"
676 "}\n"
677 msgstr ""
678 "#include E<lt>stddef.hE<gt>\n"
679 "#include E<lt>stdio.hE<gt>\n"
680 "#include E<lt>stdlib.hE<gt>\n"
681 "#include E<lt>sys/queue.hE<gt>\n"
682 "\\&\n"
683 "struct entry {\n"
684 " int data;\n"
685 " STAILQ_ENTRY(entry) entries; /* Singly linked tail queue */\n"
686 "};\n"
687 "\\&\n"
688 "STAILQ_HEAD(stailhead, entry);\n"
689 "\\&\n"
690 "int\n"
691 "main(void)\n"
692 "{\n"
693 " struct entry *n1, *n2, *n3, *np;\n"
694 " struct stailhead head; /* Singly linked tail queue\n"
695 " head */\n"
696 "\\&\n"
697 " STAILQ_INIT(&head); /* Initialize the queue */\n"
698 "\\&\n"
699 " n1 = malloc(sizeof(struct entry)); /* Insert at the head */\n"
700 " STAILQ_INSERT_HEAD(&head, n1, entries);\n"
701 "\\&\n"
702 " n1 = malloc(sizeof(struct entry)); /* Insert at the tail */\n"
703 " STAILQ_INSERT_TAIL(&head, n1, entries);\n"
704 "\\&\n"
705 " n2 = malloc(sizeof(struct entry)); /* Insert after */\n"
706 " STAILQ_INSERT_AFTER(&head, n1, n2, entries);\n"
707 "\\&\n"
708 " STAILQ_REMOVE(&head, n2, entry, entries); /* Deletion */\n"
709 " free(n2);\n"
710 "\\&\n"
711 " n3 = STAILQ_FIRST(&head);\n"
712 " STAILQ_REMOVE_HEAD(&head, entries); /* Deletion from the head */\n"
713 " free(n3);\n"
714 "\\&\n"
715 " n1 = STAILQ_FIRST(&head);\n"
716 " n1-E<gt>data = 0;\n"
717 " for (unsigned int i = 1; i E<lt> 5; i++) {\n"
718 " n1 = malloc(sizeof(struct entry));\n"
719 " STAILQ_INSERT_HEAD(&head, n1, entries);\n"
720 " n1-E<gt>data = i;\n"
721 " }\n"
722 " /* Forward traversal */\n"
723 " STAILQ_FOREACH(np, &head, entries)\n"
724 " printf(\"%i\\[rs]n\", np-E<gt>data);\n"
725 " /* TailQ deletion */\n"
726 " n1 = STAILQ_FIRST(&head);\n"
727 " while (n1 != NULL) {\n"
728 " n2 = STAILQ_NEXT(n1, entries);\n"
729 " free(n1);\n"
730 " n1 = n2;\n"
731 " }\n"
732 " STAILQ_INIT(&head);\n"
733 "\\&\n"
734 " exit(EXIT_SUCCESS);\n"
735 "}\n"
736
737 #. SRC END
738 #. type: SH
739 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
740 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
741 #, no-wrap
742 msgid "SEE ALSO"
743 msgstr "انظر أيضًا"
744
745 #. type: Plain text
746 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
747 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
748 msgid "B<insque>(3), B<queue>(7)"
749 msgstr "B<insque>(3)، B<queue>(7)"
750
751 #. type: TH
752 #: debian-trixie
753 #, no-wrap
754 msgid "2024-06-16"
755 msgstr "16 يونيو 2024"
756
757 #. type: TH
758 #: debian-trixie
759 #, no-wrap
760 msgid "Linux man-pages 6.9.1"
761 msgstr "صفحات دليل لينكس 6.9.1"
762
763 #. type: Plain text
764 #: debian-trixie
765 msgid "Standard C library (I<libc>, I<-lc>)"
766 msgstr "مكتبة سي المعيارية (I<libc>، I<-lc>)"
767
768 #. type: TH
769 #: fedora-44 fedora-rawhide
770 #, no-wrap
771 msgid "2024-07-23"
772 msgstr "23 يوليو 2024"
773
774 #. type: TH
775 #: fedora-44 fedora-rawhide
776 #, no-wrap
777 msgid "Linux man-pages 6.13"
778 msgstr "صفحات دليل لينكس 6.13"
779
780 #. type: TH
781 #: mageia-cauldron
782 #, no-wrap
783 msgid "Linux man-pages 6.17"
784 msgstr "صفحات دليل لينكس 6.17"
785
786 #. type: TH
787 #: opensuse-leap-16-1 opensuse-tumbleweed
788 #, no-wrap
789 msgid "Linux man-pages (unreleased)"
790 msgstr "صفحات دليل لينكس (لم تصدر بعد)"