Debian Codegraph @

po/ar/man3/CPU_SET.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:21+0200\n"
9 "PO-Revision-Date: 2026-05-31 18:59+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 "CPU_SET"
25 msgstr "CPU_SET"
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 ""
51 "CPU_SET, CPU_CLR, CPU_ISSET, CPU_ZERO, CPU_COUNT, CPU_AND, CPU_OR, CPU_XOR, "
52 "CPU_EQUAL, CPU_ALLOC, CPU_ALLOC_SIZE, CPU_FREE, CPU_SET_S, CPU_CLR_S, "
53 "CPU_ISSET_S, CPU_ZERO_S, CPU_COUNT_S, CPU_AND_S, CPU_OR_S, CPU_XOR_S, "
54 "CPU_EQUAL_S - macros for manipulating CPU sets"
55 msgstr ""
56 "CPU_SET, CPU_CLR, CPU_ISSET, CPU_ZERO, CPU_COUNT, CPU_AND, CPU_OR, CPU_XOR, "
57 "CPU_EQUAL, CPU_ALLOC, CPU_ALLOC_SIZE, CPU_FREE, CPU_SET_S, CPU_CLR_S, "
58 "CPU_ISSET_S, CPU_ZERO_S, CPU_COUNT_S, CPU_AND_S, CPU_OR_S, CPU_XOR_S, "
59 "CPU_EQUAL_S - كليّات لمعالجة مجموعات CPU"
60
61 #. type: SH
62 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
63 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
64 #, no-wrap
65 msgid "LIBRARY"
66 msgstr "المكتبة"
67
68 #. type: Plain text
69 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
70 #: opensuse-leap-16-1 opensuse-tumbleweed
71 msgid "Standard C library (I<libc>,\\ I<-lc>)"
72 msgstr "مكتبة سي المعيارية (I<libc>،\\ I<-lc>)"
73
74 #. type: SH
75 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
76 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
77 #, no-wrap
78 msgid "SYNOPSIS"
79 msgstr "موجز"
80
81 #. type: Plain text
82 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
83 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
84 #, no-wrap
85 msgid ""
86 "B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n"
87 "B<#include E<lt>sched.hE<gt>>\n"
88 msgstr ""
89 "B<#define _GNU_SOURCE> /* انظر feature_test_macros(7) */\n"
90 "B<#include E<lt>sched.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<void CPU_ZERO(cpu_set_t *>I<set>B<);>\n"
97 msgstr "B<void CPU_ZERO(cpu_set_t *>I<set>B<);>\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<void CPU_SET(int >I<cpu>B<, cpu_set_t *>I<set>B<);>\n"
105 "B<void CPU_CLR(int >I<cpu>B<, cpu_set_t *>I<set>B<);>\n"
106 "B<int CPU_ISSET(int >I<cpu>B<, cpu_set_t *>I<set>B<);>\n"
107 msgstr ""
108 "B<void CPU_SET(int >I<cpu>B<, cpu_set_t *>I<set>B<);>\n"
109 "B<void CPU_CLR(int >I<cpu>B<, cpu_set_t *>I<set>B<);>\n"
110 "B<int CPU_ISSET(int >I<cpu>B<, cpu_set_t *>I<set>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 CPU_COUNT(cpu_set_t *>I<set>B<);>\n"
117 msgstr "B<int CPU_COUNT(cpu_set_t *>I<set>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 CPU_AND(cpu_set_t *>I<destset>B<,>\n"
125 "B< cpu_set_t *>I<srcset1>B<, cpu_set_t *>I<srcset2>B<);>\n"
126 "B<void CPU_OR(cpu_set_t *>I<destset>B<,>\n"
127 "B< cpu_set_t *>I<srcset1>B<, cpu_set_t *>I<srcset2>B<);>\n"
128 "B<void CPU_XOR(cpu_set_t *>I<destset>B<,>\n"
129 "B< cpu_set_t *>I<srcset1>B<, cpu_set_t *>I<srcset2>B<);>\n"
130 msgstr ""
131 "B<void CPU_AND(cpu_set_t *>I<destset>B<,>\n"
132 "B< cpu_set_t *>I<srcset1>B<, cpu_set_t *>I<srcset2>B<);>\n"
133 "B<void CPU_OR(cpu_set_t *>I<destset>B<,>\n"
134 "B< cpu_set_t *>I<srcset1>B<, cpu_set_t *>I<srcset2>B<);>\n"
135 "B<void CPU_XOR(cpu_set_t *>I<destset>B<,>\n"
136 "B< cpu_set_t *>I<srcset1>B<, cpu_set_t *>I<srcset2>B<);>\n"
137
138 #. type: Plain text
139 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
140 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
141 #, no-wrap
142 msgid "B<int CPU_EQUAL(cpu_set_t *>I<set1>B<, cpu_set_t *>I<set2>B<);>\n"
143 msgstr "B<int CPU_EQUAL(cpu_set_t *>I<set1>B<, cpu_set_t *>I<set2>B<);>\n"
144
145 #. type: Plain text
146 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
147 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
148 #, no-wrap
149 msgid ""
150 "B<cpu_set_t *CPU_ALLOC(int >I<num_cpus>B<);>\n"
151 "B<void CPU_FREE(cpu_set_t *>I<set>B<);>\n"
152 "B<size_t CPU_ALLOC_SIZE(int >I<num_cpus>B<);>\n"
153 msgstr ""
154 "B<cpu_set_t *CPU_ALLOC(int >I<num_cpus>B<);>\n"
155 "B<void CPU_FREE(cpu_set_t *>I<set>B<);>\n"
156 "B<size_t CPU_ALLOC_SIZE(int >I<num_cpus>B<);>\n"
157
158 #. type: Plain text
159 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
160 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
161 #, no-wrap
162 msgid "B<void CPU_ZERO_S(size_t >I<setsize>B<, cpu_set_t *>I<set>B<);>\n"
163 msgstr "B<void CPU_ZERO_S(size_t >I<setsize>B<, cpu_set_t *>I<set>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<void CPU_SET_S(int >I<cpu>B<, size_t >I<setsize>B<, cpu_set_t *>I<set>B<);>\n"
171 "B<void CPU_CLR_S(int >I<cpu>B<, size_t >I<setsize>B<, cpu_set_t *>I<set>B<);>\n"
172 "B<int CPU_ISSET_S(int >I<cpu>B<, size_t >I<setsize>B<, cpu_set_t *>I<set>B<);>\n"
173 msgstr ""
174 "B<void CPU_SET_S(int >I<cpu>B<, size_t >I<setsize>B<, cpu_set_t *>I<set>B<);>\n"
175 "B<void CPU_CLR_S(int >I<cpu>B<, size_t >I<setsize>B<, cpu_set_t *>I<set>B<);>\n"
176 "B<int CPU_ISSET_S(int >I<cpu>B<, size_t >I<setsize>B<, cpu_set_t *>I<set>B<);>\n"
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 #, no-wrap
182 msgid "B<int CPU_COUNT_S(size_t >I<setsize>B<, cpu_set_t *>I<set>B<);>\n"
183 msgstr "B<int CPU_COUNT_S(size_t >I<setsize>B<, cpu_set_t *>I<set>B<);>\n"
184
185 #. type: Plain text
186 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
187 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
188 #, no-wrap
189 msgid ""
190 "B<void CPU_AND_S(size_t >I<setsize>B<, cpu_set_t *>I<destset>B<,>\n"
191 "B< cpu_set_t *>I<srcset1>B<, cpu_set_t *>I<srcset2>B<);>\n"
192 "B<void CPU_OR_S(size_t >I<setsize>B<, cpu_set_t *>I<destset>B<,>\n"
193 "B< cpu_set_t *>I<srcset1>B<, cpu_set_t *>I<srcset2>B<);>\n"
194 "B<void CPU_XOR_S(size_t >I<setsize>B<, cpu_set_t *>I<destset>B<,>\n"
195 "B< cpu_set_t *>I<srcset1>B<, cpu_set_t *>I<srcset2>B<);>\n"
196 msgstr ""
197 "B<void CPU_AND_S(size_t >I<setsize>B<, cpu_set_t *>I<destset>B<,>\n"
198 "B< cpu_set_t *>I<srcset1>B<, cpu_set_t *>I<srcset2>B<);>\n"
199 "B<void CPU_OR_S(size_t >I<setsize>B<, cpu_set_t *>I<destset>B<,>\n"
200 "B< cpu_set_t *>I<srcset1>B<, cpu_set_t *>I<srcset2>B<);>\n"
201 "B<void CPU_XOR_S(size_t >I<setsize>B<, cpu_set_t *>I<destset>B<,>\n"
202 "B< cpu_set_t *>I<srcset1>B<, cpu_set_t *>I<srcset2>B<);>\n"
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 #, no-wrap
208 msgid "B<int CPU_EQUAL_S(size_t >I<setsize>B<, cpu_set_t *>I<set1>B<, cpu_set_t *>I<set2>B<);>\n"
209 msgstr "B<int CPU_EQUAL_S(size_t >I<setsize>B<, cpu_set_t *>I<set1>B<, cpu_set_t *>I<set2>B<);>\n"
210
211 #. type: SH
212 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
213 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
214 #, no-wrap
215 msgid "DESCRIPTION"
216 msgstr "الوصف"
217
218 #. type: Plain text
219 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
220 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
221 msgid ""
222 "The I<cpu_set_t> data structure represents a set of CPUs. CPU sets are used "
223 "by B<sched_setaffinity>(2) and similar interfaces."
224 msgstr ""
225 "بنية البيانات I<cpu_set_t> تمثل مجموعة من وحدات CPU. تُستخدم مجموعات CPU "
226 "بواسطة B<sched_setaffinity>(2) وواجهات مشابهة."
227
228 #. type: Plain text
229 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
230 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
231 msgid ""
232 "The I<cpu_set_t> data type is implemented as a bit mask. However, the data "
233 "structure should be treated as opaque: all manipulation of CPU sets should "
234 "be done via the macros described in this page."
235 msgstr ""
236 "نوع البيانات I<cpu_set_t> مطبق كقناع بت. ومع ذلك، يجب معاملة بنية البيانات "
237 "كمعتمة: يجب إجراء جميع معالجات مجموعات CPU عبر الكليّات الموصوفة في هذه "
238 "الصفحة."
239
240 #. type: Plain text
241 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
242 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
243 msgid "The following macros are provided to operate on the CPU set I<set>:"
244 msgstr "الكليّات التالية موفرة للعمل على مجموعة CPU I<set>:"
245
246 #. type: TP
247 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
248 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
249 #, no-wrap
250 msgid "B<CPU_ZERO>()"
251 msgstr "B<CPU_ZERO>()"
252
253 #. type: Plain text
254 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
255 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
256 msgid "Clears I<set>, so that it contains no CPUs."
257 msgstr "يمسح I<set>، بحيث لا يحتوي على أي وحدات CPU."
258
259 #. type: TP
260 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
261 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
262 #, no-wrap
263 msgid "B<CPU_SET>()"
264 msgstr "B<CPU_SET>()"
265
266 #. type: Plain text
267 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
268 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
269 msgid "Add CPU I<cpu> to I<set>."
270 msgstr "يضيف CPU I<cpu> إلى I<set>."
271
272 #. type: TP
273 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
274 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
275 #, no-wrap
276 msgid "B<CPU_CLR>()"
277 msgstr "B<CPU_CLR>()"
278
279 #. type: Plain text
280 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
281 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
282 msgid "Remove CPU I<cpu> from I<set>."
283 msgstr "أزل المعالج I<cpu> من I<set>."
284
285 #. type: TP
286 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
287 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
288 #, no-wrap
289 msgid "B<CPU_ISSET>()"
290 msgstr "B<CPU_ISSET>()"
291
292 #. type: Plain text
293 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
294 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
295 msgid "Test to see if CPU I<cpu> is a member of I<set>."
296 msgstr "اختبر لترى إذا كان المعالج I<cpu> عضوًا في I<set>."
297
298 #. type: TP
299 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
300 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
301 #, no-wrap
302 msgid "B<CPU_COUNT>()"
303 msgstr "B<CPU_COUNT>()"
304
305 #. type: Plain text
306 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
307 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
308 msgid "Return the number of CPUs in I<set>."
309 msgstr "أرجع عدد المعالجات في I<set>."
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 "Where a I<cpu> argument is specified, it should not produce side effects, "
316 "since the above macros may evaluate the argument more than once."
317 msgstr ""
318 "حيثما حُددت وسيطة I<cpu>، يجب ألا تُنتج آثارًا جانبية، لأن الدوال الكلية أعلاه "
319 "قد تُقيّم الوسيطة أكثر من مرة."
320
321 #. type: Plain text
322 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
323 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
324 msgid ""
325 "The first CPU on the system corresponds to a I<cpu> value of 0, the next CPU "
326 "corresponds to a I<cpu> value of 1, and so on. No assumptions should be "
327 "made about particular CPUs being available, or the set of CPUs being "
328 "contiguous, since CPUs can be taken offline dynamically or be otherwise "
329 "absent. The constant B<CPU_SETSIZE> (currently 1024) specifies a value one "
330 "greater than the maximum CPU number that can be stored in I<cpu_set_t>."
331 msgstr ""
332 "المعالج الأول في النظام يُقابل قيمة I<cpu> تساوي 0، والمعالج التالي يُقابل "
333 "قيمة I<cpu> تساوي 1، وهكذا. لا ينبغي افتراض توفر معالجات معينة، أو أن مجموعة "
334 "المعالجات متصلة، لأن المعالجات قد تُؤخذ دون اتصال ديناميكيًا أو تكون غائبة "
335 "بخلاف ذلك. الثابت B<CPU_SETSIZE> (حاليًا 1024) يُحدد قيمة أكبر بواحد من أقصى "
336 "رقم معالج يمكن تخزينه في I<cpu_set_t>."
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 "The following macros perform logical operations on CPU sets:"
342 msgstr "الدوال الكلية التالية تُنفذ عمليات منطقية على مجموعات المعالجات:"
343
344 #. type: TP
345 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
346 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
347 #, no-wrap
348 msgid "B<CPU_AND>()"
349 msgstr "B<CPU_AND>()"
350
351 #. type: Plain text
352 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
353 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
354 msgid ""
355 "Store the intersection of the sets I<srcset1> and I<srcset2> in I<destset> "
356 "(which may be one of the source sets)."
357 msgstr ""
358 "خزّن تقاطع المجموعتين I<srcset1> و I<srcset2> في I<destset> (قد تكون إحدى "
359 "المجموعتين المصدر)."
360
361 #. type: TP
362 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
363 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
364 #, no-wrap
365 msgid "B<CPU_OR>()"
366 msgstr "B<CPU_OR>()"
367
368 #. type: Plain text
369 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
370 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
371 msgid ""
372 "Store the union of the sets I<srcset1> and I<srcset2> in I<destset> (which "
373 "may be one of the source sets)."
374 msgstr ""
375 "خزّن اتحاد المجموعتين I<srcset1> و I<srcset2> في I<destset> (قد تكون إحدى "
376 "المجموعتين المصدر)."
377
378 #. type: TP
379 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
380 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
381 #, no-wrap
382 msgid "B<CPU_XOR>()"
383 msgstr "B<CPU_XOR>()"
384
385 #. type: Plain text
386 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
387 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
388 msgid ""
389 "Store the XOR of the sets I<srcset1> and I<srcset2> in I<destset> (which may "
390 "be one of the source sets). The XOR means the set of CPUs that are in "
391 "either I<srcset1> or I<srcset2>, but not both."
392 msgstr ""
393 "خزّن XOR للمجموعتين I<srcset1> و I<srcset2> في I<destset> (قد تكون إحدى "
394 "المجموعتين المصدر). XOR تعني مجموعة المعالجات الموجودة إما في I<srcset1> أو "
395 "I<srcset2>، ولكن ليس في كليهما."
396
397 #. type: TP
398 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
399 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
400 #, no-wrap
401 msgid "B<CPU_EQUAL>()"
402 msgstr "B<CPU_EQUAL>()"
403
404 #. type: Plain text
405 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
406 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
407 msgid "Test whether two CPU set contain exactly the same CPUs."
408 msgstr "اختبر إذا كانت مجموعتا معالجات تحتويان على نفس المعالجات تمامًا."
409
410 #. type: SS
411 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
412 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
413 #, no-wrap
414 msgid "Dynamically sized CPU sets"
415 msgstr "مجموعات معالجات ذات حجم ديناميكي"
416
417 #. type: Plain text
418 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
419 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
420 msgid ""
421 "Because some applications may require the ability to dynamically size CPU "
422 "sets (e.g., to allocate sets larger than that defined by the standard "
423 "I<cpu_set_t> data type), glibc nowadays provides a set of macros to support "
424 "this."
425 msgstr ""
426 "لأن بعض التطبيقات قد تتطلب القدرة على تغيير حجم مجموعات المعالجات ديناميكيًا "
427 "(مثلًا، لتخصيص مجموعات أكبر من تلك المعرفة بنوع البيانات القياسي "
428 "I<cpu_set_t>)، يوفر glibc حاليًا مجموعة من الدوال الكلية لدعم هذا."
429
430 #. type: Plain text
431 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
432 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
433 msgid "The following macros are used to allocate and deallocate CPU sets:"
434 msgstr "الدوال الكلية التالية تُستخدم لتخصيص وإلغاء تخصيص مجموعات المعالجات:"
435
436 #. type: TP
437 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
438 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
439 #, no-wrap
440 msgid "B<CPU_ALLOC>()"
441 msgstr "B<CPU_ALLOC>()"
442
443 #. type: Plain text
444 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
445 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
446 msgid ""
447 "Allocate a CPU set large enough to hold CPUs in the range 0 to I<num_cpus-1>."
448 msgstr ""
449 "يخصص مجموعة معالجات كبيرة كافية لاحتواء معالجات في النطاق 0 إلى "
450 "I<num_cpus-1>."
451
452 #. type: TP
453 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
454 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
455 #, no-wrap
456 msgid "B<CPU_ALLOC_SIZE>()"
457 msgstr "B<CPU_ALLOC_SIZE>()"
458
459 #. type: Plain text
460 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
461 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
462 msgid ""
463 "Return the size in bytes of the CPU set that would be needed to hold CPUs in "
464 "the range 0 to I<num_cpus-1>. This macro provides the value that can be "
465 "used for the I<setsize> argument in the B<CPU_*_S>() macros described below."
466 msgstr ""
467 "ترجع الحجم بالبايت لمجموعة المعالجات اللازمة لاحتواء معالجات في النطاق 0 إلى "
468 "I<num_cpus-1>. توفر هذه الكلية القيمة التي يمكن استخدامها للوسيط I<setsize> "
469 "في كليات B<CPU_*_S>() الموصوفة أدناه."
470
471 #. type: TP
472 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
473 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
474 #, no-wrap
475 msgid "B<CPU_FREE>()"
476 msgstr "B<CPU_FREE>()"
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 "Free a CPU set previously allocated by B<CPU_ALLOC>()."
482 msgstr "تحرر مجموعة معالجات خصصت سابقًا بواسطة B<CPU_ALLOC>()."
483
484 #. type: Plain text
485 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
486 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
487 msgid ""
488 "The macros whose names end with \"_S\" are the analogs of the similarly "
489 "named macros without the suffix. These macros perform the same tasks as "
490 "their analogs, but operate on the dynamically allocated CPU set(s) whose "
491 "size is I<setsize> bytes."
492 msgstr ""
493 "الكليات التي تنتهي أسماؤها بـ \"_S\" هي نظائر الكليات المماثلة في الاسم دون "
494 "اللاحقة. تؤدي هذه الكليات نفس المهام التي تؤديها نظائرها، لكنها تعمل على "
495 "مجموعة (مجموعات) المعالجات المخصصة ديناميكيًا التي يكون حجمها I<setsize> بايت."
496
497 #. type: SH
498 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
499 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
500 #, no-wrap
501 msgid "RETURN VALUE"
502 msgstr "قيمة الإرجاع"
503
504 #. type: Plain text
505 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
506 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
507 msgid ""
508 "B<CPU_ISSET>() and B<CPU_ISSET_S>() return nonzero if I<cpu> is in I<set>; "
509 "otherwise, it returns 0."
510 msgstr ""
511 "ترجع B<CPU_ISSET>() و B<CPU_ISSET_S>() قيمة غير صفرية إذا كان I<cpu> في "
512 "I<set>؛ وإلا، ترجع 0."
513
514 #. type: Plain text
515 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
516 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
517 msgid ""
518 "B<CPU_COUNT>() and B<CPU_COUNT_S>() return the number of CPUs in I<set>."
519 msgstr "ترجع B<CPU_COUNT>() و B<CPU_COUNT_S>() عدد المعالجات في I<set>."
520
521 #. type: Plain text
522 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
523 #: opensuse-tumbleweed
524 msgid ""
525 "B<CPU_EQUAL>() and B<CPU_EQUAL_S>() return nonzero if the two CPU sets are "
526 "equal; otherwise, they return 0."
527 msgstr ""
528 "ترجع B<CPU_EQUAL>() و B<CPU_EQUAL_S>() قيمة غير صفرية إذا كانت مجموعتي "
529 "المعالجات متساويتين؛ وإلا، ترجعان 0."
530
531 #. type: Plain text
532 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
533 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
534 msgid ""
535 "B<CPU_ALLOC>() returns a pointer on success, or NULL on failure. (Errors "
536 "are as for B<malloc>(3).)"
537 msgstr ""
538 "ترجع B<CPU_ALLOC>() مؤشرًا عند النجاح، أو NULL عند الفشل. (الأخطاء مماثلة "
539 "لتلك الخاصة بـ B<malloc>(3).)"
540
541 #. type: Plain text
542 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
543 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
544 msgid ""
545 "B<CPU_ALLOC_SIZE>() returns the number of bytes required to store a CPU set "
546 "of the specified cardinality."
547 msgstr ""
548 "ترجع B<CPU_ALLOC_SIZE>() عدد البايتات المطلوبة لتخزين مجموعة معالجات ذات "
549 "العددية المحددة."
550
551 #. type: Plain text
552 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
553 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
554 msgid "The other functions do not return a value."
555 msgstr "الدوال الأخرى لا ترجع قيمة."
556
557 #. type: SH
558 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
559 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
560 #, no-wrap
561 msgid "STANDARDS"
562 msgstr "المعايير"
563
564 #. type: Plain text
565 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
566 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
567 msgid "Linux."
568 msgstr "لينكس."
569
570 #. type: SH
571 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
572 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
573 #, no-wrap
574 msgid "HISTORY"
575 msgstr "التاريخ"
576
577 #. type: Plain text
578 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
579 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
580 msgid ""
581 "The B<CPU_ZERO>(), B<CPU_SET>(), B<CPU_CLR>(), and B<CPU_ISSET>() macros "
582 "were added in glibc 2.3.3."
583 msgstr ""
584 "أضيفت كليات B<CPU_ZERO>() و B<CPU_SET>() و B<CPU_CLR>() و B<CPU_ISSET>() في "
585 "glibc 2.3.3."
586
587 #. type: Plain text
588 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
589 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
590 msgid "B<CPU_COUNT>() first appeared in glibc 2.6."
591 msgstr "ظهرت B<CPU_COUNT>() لأول مرة في glibc 2.6."
592
593 #. type: Plain text
594 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
595 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
596 msgid ""
597 "B<CPU_AND>(), B<CPU_OR>(), B<CPU_XOR>(), B<CPU_EQUAL>(), B<CPU_ALLOC>(), "
598 "B<CPU_ALLOC_SIZE>(), B<CPU_FREE>(), B<CPU_ZERO_S>(), B<CPU_SET_S>(), "
599 "B<CPU_CLR_S>(), B<CPU_ISSET_S>(), B<CPU_AND_S>(), B<CPU_OR_S>(), "
600 "B<CPU_XOR_S>(), and B<CPU_EQUAL_S>() first appeared in glibc 2.7."
601 msgstr ""
602 "ظهرت B<CPU_AND>() و B<CPU_OR>() و B<CPU_XOR>() و B<CPU_EQUAL>() و "
603 "B<CPU_ALLOC>() و B<CPU_ALLOC_SIZE>() و B<CPU_FREE>() و B<CPU_ZERO_S>() و "
604 "B<CPU_SET_S>() و B<CPU_CLR_S>() و B<CPU_ISSET_S>() و B<CPU_AND_S>() و "
605 "B<CPU_OR_S>() و B<CPU_XOR_S>() و B<CPU_EQUAL_S>() لأول مرة في glibc 2.7."
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 "NOTES"
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 "To duplicate a CPU set, use B<memcpy>(3)."
618 msgstr "لتكرار مجموعة معالجات، استخدم B<memcpy>(3)."
619
620 #. type: Plain text
621 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
622 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
623 msgid ""
624 "Since CPU sets are bit masks allocated in units of long words, the actual "
625 "number of CPUs in a dynamically allocated CPU set will be rounded up to the "
626 "next multiple of I<sizeof(unsigned long)>. An application should consider "
627 "the contents of these extra bits to be undefined."
628 msgstr ""
629 "بما أن مجموعات المعالجات هي أقنعة بتات مخصصة بوحدات كلمات طويلة، فإن العدد "
630 "الفعلي للمعالجات في مجموعة معالجات مخصصة ديناميكيًا يُقرّب إلى أعلى مضاعف تالي "
631 "لـ I<sizeof(unsigned long)>. يجب على التطبيق اعتبار محتويات هذه البتات "
632 "الإضافية غير معرفة."
633
634 #. type: Plain text
635 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
636 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
637 msgid ""
638 "Notwithstanding the similarity in the names, note that the constant "
639 "B<CPU_SETSIZE> indicates the number of CPUs in the I<cpu_set_t> data type "
640 "(thus, it is effectively a count of the bits in the bit mask), while the "
641 "I<setsize> argument of the B<CPU_*_S>() macros is a size in bytes."
642 msgstr ""
643 "على الرغم من التشابه في الأسماء، لاحظ أن الثابت B<CPU_SETSIZE> يشير إلى عدد "
644 "المعالجات في نوع البيانات I<cpu_set_t> (وبالتالي، هو عمليًا عدد البتات في "
645 "قناع البت)، بينما وسيط I<setsize> لكليات B<CPU_*_S>() هو حجم بالبايت."
646
647 #. type: Plain text
648 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
649 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
650 msgid ""
651 "The data types for arguments and return values shown in the SYNOPSIS are "
652 "hints what about is expected in each case. However, since these interfaces "
653 "are implemented as macros, the compiler won't necessarily catch all type "
654 "errors if you violate the suggestions."
655 msgstr ""
656 "أنواع البيانات للوسائط والقيم المرجعة الموضحة في الملخص هي تلميحات حول ما هو "
657 "متوقع في كل حالة. ومع ذلك، بما أن هذه الواجهات نُفذت ككليات، فإن المترجم لن "
658 "يلتقط بالضرورة جميع أخطاء النوع إذا خالفت الاقتراحات."
659
660 #. type: SH
661 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
662 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
663 #, no-wrap
664 msgid "BUGS"
665 msgstr "العلل"
666
667 #. http://sourceware.org/bugzilla/show_bug.cgi?id=7029
668 #. type: Plain text
669 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
670 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
671 msgid ""
672 "On 32-bit platforms with glibc 2.8 and earlier, B<CPU_ALLOC>() allocates "
673 "twice as much space as is required, and B<CPU_ALLOC_SIZE>() returns a value "
674 "twice as large as it should. This bug should not affect the semantics of a "
675 "program, but does result in wasted memory and less efficient operation of "
676 "the macros that operate on dynamically allocated CPU sets. These bugs are "
677 "fixed in glibc 2.9."
678 msgstr ""
679 "على منصات 32-بت مع glibc 2.8 والإصدارات الأقدم، تخصص B<CPU_ALLOC>() ضعف "
680 "المساحة المطلوبة، وترجع B<CPU_ALLOC_SIZE>() قيمة أكبر بمرتين مما ينبغي. لا "
681 "ينبغي أن يؤثر هذا الخلل على دلالات البرنامج، لكنه يؤدي إلى هدر الذاكرة "
682 "وتشغيل أقل كفاءة للكليات التي تعمل على مجموعات المعالجات المخصصة ديناميكيًا. "
683 "أُصلحت هذه الأخطاء في glibc 2.9."
684
685 #. type: SH
686 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
687 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
688 #, no-wrap
689 msgid "EXAMPLES"
690 msgstr "أمثلة"
691
692 #. type: Plain text
693 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
694 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
695 msgid ""
696 "The following program demonstrates the use of some of the macros used for "
697 "dynamically allocated CPU sets."
698 msgstr ""
699 "يوضح البرنامج التالي استخدام بعض الكليات المستخدمة لمجموعات المعالجات "
700 "المخصصة ديناميكيًا."
701
702 #. type: Plain text
703 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
704 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
705 #, no-wrap
706 msgid ""
707 "#define _GNU_SOURCE\n"
708 "#include E<lt>sched.hE<gt>\n"
709 "#include E<lt>stdio.hE<gt>\n"
710 "#include E<lt>stdlib.hE<gt>\n"
711 "#include E<lt>unistd.hE<gt>\n"
712 "\\&\n"
713 "#include E<lt>assert.hE<gt>\n"
714 "\\&\n"
715 "int\n"
716 "main(int argc, char *argv[])\n"
717 "{\n"
718 " cpu_set_t *cpusetp;\n"
719 " size_t size, num_cpus;\n"
720 "\\&\n"
721 " if (argc E<lt> 2) {\n"
722 " fprintf(stderr, \"Usage: %s E<lt>num-cpusE<gt>\\[rs]n\", argv[0]);\n"
723 " exit(EXIT_FAILURE);\n"
724 " }\n"
725 "\\&\n"
726 " num_cpus = atoi(argv[1]);\n"
727 "\\&\n"
728 " cpusetp = CPU_ALLOC(num_cpus);\n"
729 " if (cpusetp == NULL) {\n"
730 " perror(\"CPU_ALLOC\");\n"
731 " exit(EXIT_FAILURE);\n"
732 " }\n"
733 "\\&\n"
734 " size = CPU_ALLOC_SIZE(num_cpus);\n"
735 "\\&\n"
736 " CPU_ZERO_S(size, cpusetp);\n"
737 " for (size_t cpu = 0; cpu E<lt> num_cpus; cpu += 2)\n"
738 " CPU_SET_S(cpu, size, cpusetp);\n"
739 "\\&\n"
740 " printf(\"CPU_COUNT() of set: %d\\[rs]n\", CPU_COUNT_S(size, cpusetp));\n"
741 "\\&\n"
742 " CPU_FREE(cpusetp);\n"
743 " exit(EXIT_SUCCESS);\n"
744 "}\n"
745 msgstr ""
746 "#define _GNU_SOURCE\n"
747 "#include E<lt>sched.hE<gt>\n"
748 "#include E<lt>stdio.hE<gt>\n"
749 "#include E<lt>stdlib.hE<gt>\n"
750 "#include E<lt>unistd.hE<gt>\n"
751 "\\&\n"
752 "#include E<lt>assert.hE<gt>\n"
753 "\\&\n"
754 "int\n"
755 "main(int argc, char *argv[])\n"
756 "{\n"
757 " cpu_set_t *cpusetp;\n"
758 " size_t size, num_cpus;\n"
759 "\\&\n"
760 " if (argc E<lt> 2) {\n"
761 " fprintf(stderr, \"Usage: %s E<lt>num-cpusE<gt>\\[rs]n\", argv[0]);\n"
762 " exit(EXIT_FAILURE);\n"
763 " }\n"
764 "\\&\n"
765 " num_cpus = atoi(argv[1]);\n"
766 "\\&\n"
767 " cpusetp = CPU_ALLOC(num_cpus);\n"
768 " if (cpusetp == NULL) {\n"
769 " perror(\"CPU_ALLOC\");\n"
770 " exit(EXIT_FAILURE);\n"
771 " }\n"
772 "\\&\n"
773 " size = CPU_ALLOC_SIZE(num_cpus);\n"
774 "\\&\n"
775 " CPU_ZERO_S(size, cpusetp);\n"
776 " for (size_t cpu = 0; cpu E<lt> num_cpus; cpu += 2)\n"
777 " CPU_SET_S(cpu, size, cpusetp);\n"
778 "\\&\n"
779 " printf(\"CPU_COUNT() of set: %d\\[rs]n\", CPU_COUNT_S(size, cpusetp));\n"
780 "\\&\n"
781 " CPU_FREE(cpusetp);\n"
782 " exit(EXIT_SUCCESS);\n"
783 "}\n"
784
785 #. SRC END
786 #. type: SH
787 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
788 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
789 #, no-wrap
790 msgid "SEE ALSO"
791 msgstr "انظر أيضًا"
792
793 #. type: Plain text
794 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
795 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
796 msgid ""
797 "B<sched_setaffinity>(2), B<pthread_attr_setaffinity_np>(3), "
798 "B<pthread_setaffinity_np>(3), B<cpuset>(7)"
799 msgstr ""
800 "B<sched_setaffinity>(2)، B<pthread_attr_setaffinity_np>(3)، "
801 "B<pthread_setaffinity_np>(3)، B<cpuset>(7)"
802
803 #. type: TH
804 #: debian-trixie
805 #, no-wrap
806 msgid "2024-06-15"
807 msgstr "15 يونيو 2024"
808
809 #. type: TH
810 #: debian-trixie
811 #, no-wrap
812 msgid "Linux man-pages 6.9.1"
813 msgstr "صفحات دليل لينكس 6.9.1"
814
815 #. type: Plain text
816 #: debian-trixie
817 msgid "Standard C library (I<libc>, I<-lc>)"
818 msgstr "مكتبة سي المعيارية (I<libc>، I<-lc>)"
819
820 #. type: Plain text
821 #: debian-trixie fedora-44 fedora-rawhide
822 msgid ""
823 "B<CPU_EQUAL>() and B<CPU_EQUAL_S>() return nonzero if the two CPU sets are "
824 "equal; otherwise they return 0."
825 msgstr ""
826 "تُرجع B<CPU_EQUAL>() و B<CPU_EQUAL_S>() قيمة غير صفرية إذا كانت مجموعتا "
827 "المعالجات متساويتين؛ وإلا تُرجعان 0."
828
829 #. type: TH
830 #: fedora-44 fedora-rawhide
831 #, no-wrap
832 msgid "2024-07-23"
833 msgstr "23 يوليو 2024"
834
835 #. type: TH
836 #: fedora-44 fedora-rawhide
837 #, no-wrap
838 msgid "Linux man-pages 6.13"
839 msgstr "صفحات دليل لينكس 6.13"
840
841 #. type: TH
842 #: mageia-cauldron
843 #, no-wrap
844 msgid "Linux man-pages 6.17"
845 msgstr "صفحات دليل لينكس 6.17"
846
847 #. type: TH
848 #: opensuse-leap-16-1 opensuse-tumbleweed
849 #, no-wrap
850 msgid "Linux man-pages (unreleased)"
851 msgstr "صفحات دليل لينكس (لم تصدر بعد)"