Debian Codegraph @

po/ar/man3/circleq.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:20+0200\n"
9 "PO-Revision-Date: 2026-05-31 18:57+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 "CIRCLEQ"
25 msgstr "CIRCLEQ"
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 ""
51 "CIRCLEQ_EMPTY, CIRCLEQ_ENTRY, CIRCLEQ_FIRST, CIRCLEQ_FOREACH, "
52 "CIRCLEQ_FOREACH_REVERSE, CIRCLEQ_HEAD, CIRCLEQ_HEAD_INITIALIZER, "
53 "CIRCLEQ_INIT, CIRCLEQ_INSERT_AFTER, CIRCLEQ_INSERT_BEFORE, "
54 "CIRCLEQ_INSERT_HEAD, CIRCLEQ_INSERT_TAIL, CIRCLEQ_LAST, CIRCLEQ_LOOP_NEXT, "
55 "CIRCLEQ_LOOP_PREV, CIRCLEQ_NEXT, CIRCLEQ_PREV, CIRCLEQ_REMOVE - "
56 "implementation of a doubly linked circular queue"
57 msgstr ""
58 "CIRCLEQ_EMPTY، CIRCLEQ_ENTRY، CIRCLEQ_FIRST، CIRCLEQ_FOREACH، "
59 "CIRCLEQ_FOREACH_REVERSE، CIRCLEQ_HEAD، CIRCLEQ_HEAD_INITIALIZER، "
60 "CIRCLEQ_INIT، CIRCLEQ_INSERT_AFTER، CIRCLEQ_INSERT_BEFORE، "
61 "CIRCLEQ_INSERT_HEAD، CIRCLEQ_INSERT_TAIL، CIRCLEQ_LAST، CIRCLEQ_LOOP_NEXT، "
62 "CIRCLEQ_LOOP_PREV، CIRCLEQ_NEXT، CIRCLEQ_PREV، CIRCLEQ_REMOVE - تنفيذ طابور "
63 "دائري مزدوج الوصل"
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 "LIBRARY"
70 msgstr "المكتبة"
71
72 #. type: Plain text
73 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
74 #: opensuse-leap-16-1 opensuse-tumbleweed
75 msgid "Standard C library (I<libc>,\\ I<-lc>)"
76 msgstr "مكتبة سي المعيارية (I<libc>،\\ I<-lc>)"
77
78 #. type: SH
79 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
80 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
81 #, no-wrap
82 msgid "SYNOPSIS"
83 msgstr "موجز"
84
85 #. type: Plain text
86 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
87 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
88 #, no-wrap
89 msgid "B<#include E<lt>sys/queue.hE<gt>>\n"
90 msgstr "B<#include E<lt>sys/queue.hE<gt>>\n"
91
92 #. type: Plain text
93 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
94 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
95 #, no-wrap
96 msgid "B<CIRCLEQ_ENTRY(TYPE);>\n"
97 msgstr "B<CIRCLEQ_ENTRY(TYPE);>\n"
98
99 #. type: Plain text
100 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
101 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
102 #, no-wrap
103 msgid ""
104 "B<CIRCLEQ_HEAD(HEADNAME, TYPE);>\n"
105 "B<CIRCLEQ_HEAD CIRCLEQ_HEAD_INITIALIZER(CIRCLEQ_HEAD >I<head>B<);>\n"
106 "B<void CIRCLEQ_INIT(CIRCLEQ_HEAD *>I<head>B<);>\n"
107 msgstr ""
108 "B<CIRCLEQ_HEAD(HEADNAME, TYPE);>\n"
109 "B<CIRCLEQ_HEAD CIRCLEQ_HEAD_INITIALIZER(CIRCLEQ_HEAD >I<head>B<);>\n"
110 "B<void CIRCLEQ_INIT(CIRCLEQ_HEAD *>I<head>B<);>\n"
111
112 #. type: Plain text
113 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
114 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
115 #, no-wrap
116 msgid "B<int CIRCLEQ_EMPTY(CIRCLEQ_HEAD *>I<head>B<);>\n"
117 msgstr "B<int CIRCLEQ_EMPTY(CIRCLEQ_HEAD *>I<head>B<);>\n"
118
119 #. type: Plain text
120 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
121 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
122 #, no-wrap
123 msgid ""
124 "B<void CIRCLEQ_INSERT_HEAD(CIRCLEQ_HEAD *>I<head>B<,>\n"
125 "B< struct TYPE *>I<elm>B<, CIRCLEQ_ENTRY >I<NAME>B<);>\n"
126 "B<void CIRCLEQ_INSERT_TAIL(CIRCLEQ_HEAD *>I<head>B<,>\n"
127 "B< struct TYPE *>I<elm>B<, CIRCLEQ_ENTRY >I<NAME>B<);>\n"
128 "B<void CIRCLEQ_INSERT_BEFORE(CIRCLEQ_HEAD *>I<head>B<, struct TYPE *>I<listelm>B<,>\n"
129 "B< struct TYPE *>I<elm>B<, CIRCLEQ_ENTRY >I<NAME>B<);>\n"
130 "B<void CIRCLEQ_INSERT_AFTER(CIRCLEQ_HEAD *>I<head>B<, struct TYPE *>I<listelm>B<,>\n"
131 "B< struct TYPE *>I<elm>B<, CIRCLEQ_ENTRY >I<NAME>B<);>\n"
132 msgstr ""
133 "B<void CIRCLEQ_INSERT_HEAD(CIRCLEQ_HEAD *>I<head>B<,>\n"
134 "B< struct TYPE *>I<elm>B<, CIRCLEQ_ENTRY >I<NAME>B<);>\n"
135 "B<void CIRCLEQ_INSERT_TAIL(CIRCLEQ_HEAD *>I<head>B<,>\n"
136 "B< struct TYPE *>I<elm>B<, CIRCLEQ_ENTRY >I<NAME>B<);>\n"
137 "B<void CIRCLEQ_INSERT_BEFORE(CIRCLEQ_HEAD *>I<head>B<, struct TYPE *>I<listelm>B<,>\n"
138 "B< struct TYPE *>I<elm>B<, CIRCLEQ_ENTRY >I<NAME>B<);>\n"
139 "B<void CIRCLEQ_INSERT_AFTER(CIRCLEQ_HEAD *>I<head>B<, struct TYPE *>I<listelm>B<,>\n"
140 "B< struct TYPE *>I<elm>B<, CIRCLEQ_ENTRY >I<NAME>B<);>\n"
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 #, no-wrap
146 msgid ""
147 "B<struct TYPE *CIRCLEQ_FIRST(CIRCLEQ_HEAD *>I<head>B<);>\n"
148 "B<struct TYPE *CIRCLEQ_LAST(CIRCLEQ_HEAD *>I<head>B<);>\n"
149 "B<struct TYPE *CIRCLEQ_PREV(struct TYPE *>I<elm>B<, CIRCLEQ_ENTRY >I<NAME>B<);>\n"
150 "B<struct TYPE *CIRCLEQ_NEXT(struct TYPE *>I<elm>B<, CIRCLEQ_ENTRY >I<NAME>B<);>\n"
151 "B<struct TYPE *CIRCLEQ_LOOP_PREV(CIRCLEQ_HEAD *>I<head>B<,>\n"
152 "B< struct TYPE *>I<elm>B<, CIRCLEQ_ENTRY >I<NAME>B<);>\n"
153 "B<struct TYPE *CIRCLEQ_LOOP_NEXT(CIRCLEQ_HEAD *>I<head>B<,>\n"
154 "B< struct TYPE *>I<elm>B<, CIRCLEQ_ENTRY >I<NAME>B<);>\n"
155 msgstr ""
156 "B<struct TYPE *CIRCLEQ_FIRST(CIRCLEQ_HEAD *>I<head>B<);>\n"
157 "B<struct TYPE *CIRCLEQ_LAST(CIRCLEQ_HEAD *>I<head>B<);>\n"
158 "B<struct TYPE *CIRCLEQ_PREV(struct TYPE *>I<elm>B<, CIRCLEQ_ENTRY >I<NAME>B<);>\n"
159 "B<struct TYPE *CIRCLEQ_NEXT(struct TYPE *>I<elm>B<, CIRCLEQ_ENTRY >I<NAME>B<);>\n"
160 "B<struct TYPE *CIRCLEQ_LOOP_PREV(CIRCLEQ_HEAD *>I<head>B<,>\n"
161 "B< struct TYPE *>I<elm>B<, CIRCLEQ_ENTRY >I<NAME>B<);>\n"
162 "B<struct TYPE *CIRCLEQ_LOOP_NEXT(CIRCLEQ_HEAD *>I<head>B<,>\n"
163 "B< struct TYPE *>I<elm>B<, CIRCLEQ_ENTRY >I<NAME>B<);>\n"
164
165 #. type: Plain text
166 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
167 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
168 #, no-wrap
169 msgid ""
170 "B<CIRCLEQ_FOREACH(struct TYPE *>I<var>B<, CIRCLEQ_HEAD *>I<head>B<,>\n"
171 "B< CIRCLEQ_ENTRY >I<NAME>B<);>\n"
172 "B<CIRCLEQ_FOREACH_REVERSE(struct TYPE *>I<var>B<, CIRCLEQ_HEAD *>I<head>B<,>\n"
173 "B< CIRCLEQ_ENTRY >I<NAME>B<);>\n"
174 msgstr ""
175 "B<CIRCLEQ_FOREACH(struct TYPE *>I<var>B<, CIRCLEQ_HEAD *>I<head>B<,>\n"
176 "B< CIRCLEQ_ENTRY >I<NAME>B<);>\n"
177 "B<CIRCLEQ_FOREACH_REVERSE(struct TYPE *>I<var>B<, CIRCLEQ_HEAD *>I<head>B<,>\n"
178 "B< CIRCLEQ_ENTRY >I<NAME>B<);>\n"
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 #, no-wrap
184 msgid ""
185 "B<void CIRCLEQ_REMOVE(CIRCLEQ_HEAD *>I<head>B<, struct TYPE *>I<elm>B<,>\n"
186 "B< CIRCLEQ_ENTRY >I<NAME>B<);>\n"
187 msgstr ""
188 "B<void CIRCLEQ_REMOVE(CIRCLEQ_HEAD *>I<head>B<, struct TYPE *>I<elm>B<,>\n"
189 "B< CIRCLEQ_ENTRY >I<NAME>B<);>\n"
190
191 #. type: SH
192 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
193 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
194 #, no-wrap
195 msgid "DESCRIPTION"
196 msgstr "الوصف"
197
198 #. type: Plain text
199 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
200 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
201 msgid "These macros define and operate on doubly linked circular queues."
202 msgstr "تعرف هذه الكليّات وتُشغّل طوابير دائرية مزدوجة الوصل."
203
204 #. type: Plain text
205 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
206 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
207 msgid ""
208 "In the macro definitions, I<TYPE> is the name of a user-defined structure, "
209 "that must contain a field of type I<CIRCLEQ_ENTRY>, named I<NAME>. The "
210 "argument I<HEADNAME> is the name of a user-defined structure that must be "
211 "declared using the macro B<CIRCLEQ_HEAD>()."
212 msgstr ""
213 "في تعريفات الكليّات، I<TYPE> هو اسم بنية معرّفة من المستخدم، يجب أن تحتوي على "
214 "حقل من نوع I<CIRCLEQ_ENTRY>، اسمه I<NAME>. الوسيط I<HEADNAME> هو اسم بنية "
215 "معرّفة من المستخدم يجب أن تُصرّح باستخدام الكلية B<CIRCLEQ_HEAD>()."
216
217 #. type: SS
218 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
219 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
220 #, no-wrap
221 msgid "Creation"
222 msgstr "الإنشاء"
223
224 #. type: Plain text
225 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
226 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
227 msgid ""
228 "A circular queue is headed by a structure defined by the B<CIRCLEQ_HEAD>() "
229 "macro. This structure contains a pair of pointers, one to the first element "
230 "in the queue and the other to the last element in the queue. The elements "
231 "are doubly linked so that an arbitrary element can be removed without "
232 "traversing the queue. New elements can be added to the queue after an "
233 "existing element, before an existing element, at the head of the queue, or "
234 "at the end of the queue. A I<CIRCLEQ_HEAD> structure is declared as follows:"
235 msgstr ""
236 "يترأس الطابور الدائري بنية معرّفة بالكلية B<CIRCLEQ_HEAD>(). تحتوي هذه البنية "
237 "على زوج من المؤشرات، واحد إلى أول عنصر في الطابور والآخر إلى آخر عنصر في "
238 "الطابور. العناصر موصولة مزدوجًا بحيث يمكن إزالة أي عنصر دون اجتياز الطابور. "
239 "يمكن إضافة عناصر جديدة إلى الطابور بعد عنصر موجود، قبل عنصر موجود، في رأس "
240 "الطابور، أو في نهاية الطابور. تُصرّح بنية I<CIRCLEQ_HEAD> كالتالي:"
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 #, no-wrap
246 msgid "CIRCLEQ_HEAD(HEADNAME, TYPE) head;\n"
247 msgstr "CIRCLEQ_HEAD(HEADNAME, TYPE) head;\n"
248
249 #. type: Plain text
250 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
251 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
252 msgid ""
253 "where I<struct HEADNAME> is the structure to be defined, and I<struct TYPE> "
254 "is the type of the elements to be linked into the queue. A pointer to the "
255 "head of the queue can later be declared as:"
256 msgstr ""
257 "حيث I<struct HEADNAME> هي البنية المراد تعريفها، و I<struct TYPE> هو نوع "
258 "العناصر المراد ربطها في الطابور. يمكن لاحقًا التصريح عن مؤشر لرأس الطابور كـ:"
259
260 #. type: Plain text
261 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
262 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
263 #, no-wrap
264 msgid "struct HEADNAME *headp;\n"
265 msgstr "struct HEADNAME *headp;\n"
266
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 "(The names I<head> and I<headp> are user selectable.)"
271 msgstr "(الاسمان I<head> و I<headp> يمكن للمستخدم اختيارهما.)"
272
273 #. type: Plain text
274 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
275 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
276 msgid ""
277 "B<CIRCLEQ_ENTRY>() declares a structure that connects the elements in the "
278 "queue."
279 msgstr "B<CIRCLEQ_ENTRY>() تُصرّح ببنية تصل العناصر في الطابور."
280
281 #. type: Plain text
282 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
283 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
284 msgid ""
285 "B<CIRCLEQ_HEAD_INITIALIZER>() evaluates to an initializer for the queue "
286 "I<head>."
287 msgstr "B<CIRCLEQ_HEAD_INITIALIZER>() تُقيّم إلى مُهيئ للطابور I<head>."
288
289 #. type: Plain text
290 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
291 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
292 msgid "B<CIRCLEQ_INIT>() initializes the queue referenced by I<head>."
293 msgstr "B<CIRCLEQ_INIT>() تُهيئ الطابور المشار إليه بـ I<head>."
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 msgid ""
299 "B<CIRCLEQ_EMPTY>() evaluates to true if there are no items on the queue."
300 msgstr "B<CIRCLEQ_EMPTY>() تُقيّم إلى صحيح إذا لم تكن هناك عناصر في الطابور."
301
302 #. type: SS
303 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
304 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
305 #, no-wrap
306 msgid "Insertion"
307 msgstr "إدراج"
308
309 #. type: Plain text
310 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
311 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
312 msgid ""
313 "B<CIRCLEQ_INSERT_HEAD>() inserts the new element I<elm> at the head of the "
314 "queue."
315 msgstr "B<CIRCLEQ_INSERT_HEAD>() تُدرج العنصر الجديد I<elm> في رأس الطابور."
316
317 #. type: Plain text
318 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
319 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
320 msgid ""
321 "B<CIRCLEQ_INSERT_TAIL>() inserts the new element I<elm> at the end of the "
322 "queue."
323 msgstr "B<CIRCLEQ_INSERT_TAIL>() تُدرج العنصر الجديد I<elm> في نهاية الطابور."
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<CIRCLEQ_INSERT_BEFORE>() inserts the new element I<elm> before the "
330 "element I<listelm>."
331 msgstr ""
332 "B<CIRCLEQ_INSERT_BEFORE>() تُدرج العنصر الجديد I<elm> قبل العنصر I<listelm>."
333
334 #. type: Plain text
335 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
336 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
337 msgid ""
338 "B<CIRCLEQ_INSERT_AFTER>() inserts the new element I<elm> after the element "
339 "I<listelm>."
340 msgstr ""
341 "B<CIRCLEQ_INSERT_AFTER>() تُدرج العنصر الجديد I<elm> بعد العنصر I<listelm>."
342
343 #. type: SS
344 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
345 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
346 #, no-wrap
347 msgid "Traversal"
348 msgstr "اجتياز"
349
350 #. type: Plain text
351 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
352 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
353 msgid "B<CIRCLEQ_FIRST>() returns the first item on the queue."
354 msgstr "B<CIRCLEQ_FIRST>() تُرجع أول عنصر في الطابور."
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 "B<CIRCLEQ_LAST>() returns the last item on the queue."
360 msgstr "B<CIRCLEQ_LAST>() تُرجع آخر عنصر في الطابور."
361
362 #. type: Plain text
363 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
364 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
365 msgid ""
366 "B<CIRCLEQ_PREV>() returns the previous item on the queue, or I<&head> if "
367 "this item is the first one."
368 msgstr ""
369 "B<CIRCLEQ_PREV>() تُرجع العنصر السابق في الطابور، أو I<&head> إذا كان هذا "
370 "العنصر هو الأول."
371
372 #. type: Plain text
373 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
374 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
375 msgid ""
376 "B<CIRCLEQ_NEXT>() returns the next item on the queue, or I<&head> if this "
377 "item is the last one."
378 msgstr ""
379 "B<CIRCLEQ_NEXT>() تُرجع العنصر التالي في الطابور، أو I<&head> إذا كان هذا "
380 "العنصر هو الأخير."
381
382 #. type: Plain text
383 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
384 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
385 msgid ""
386 "B<CIRCLEQ_LOOP_PREV>() returns the previous item on the queue. If I<elm> "
387 "is the first element on the queue, the last element is returned."
388 msgstr ""
389 "B<CIRCLEQ_LOOP_PREV>() تُرجع العنصر السابق في الطابور. إذا كان I<elm> هو "
390 "العنصر الأول في الطابور، يُرجع العنصر الأخير."
391
392 #. type: Plain text
393 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
394 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
395 msgid ""
396 "B<CIRCLEQ_LOOP_NEXT>() returns the next item on the queue. If I<elm> is "
397 "the last element on the queue, the first element is returned."
398 msgstr ""
399 "B<CIRCLEQ_LOOP_NEXT>() تُرجع العنصر التالي في الطابور. إذا كان I<elm> هو "
400 "العنصر الأخير في الطابور، يُرجع العنصر الأول."
401
402 #. type: Plain text
403 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
404 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
405 msgid ""
406 "B<CIRCLEQ_FOREACH>() traverses the queue referenced by I<head> in the "
407 "forward direction, assigning each element in turn to I<var>. I<var> is set "
408 "to I<&head> if the loop completes normally, or if there were no elements."
409 msgstr ""
410 "B<CIRCLEQ_FOREACH>() تجتاز الطابور المُشار إليه بـ I<head> في الاتجاه "
411 "الأمامي، مُسندةً كل عنصر بدوره إلى I<var>. يُضبط I<var> إلى I<&head> إذا "
412 "اكتملت الحلقة بشكل طبيعي، أو إذا لم تكن هناك عناصر."
413
414 #. type: Plain text
415 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
416 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
417 msgid ""
418 "B<CIRCLEQ_FOREACH_REVERSE>() traverses the queue referenced by I<head> in "
419 "the reverse direction, assigning each element in turn to I<var>."
420 msgstr ""
421 "B<CIRCLEQ_FOREACH_REVERSE>() تجتاز الطابور المُشار إليه بـ I<head> في "
422 "الاتجاه العكسي، مُسندةً كل عنصر بدوره إلى I<var>."
423
424 #. type: SS
425 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
426 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
427 #, no-wrap
428 msgid "Removal"
429 msgstr "إزالة"
430
431 #. type: Plain text
432 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
433 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
434 msgid "B<CIRCLEQ_REMOVE>() removes the element I<elm> from the queue."
435 msgstr "B<CIRCLEQ_REMOVE>() تُزيل العنصر I<elm> من الطابور."
436
437 #. type: SH
438 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
439 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
440 #, no-wrap
441 msgid "RETURN VALUE"
442 msgstr "قيمة الإرجاع"
443
444 #. type: Plain text
445 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
446 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
447 msgid ""
448 "B<CIRCLEQ_EMPTY>() returns nonzero if the queue is empty, and zero if the "
449 "queue contains at least one entry."
450 msgstr ""
451 "B<CIRCLEQ_EMPTY>() تُرجع قيمة غير صفرية إذا كان الطابور فارغًا، وصفرًا إذا كان "
452 "الطابور يحتوي على إدخال واحد على الأقل."
453
454 #. type: Plain text
455 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
456 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
457 msgid ""
458 "B<CIRCLEQ_FIRST>(), B<CIRCLEQ_LAST>(), B<CIRCLEQ_LOOP_PREV>(), and "
459 "B<CIRCLEQ_LOOP_NEXT>() return a pointer to the first, last, previous, or "
460 "next I<TYPE> structure, respectively."
461 msgstr ""
462 "B<CIRCLEQ_FIRST>()، B<CIRCLEQ_LAST>()، B<CIRCLEQ_LOOP_PREV>()، و "
463 "B<CIRCLEQ_LOOP_NEXT>() تُرجع مؤشرًا إلى بنية I<TYPE> الأولى أو الأخيرة أو "
464 "السابقة أو التالية، على التوالي."
465
466 #. type: Plain text
467 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
468 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
469 msgid ""
470 "B<CIRCLEQ_PREV>(), and B<CIRCLEQ_NEXT>() are similar to their "
471 "B<CIRCLEQ_LOOP_*>() counterparts, except that if the argument is the first "
472 "or last element, respectively, they return I<&head>."
473 msgstr ""
474 "B<CIRCLEQ_PREV>() و B<CIRCLEQ_NEXT>() مماثلتان لنظيرتيهما "
475 "B<CIRCLEQ_LOOP_*>()، باستثناء أنه إذا كانت الوسيطة هي العنصر الأول أو "
476 "الأخير، على التوالي، فإنهما تُرجعان I<&head>."
477
478 #. type: Plain text
479 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
480 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
481 msgid ""
482 "B<CIRCLEQ_HEAD_INITIALIZER>() returns an initializer that can be assigned "
483 "to the queue I<head>."
484 msgstr ""
485 "B<CIRCLEQ_HEAD_INITIALIZER>() تُرجع مُهيئًا يمكن إسناده إلى رأس الطابور "
486 "I<head>."
487
488 #. type: SH
489 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
490 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
491 #, no-wrap
492 msgid "STANDARDS"
493 msgstr "المعايير"
494
495 #. type: Plain text
496 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
497 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
498 msgid "BSD."
499 msgstr "BSD."
500
501 #. type: SH
502 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
503 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
504 #, no-wrap
505 msgid "BUGS"
506 msgstr "العلل"
507
508 #. type: Plain text
509 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
510 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
511 msgid ""
512 "B<CIRCLEQ_FOREACH>() and B<CIRCLEQ_FOREACH_REVERSE>() don't allow I<var> "
513 "to be removed or freed within the loop, as it would interfere with the "
514 "traversal. B<CIRCLEQ_FOREACH_SAFE>() and "
515 "B<CIRCLEQ_FOREACH_REVERSE_SAFE>(), which are present on the BSDs but are not "
516 "present in glibc, fix this limitation by allowing I<var> to safely be "
517 "removed from the list and freed from within the loop without interfering "
518 "with the traversal."
519 msgstr ""
520 "B<CIRCLEQ_FOREACH>() و B<CIRCLEQ_FOREACH_REVERSE>() لا تسمحان بإزالة I<var> "
521 "أو تحريره داخل الحلقة، لأن ذلك سيتداخل مع الاجتياز. "
522 "B<CIRCLEQ_FOREACH_SAFE>() و B<CIRCLEQ_FOREACH_REVERSE_SAFE>()، الموجودتان في "
523 "أنظمة BSD ولكن غير موجودتين في glibc، تُصلحان هذا القيد بالسماح بإزالة I<var> "
524 "بأمان من القائمة وتحريره من داخل الحلقة دون التداخل مع الاجتياز."
525
526 #. type: SH
527 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
528 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
529 #, no-wrap
530 msgid "EXAMPLES"
531 msgstr "أمثلة"
532
533 #. type: Plain text
534 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
535 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
536 #, no-wrap
537 msgid ""
538 "#include E<lt>stddef.hE<gt>\n"
539 "#include E<lt>stdio.hE<gt>\n"
540 "#include E<lt>stdlib.hE<gt>\n"
541 "#include E<lt>sys/queue.hE<gt>\n"
542 "\\&\n"
543 "struct entry {\n"
544 " int data;\n"
545 " CIRCLEQ_ENTRY(entry) entries; /* Queue */\n"
546 "};\n"
547 "\\&\n"
548 "CIRCLEQ_HEAD(circlehead, entry);\n"
549 "\\&\n"
550 "int\n"
551 "main(void)\n"
552 "{\n"
553 " struct entry *n1, *n2, *n3, *np;\n"
554 " struct circlehead head; /* Queue head */\n"
555 " int i;\n"
556 "\\&\n"
557 " CIRCLEQ_INIT(&head); /* Initialize the queue */\n"
558 "\\&\n"
559 " n1 = malloc(sizeof(struct entry)); /* Insert at the head */\n"
560 " CIRCLEQ_INSERT_HEAD(&head, n1, entries);\n"
561 "\\&\n"
562 " n1 = malloc(sizeof(struct entry)); /* Insert at the tail */\n"
563 " CIRCLEQ_INSERT_TAIL(&head, n1, entries);\n"
564 "\\&\n"
565 " n2 = malloc(sizeof(struct entry)); /* Insert after */\n"
566 " CIRCLEQ_INSERT_AFTER(&head, n1, n2, entries);\n"
567 "\\&\n"
568 " n3 = malloc(sizeof(struct entry)); /* Insert before */\n"
569 " CIRCLEQ_INSERT_BEFORE(&head, n2, n3, entries);\n"
570 "\\&\n"
571 " CIRCLEQ_REMOVE(&head, n2, entries); /* Deletion */\n"
572 " free(n2);\n"
573 " /* Forward traversal */\n"
574 " i = 0;\n"
575 " CIRCLEQ_FOREACH(np, &head, entries)\n"
576 " np-E<gt>data = i++;\n"
577 " /* Reverse traversal */\n"
578 " CIRCLEQ_FOREACH_REVERSE(np, &head, entries)\n"
579 " printf(\"%i\\[rs]n\", np-E<gt>data);\n"
580 " /* Queue deletion */\n"
581 " n1 = CIRCLEQ_FIRST(&head);\n"
582 " while (n1 != (void *)&head) {\n"
583 " n2 = CIRCLEQ_NEXT(n1, entries);\n"
584 " free(n1);\n"
585 " n1 = n2;\n"
586 " }\n"
587 " CIRCLEQ_INIT(&head);\n"
588 "\\&\n"
589 " exit(EXIT_SUCCESS);\n"
590 "}\n"
591 msgstr ""
592 "#include E<lt>stddef.hE<gt>\n"
593 "#include E<lt>stdio.hE<gt>\n"
594 "#include E<lt>stdlib.hE<gt>\n"
595 "#include E<lt>sys/queue.hE<gt>\n"
596 "\\&\n"
597 "struct entry {\n"
598 " int data;\n"
599 " CIRCLEQ_ENTRY(entry) entries; /* Queue */\n"
600 "};\n"
601 "\\&\n"
602 "CIRCLEQ_HEAD(circlehead, entry);\n"
603 "\\&\n"
604 "int\n"
605 "main(void)\n"
606 "{\n"
607 " struct entry *n1, *n2, *n3, *np;\n"
608 " struct circlehead head; /* Queue head */\n"
609 " int i;\n"
610 "\\&\n"
611 " CIRCLEQ_INIT(&head); /* Initialize the queue */\n"
612 "\\&\n"
613 " n1 = malloc(sizeof(struct entry)); /* Insert at the head */\n"
614 " CIRCLEQ_INSERT_HEAD(&head, n1, entries);\n"
615 "\\&\n"
616 " n1 = malloc(sizeof(struct entry)); /* Insert at the tail */\n"
617 " CIRCLEQ_INSERT_TAIL(&head, n1, entries);\n"
618 "\\&\n"
619 " n2 = malloc(sizeof(struct entry)); /* Insert after */\n"
620 " CIRCLEQ_INSERT_AFTER(&head, n1, n2, entries);\n"
621 "\\&\n"
622 " n3 = malloc(sizeof(struct entry)); /* Insert before */\n"
623 " CIRCLEQ_INSERT_BEFORE(&head, n2, n3, entries);\n"
624 "\\&\n"
625 " CIRCLEQ_REMOVE(&head, n2, entries); /* Deletion */\n"
626 " free(n2);\n"
627 " /* Forward traversal */\n"
628 " i = 0;\n"
629 " CIRCLEQ_FOREACH(np, &head, entries)\n"
630 " np-E<gt>data = i++;\n"
631 " /* Reverse traversal */\n"
632 " CIRCLEQ_FOREACH_REVERSE(np, &head, entries)\n"
633 " printf(\"%i\\[rs]n\", np-E<gt>data);\n"
634 " /* Queue deletion */\n"
635 " n1 = CIRCLEQ_FIRST(&head);\n"
636 " while (n1 != (void *)&head) {\n"
637 " n2 = CIRCLEQ_NEXT(n1, entries);\n"
638 " free(n1);\n"
639 " n1 = n2;\n"
640 " }\n"
641 " CIRCLEQ_INIT(&head);\n"
642 "\\&\n"
643 " exit(EXIT_SUCCESS);\n"
644 "}\n"
645
646 #. SRC END
647 #. type: SH
648 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
649 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
650 #, no-wrap
651 msgid "SEE ALSO"
652 msgstr "انظر أيضًا"
653
654 #. type: Plain text
655 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
656 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
657 msgid "B<insque>(3), B<queue>(7)"
658 msgstr "B<insque>(3)، B<queue>(7)"
659
660 #. type: TH
661 #: debian-trixie
662 #, no-wrap
663 msgid "2024-06-15"
664 msgstr "15 يونيو 2024"
665
666 #. type: TH
667 #: debian-trixie
668 #, no-wrap
669 msgid "Linux man-pages 6.9.1"
670 msgstr "صفحات دليل لينكس 6.9.1"
671
672 #. type: Plain text
673 #: debian-trixie
674 msgid "Standard C library (I<libc>, I<-lc>)"
675 msgstr "مكتبة سي المعيارية (I<libc>، I<-lc>)"
676
677 #. type: TH
678 #: fedora-44 fedora-rawhide
679 #, no-wrap
680 msgid "2024-07-23"
681 msgstr "23 يوليو 2024"
682
683 #. type: TH
684 #: fedora-44 fedora-rawhide
685 #, no-wrap
686 msgid "Linux man-pages 6.13"
687 msgstr "صفحات دليل لينكس 6.13"
688
689 #. type: TH
690 #: mageia-cauldron
691 #, no-wrap
692 msgid "Linux man-pages 6.17"
693 msgstr "صفحات دليل لينكس 6.17"
694
695 #. type: TH
696 #: opensuse-leap-16-1 opensuse-tumbleweed
697 #, no-wrap
698 msgid "Linux man-pages (unreleased)"
699 msgstr "صفحات دليل لينكس (لم تصدر بعد)"