Debian Codegraph @

po/ar/man2/epoll_wait.2.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\n"
8 "POT-Creation-Date: 2026-06-05 06:23+0200\n"
9 "PO-Revision-Date: 2026-05-20 21:08+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 "epoll_wait"
25 msgstr "epoll_wait"
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 "epoll_wait, epoll_pwait, epoll_pwait2 - wait for an I/O event on an epoll "
52 "file descriptor"
53 msgstr ""
54 "epoll_wait, epoll_pwait, epoll_pwait2 - انتظار حدث إدخال/إخراج على واصف ملف "
55 "epoll"
56
57 #. type: SH
58 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
59 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
60 #, no-wrap
61 msgid "LIBRARY"
62 msgstr "المكتبة"
63
64 #. type: Plain text
65 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
66 #: opensuse-leap-16-1 opensuse-tumbleweed
67 msgid "Standard C library (I<libc>,\\ I<-lc>)"
68 msgstr "مكتبة سي المعيارية (I<libc>،\\ I<-lc>)"
69
70 #. type: SH
71 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
72 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
73 #, no-wrap
74 msgid "SYNOPSIS"
75 msgstr "موجز"
76
77 #. type: Plain text
78 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
79 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
80 #, no-wrap
81 msgid "B<#include E<lt>sys/epoll.hE<gt>>\n"
82 msgstr "B<#include E<lt>sys/epoll.hE<gt>>\n"
83
84 #. type: Plain text
85 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
86 #: opensuse-tumbleweed
87 #, no-wrap
88 msgid ""
89 "B<int epoll_wait(>int n;\n"
90 "B< int >I<epfd>B<, struct epoll_event >I<events>B<[>I<n>B<], int >I<n>B<,>\n"
91 "B< int >I<timeout>B<);>\n"
92 "B<int epoll_pwait(>int n;\n"
93 "B< int >I<epfd>B<, struct epoll_event >I<events>B<[>I<n>B<], int >I<n>B<,>\n"
94 "B< int >I<timeout>B<,>\n"
95 "B< const sigset_t *_Nullable >I<sigmask>B<);>\n"
96 "B<int epoll_pwait2(>int n;\n"
97 "B< int >I<epfd>B<, struct epoll_event >I<events>B<[>I<n>B<], int >I<n>B<,>\n"
98 "B< const struct timespec *_Nullable >I<timeout>B<,>\n"
99 "B< const sigset_t *_Nullable >I<sigmask>B<);>\n"
100 msgstr ""
101 "B<int epoll_wait(>int n;\n"
102 "B< int >I<epfd>B<, struct epoll_event >I<events>B<[>I<n>B<], int >I<n>B<,>\n"
103 "B< int >I<timeout>B<);>\n"
104 "B<int epoll_pwait(>int n;\n"
105 "B< int >I<epfd>B<, struct epoll_event >I<events>B<[>I<n>B<], int >I<n>B<,>\n"
106 "B< int >I<timeout>B<,>\n"
107 "B< const sigset_t *_Nullable >I<sigmask>B<);>\n"
108 "B<int epoll_pwait2(>int n;\n"
109 "B< int >I<epfd>B<, struct epoll_event >I<events>B<[>I<n>B<], int >I<n>B<,>\n"
110 "B< const struct timespec *_Nullable >I<timeout>B<,>\n"
111 "B< const sigset_t *_Nullable >I<sigmask>B<);>\n"
112
113 #. type: SH
114 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
115 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
116 #, no-wrap
117 msgid "DESCRIPTION"
118 msgstr "الوصف"
119
120 #. type: Plain text
121 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
122 #: opensuse-tumbleweed
123 msgid ""
124 "The B<epoll_wait>() system call waits for events on the B<epoll>(7) "
125 "instance referred to by the file descriptor I<epfd>. The buffer pointed to "
126 "by I<events> is used to return information from the ready list about file "
127 "descriptors in the interest list that have some events available. Up to "
128 "I<n> are returned by B<epoll_wait>(). The I<n> argument must be greater "
129 "than zero."
130 msgstr ""
131 "استدعاء النظام B<epoll_wait>() ينتظر الأحداث على مثيل B<epoll>(7) المشار "
132 "إليه بواصف الملف I<epfd>. يُستخدم المخزن المؤقت المشار إليه بواسطة I<events> "
133 "لإرجاع معلومات من قائمة الجاهزية حول واصفات الملف في قائمة الاهتمام التي "
134 "تتوفر لها بعض الأحداث. يُرجع B<epoll_wait()> حتى I<n> حدثًا. يجب أن تكون وسيطة "
135 "I<n> أكبر من الصفر."
136
137 #. type: Plain text
138 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
139 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
140 msgid ""
141 "The I<timeout> argument specifies the number of milliseconds that "
142 "B<epoll_wait>() will block. Time is measured against the "
143 "B<CLOCK_MONOTONIC> clock."
144 msgstr ""
145 "تحدد وسيطة I<timeout> عدد الميلي ثانية التي سيحجب فيها B<epoll_wait>(). يُقاس "
146 "الوقت مقابل ساعة B<CLOCK_MONOTONIC>."
147
148 #. type: Plain text
149 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
150 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
151 msgid "A call to B<epoll_wait>() will block until either:"
152 msgstr "سيحجب استدعاء B<epoll_wait>() حتى أحد الشرطين:"
153
154 #. type: IP
155 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
156 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
157 #, no-wrap
158 msgid "\\[bu]"
159 msgstr "\\[bu]"
160
161 #. type: Plain text
162 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
163 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
164 msgid "a file descriptor delivers an event;"
165 msgstr "يسلم واصف ملف حدثًا؛"
166
167 #. type: Plain text
168 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
169 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
170 msgid "the call is interrupted by a signal handler; or"
171 msgstr "الاستدعاء قوطع بواسطة معالج إشارة؛ أو"
172
173 #. type: Plain text
174 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
175 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
176 msgid "the timeout expires."
177 msgstr "تنتهي مهلة timeout."
178
179 #. type: Plain text
180 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
181 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
182 msgid ""
183 "Note that the I<timeout> interval will be rounded up to the system clock "
184 "granularity, and kernel scheduling delays mean that the blocking interval "
185 "may overrun by a small amount. Specifying a I<timeout> of -1 causes "
186 "B<epoll_wait>() to block indefinitely, while specifying a I<timeout> equal "
187 "to zero causes B<epoll_wait>() to return immediately, even if no events are "
188 "available."
189 msgstr ""
190 "لاحظ أن فترة I<timeout> ستُقرّب لأعلى إلى دقة ساعة النظام، وتأخيرات جدولة "
191 "النواة تعني أن فترة الحجب قد تتجاوز بمقدار صغير. تحديد I<timeout> بقيمة -1 "
192 "يجعل B<epoll_wait>() يحجب إلى أجل غير مسمى، بينما تحديد I<timeout> بقيمة صفر "
193 "يجعل B<epoll_wait>() يعود فورًا، حتى لو لم تتوفر أحداث."
194
195 #. type: Plain text
196 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
197 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
198 msgid "The I<struct epoll_event> is described in B<epoll_event>(3type)."
199 msgstr "يُوصف I<struct epoll_event> في B<epoll_event>(3type)."
200
201 #. type: Plain text
202 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
203 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
204 msgid ""
205 "The I<data> field of each returned I<epoll_event> structure contains the "
206 "same data as was specified in the most recent call to B<epoll_ctl>(2) "
207 "(B<EPOLL_CTL_ADD>, B<EPOLL_CTL_MOD>) for the corresponding open file "
208 "descriptor."
209 msgstr ""
210 "يحتوي حقل I<data> لكل بنية I<epoll_event> مُعادة على نفس البيانات التي تم "
211 "تحديدها في أحدث استدعاء لـ B<epoll_ctl>(2) (B<EPOLL_CTL_ADD>، "
212 "B<EPOLL_CTL_MOD>) لواصف الملف المفتوح المقابل."
213
214 #. type: Plain text
215 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
216 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
217 msgid ""
218 "The I<events> field is a bit mask that indicates the events that have "
219 "occurred for the corresponding open file description. See B<epoll_ctl>(2) "
220 "for a list of the bits that may appear in this mask."
221 msgstr ""
222 "حقل I<events> هو قناع بتات يشير إلى الأحداث التي حدثت لوصف الملف المفتوح "
223 "المقابل. انظر B<epoll_ctl>(2) للحصول على قائمة بالبتات التي قد تظهر في هذا "
224 "القناع."
225
226 #. type: SS
227 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
228 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
229 #, no-wrap
230 msgid "epoll_pwait()"
231 msgstr "epoll_pwait()"
232
233 #. type: Plain text
234 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
235 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
236 msgid ""
237 "The relationship between B<epoll_wait>() and B<epoll_pwait>() is analogous "
238 "to the relationship between B<select>(2) and B<pselect>(2): like "
239 "B<pselect>(2), B<epoll_pwait>() allows an application to safely wait until "
240 "either a file descriptor becomes ready or until a signal is caught."
241 msgstr ""
242 "العلاقة بين B<epoll_wait>() و B<epoll_pwait>() مماثلة للعلاقة بين "
243 "B<select>(2) و B<pselect>(2): مثل B<pselect>(2)، يسمح B<epoll_pwait>() "
244 "للتطبيق بالانتظار بأمان حتى يصبح واصف الملف جاهزًا أو حتى يتم التقاط إشارة."
245
246 #. type: Plain text
247 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
248 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
249 msgid "The following B<epoll_pwait>() call:"
250 msgstr "استدعاء B<epoll_pwait>() التالي:"
251
252 #. type: Plain text
253 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
254 #: opensuse-tumbleweed
255 #, no-wrap
256 msgid "ready = epoll_pwait(epfd, &events, n, timeout, &sigmask);\n"
257 msgstr "ready = epoll_pwait(epfd, &events, n, timeout, &sigmask);\n"
258
259 #. type: Plain text
260 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
261 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
262 msgid "is equivalent to I<atomically> executing the following calls:"
263 msgstr "يعادل تنفيذ الاستدعاءات التالية I<بشكل ذري>:"
264
265 #. type: Plain text
266 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
267 #: opensuse-tumbleweed
268 #, no-wrap
269 msgid ""
270 "sigset_t origmask;\n"
271 "\\&\n"
272 "pthread_sigmask(SIG_SETMASK, &sigmask, &origmask);\n"
273 "ready = epoll_wait(epfd, &events, n, timeout);\n"
274 "pthread_sigmask(SIG_SETMASK, &origmask, NULL);\n"
275 msgstr ""
276 "sigset_t origmask;\n"
277 "\\&\n"
278 "pthread_sigmask(SIG_SETMASK, &sigmask, &origmask);\n"
279 "ready = epoll_wait(epfd, &events, n, timeout);\n"
280 "pthread_sigmask(SIG_SETMASK, &origmask, NULL);\n"
281
282 #. type: Plain text
283 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
284 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
285 msgid ""
286 "The I<sigmask> argument may be specified as NULL, in which case "
287 "B<epoll_pwait>() is equivalent to B<epoll_wait>()."
288 msgstr ""
289 "يمكن تحديد وسيطة I<sigmask> كـ NULL، وفي هذه الحالة يكون B<epoll_pwait>() "
290 "مكافئًا لـ B<epoll_wait>()."
291
292 #. type: SS
293 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
294 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
295 #, no-wrap
296 msgid "epoll_pwait2()"
297 msgstr "epoll_pwait2()"
298
299 #. type: Plain text
300 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
301 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
302 msgid ""
303 "The B<epoll_pwait2>() system call is equivalent to B<epoll_pwait>() except "
304 "for the I<timeout> argument. It takes an argument of type I<timespec> to be "
305 "able to specify nanosecond resolution timeout. This argument functions the "
306 "same as in B<pselect>(2) and B<ppoll>(2). If I<timeout> is NULL, then "
307 "B<epoll_pwait2>() can block indefinitely."
308 msgstr ""
309 "استدعاء النظام B<epoll_pwait2>() مكافئ لـ B<epoll_pwait>() باستثناء وسيطة "
310 "I<timeout>. يأخذ وسيطة من النوع I<timespec> لتتمكن من تحديد مهلة بدقة نانو "
311 "ثانية. تعمل هذه الوسيطة بنفس الطريقة كما في B<pselect>(2) و B<ppoll>(2). إذا "
312 "كان I<timeout> هو NULL، فيمكن لـ B<epoll_pwait2>() الحجب إلى أجل غير مسمى."
313
314 #. type: SH
315 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
316 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
317 #, no-wrap
318 msgid "RETURN VALUE"
319 msgstr "قيمة الإرجاع"
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 "On success, B<epoll_wait>() returns the number of file descriptors ready "
326 "for the requested I/O operation, or zero if no file descriptor became ready "
327 "during the requested I<timeout> milliseconds. On failure, B<epoll_wait>() "
328 "returns -1 and I<errno> is set to indicate the error."
329 msgstr ""
330 "عند النجاح، يُرجع B<epoll_wait>() عدد واصفات الملف الجاهزة لعملية الإدخال/"
331 "الإخراج المطلوبة، أو صفرًا إذا لم يصبح أي واصف ملف جاهزًا خلال I<timeout> ميلي "
332 "ثانية المطلوبة. عند الفشل، يُرجع B<epoll_wait>() -1 ويُضبط I<errno> للإشارة "
333 "إلى الخطأ."
334
335 #. type: SH
336 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
337 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
338 #, no-wrap
339 msgid "ERRORS"
340 msgstr "الأخطاء"
341
342 #. type: TP
343 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
344 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
345 #, no-wrap
346 msgid "B<EBADF>"
347 msgstr "B<EBADF>"
348
349 #. type: Plain text
350 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
351 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
352 msgid "I<epfd> is not a valid file descriptor."
353 msgstr "I<epfd> ليس واصف ملف صالحًا."
354
355 #. type: TP
356 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
357 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
358 #, no-wrap
359 msgid "B<EFAULT>"
360 msgstr "B<EFAULT>"
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 "The memory area pointed to by I<events> is not accessible with write "
367 "permissions."
368 msgstr ""
369 "منطقة الذاكرة المشار إليها بواسطة I<events> غير قابلة للوصول بأذونات الكتابة."
370
371 #. type: TP
372 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
373 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
374 #, no-wrap
375 msgid "B<EINTR>"
376 msgstr "B<EINTR>"
377
378 #. type: Plain text
379 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
380 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
381 msgid ""
382 "The call was interrupted by a signal handler before either (1) any of the "
383 "requested events occurred or (2) the I<timeout> expired; see B<signal>(7)."
384 msgstr ""
385 "تم مقاطعة الاستدعاء بواسطة معالج إشارة قبل (1) حدوث أي من الأحداث المطلوبة "
386 "أو (2) انتهاء I<timeout>؛ انظر B<signal>(7)."
387
388 #. type: TP
389 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
390 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
391 #, no-wrap
392 msgid "B<EINVAL>"
393 msgstr "B<EINVAL>"
394
395 #. type: Plain text
396 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
397 #: opensuse-tumbleweed
398 msgid ""
399 "I<epfd> is not an B<epoll> file descriptor, or I<n> is less than or equal to "
400 "zero."
401 msgstr "I<epfd> ليس واصف ملف B<epoll>، أو I<n> أقل من أو يساوي الصفر."
402
403 #. type: SH
404 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
405 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
406 #, no-wrap
407 msgid "STANDARDS"
408 msgstr "المعايير"
409
410 #. type: Plain text
411 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
412 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
413 msgid "Linux."
414 msgstr "لينكس."
415
416 #. type: SH
417 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
418 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
419 #, no-wrap
420 msgid "HISTORY"
421 msgstr "التاريخ"
422
423 #. type: TP
424 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
425 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
426 #, no-wrap
427 msgid "B<epoll_wait>()"
428 msgstr "B<epoll_wait>()"
429
430 #. To be precise: Linux 2.5.44.
431 #. The interface should be finalized by Linux 2.5.66.
432 #. type: Plain text
433 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
434 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
435 msgid "Linux 2.6, glibc 2.3.2."
436 msgstr "لينكس 2.6، glibc 2.3.2."
437
438 #. type: TP
439 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
440 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
441 #, no-wrap
442 msgid "B<epoll_pwait>()"
443 msgstr "B<epoll_pwait>()"
444
445 #. type: Plain text
446 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
447 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
448 msgid "Linux 2.6.19, glibc 2.6."
449 msgstr "لينكس 2.6.19، glibc 2.6."
450
451 #. type: TP
452 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
453 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
454 #, no-wrap
455 msgid "B<epoll_pwait2>()"
456 msgstr "B<epoll_pwait2>()"
457
458 #. type: Plain text
459 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
460 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
461 msgid "Linux 5.11."
462 msgstr "لينكس 5.11."
463
464 #. type: SH
465 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
466 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
467 #, no-wrap
468 msgid "NOTES"
469 msgstr "ملاحظات"
470
471 #. type: Plain text
472 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
473 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
474 msgid ""
475 "While one thread is blocked in a call to B<epoll_wait>(), it is possible for "
476 "another thread to add a file descriptor to the waited-upon B<epoll> "
477 "instance. If the new file descriptor becomes ready, it will cause the "
478 "B<epoll_wait>() call to unblock."
479 msgstr ""
480 "بينما يكون خيط واحد محجوبًا في استدعاء B<epoll_wait>()، من الممكن لخيط آخر "
481 "إضافة واصف ملف إلى مثيل B<epoll> المنتظر. إذا أصبح واصف الملف الجديد جاهزًا، "
482 "فسيؤدي ذلك إلى إلغاء حجب استدعاء B<epoll_wait>()."
483
484 #. type: Plain text
485 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
486 #: opensuse-tumbleweed
487 msgid ""
488 "If more than I<n> file descriptors are ready when B<epoll_wait>() is "
489 "called, then successive B<epoll_wait>() calls will round robin through the "
490 "set of ready file descriptors. This behavior helps avoid starvation "
491 "scenarios, where a process fails to notice that additional file descriptors "
492 "are ready because it focuses on a set of file descriptors that are already "
493 "known to be ready."
494 msgstr ""
495 "إذا كان أكثر من I<n> واصف ملف جاهزًا عند استدعاء B<epoll_wait>()، فإن "
496 "استدعاءات B<epoll_wait>() المتتالية ستتنقل دوريًا عبر مجموعة واصفات الملف "
497 "الجاهزة. يساعد هذا السلوك في تجنب سيناريوهات التجويع، حيث تفشل عملية في "
498 "ملاحظة أن واصفات ملف إضافية جاهزة لأنها تركز على مجموعة من واصفات الملف "
499 "المعروفة بالفعل بأنها جاهزة."
500
501 #. type: Plain text
502 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
503 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
504 msgid ""
505 "Note that it is possible to call B<epoll_wait>() on an B<epoll> instance "
506 "whose interest list is currently empty (or whose interest list becomes empty "
507 "because file descriptors are closed or removed from the interest in another "
508 "thread). The call will block until some file descriptor is later added to "
509 "the interest list (in another thread) and that file descriptor becomes ready."
510 msgstr ""
511 "لاحظ أنه من الممكن استدعاء B<epoll_wait>() على مثيل B<epoll> تكون قائمة "
512 "اهتماماته فارغة حاليًا (أو تصبح قائمة اهتماماته فارغة بسبب إغلاق واصفات الملف "
513 "أو إزالتها من الاهتمام في خيط آخر). سينتظر الاستدعاء حتى يتم لاحقًا إضافة بعض "
514 "واصفات الملف إلى قائمة الاهتمام (في خيط آخر) ويصبح واصف الملف هذا جاهزًا."
515
516 #. type: SS
517 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
518 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
519 #, no-wrap
520 msgid "C library/kernel differences"
521 msgstr "الاختلافات بين مكتبة C والنواة"
522
523 #. type: Plain text
524 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
525 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
526 msgid ""
527 "The raw B<epoll_pwait>() and B<epoll_pwait2>() system calls have a sixth "
528 "argument, I<size_t sigsetsize>, which specifies the size in bytes of the "
529 "I<sigmask> argument. The glibc B<epoll_pwait>() wrapper function specifies "
530 "this argument as a fixed value (equal to I<sizeof(sigset_t)>)."
531 msgstr ""
532 "استدعاءات النظام الخام B<epoll_pwait>() و B<epoll_pwait2>() لها وسيطة سادسة، "
533 "I<size_t sigsetsize>، والتي تحدد الحجم بالبايت لوسيطة I<sigmask>. تحدد دالة "
534 "الغلاف glibc B<epoll_pwait>() هذه الوسيطة كقيمة ثابتة (تساوي "
535 "I<sizeof(sigset_t)>)."
536
537 #. type: SH
538 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
539 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
540 #, no-wrap
541 msgid "BUGS"
542 msgstr "العلل"
543
544 #. type: Plain text
545 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
546 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
547 msgid ""
548 "Before Linux 2.6.37, a I<timeout> value larger than approximately "
549 "I<LONG_MAX / HZ> milliseconds is treated as -1 (i.e., infinity). Thus, for "
550 "example, on a system where I<sizeof(long)> is 4 and the kernel I<HZ> value "
551 "is 1000, this means that timeouts greater than 35.79 minutes are treated as "
552 "infinity."
553 msgstr ""
554 "قبل لينكس 2.6.37، تُعالج قيمة I<timeout> أكبر من حوالي I<LONG_MAX / HZ> ميلي "
555 "ثانية كـ -1 (أي، لانهاية). وبالتالي، على سبيل المثال، على نظام حيث "
556 "I<sizeof(long)> هو 4 وقيمة I<HZ> للنواة هي 1000، فهذا يعني أن المهلات الأكبر "
557 "من 35.79 دقيقة تُعالج كلانهاية."
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 "SEE ALSO"
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 "B<epoll_create>(2), B<epoll_ctl>(2), B<epoll>(7)"
570 msgstr "B<epoll_create>(2)، B<epoll_ctl>(2)، B<epoll>(7)"
571
572 #. type: TH
573 #: debian-trixie
574 #, no-wrap
575 msgid "2024-05-02"
576 msgstr "2 مايو 2024"
577
578 #. type: TH
579 #: debian-trixie
580 #, no-wrap
581 msgid "Linux man-pages 6.9.1"
582 msgstr "صفحات دليل لينكس 6.9.1"
583
584 #. type: Plain text
585 #: debian-trixie
586 msgid "Standard C library (I<libc>, I<-lc>)"
587 msgstr "مكتبة سي المعيارية (I<libc>، I<-lc>)"
588
589 #. type: Plain text
590 #: debian-trixie
591 #, no-wrap
592 msgid ""
593 "B<int epoll_wait(int >I<epfd>B<, struct epoll_event *>I<events>B<,>\n"
594 "B< int >I<maxevents>B<, int >I<timeout>B<);>\n"
595 "B<int epoll_pwait(int >I<epfd>B<, struct epoll_event *>I<events>B<,>\n"
596 "B< int >I<maxevents>B<, int >I<timeout>B<,>\n"
597 "B< const sigset_t *_Nullable >I<sigmask>B<);>\n"
598 "B<int epoll_pwait2(int >I<epfd>B<, struct epoll_event *>I<events>B<,>\n"
599 "B< int >I<maxevents>B<, const struct timespec *_Nullable >I<timeout>B<,>\n"
600 "B< const sigset_t *_Nullable >I<sigmask>B<);>\n"
601 msgstr ""
602 "B<int epoll_wait(int >I<epfd>B<, struct epoll_event *>I<events>B<,>\n"
603 "B< int >I<maxevents>B<, int >I<timeout>B<);>\n"
604 "B<int epoll_pwait(int >I<epfd>B<, struct epoll_event *>I<events>B<,>\n"
605 "B< int >I<maxevents>B<, int >I<timeout>B<,>\n"
606 "B< const sigset_t *_Nullable >I<sigmask>B<);>\n"
607 "B<int epoll_pwait2(int >I<epfd>B<, struct epoll_event *>I<events>B<,>\n"
608 "B< int >I<maxevents>B<, const struct timespec *_Nullable >I<timeout>B<,>\n"
609 "B< const sigset_t *_Nullable >I<sigmask>B<);>\n"
610
611 #. type: Plain text
612 #: debian-trixie fedora-44 fedora-rawhide
613 msgid ""
614 "The B<epoll_wait>() system call waits for events on the B<epoll>(7) "
615 "instance referred to by the file descriptor I<epfd>. The buffer pointed to "
616 "by I<events> is used to return information from the ready list about file "
617 "descriptors in the interest list that have some events available. Up to "
618 "I<maxevents> are returned by B<epoll_wait>(). The I<maxevents> argument "
619 "must be greater than zero."
620 msgstr ""
621 "استدعاء النظام B<epoll_wait>() ينتظر الأحداث على مثيل B<epoll>(7) المشار "
622 "إليه بواصف الملف I<epfd>. يُستخدم المخزن المؤقت المشار إليه بواسطة I<events> "
623 "لإرجاع معلومات من قائمة الجاهزية حول واصفات الملف في قائمة الاهتمام التي "
624 "تتوفر لها بعض الأحداث. يُرجع B<epoll_wait()> حتى I<maxevents> حدثًا. يجب أن "
625 "تكون وسيطة I<maxevents> أكبر من الصفر."
626
627 #. type: Plain text
628 #: debian-trixie fedora-44 fedora-rawhide
629 #, no-wrap
630 msgid "ready = epoll_pwait(epfd, &events, maxevents, timeout, &sigmask);\n"
631 msgstr "ready = epoll_pwait(epfd, &events, maxevents, timeout, &sigmask);\n"
632
633 #. type: Plain text
634 #: debian-trixie fedora-44 fedora-rawhide
635 #, no-wrap
636 msgid ""
637 "sigset_t origmask;\n"
638 "\\&\n"
639 "pthread_sigmask(SIG_SETMASK, &sigmask, &origmask);\n"
640 "ready = epoll_wait(epfd, &events, maxevents, timeout);\n"
641 "pthread_sigmask(SIG_SETMASK, &origmask, NULL);\n"
642 msgstr ""
643 "sigset_t origmask;\n"
644 "\\&\n"
645 "pthread_sigmask(SIG_SETMASK, &sigmask, &origmask);\n"
646 "ready = epoll_wait(epfd, &events, maxevents, timeout);\n"
647 "pthread_sigmask(SIG_SETMASK, &origmask, NULL);\n"
648
649 #. type: Plain text
650 #: debian-trixie fedora-44 fedora-rawhide
651 msgid ""
652 "I<epfd> is not an B<epoll> file descriptor, or I<maxevents> is less than or "
653 "equal to zero."
654 msgstr "I<epfd> ليس واصف ملف B<epoll>، أو I<maxevents> أقل من أو يساوي الصفر."
655
656 #. type: Plain text
657 #: debian-trixie fedora-44 fedora-rawhide
658 msgid ""
659 "If more than I<maxevents> file descriptors are ready when B<epoll_wait>() "
660 "is called, then successive B<epoll_wait>() calls will round robin through "
661 "the set of ready file descriptors. This behavior helps avoid starvation "
662 "scenarios, where a process fails to notice that additional file descriptors "
663 "are ready because it focuses on a set of file descriptors that are already "
664 "known to be ready."
665 msgstr ""
666 "إذا كان أكثر من I<maxevents> واصف ملف جاهزًا عند استدعاء B<epoll_wait>()، فإن "
667 "استدعاءات B<epoll_wait>() المتتالية ستتنقل دوريًا عبر مجموعة واصفات الملف "
668 "الجاهزة. يساعد هذا السلوك في تجنب سيناريوهات التجويع، حيث تفشل عملية في "
669 "ملاحظة أن واصفات ملف إضافية جاهزة لأنها تركز على مجموعة من واصفات الملف "
670 "المعروفة بالفعل بأنها جاهزة."
671
672 #. type: TH
673 #: fedora-44 fedora-rawhide
674 #, no-wrap
675 msgid "2024-12-14"
676 msgstr "14 ديسمبر 2024"
677
678 #. type: TH
679 #: fedora-44 fedora-rawhide
680 #, no-wrap
681 msgid "Linux man-pages 6.13"
682 msgstr "صفحات دليل لينكس 6.13"
683
684 #. type: Plain text
685 #: fedora-44 fedora-rawhide
686 #, no-wrap
687 msgid ""
688 "B<int epoll_wait(int >I<epfd>B<, struct epoll_event >I<events>B<[.>I<maxevents>B<],>\n"
689 "B< int >I<maxevents>B<, int >I<timeout>B<);>\n"
690 "B<int epoll_pwait(int >I<epfd>B<, struct epoll_event >I<events>B<[.>I<maxevents>B<],>\n"
691 "B< int >I<maxevents>B<, int >I<timeout>B<,>\n"
692 "B< const sigset_t *_Nullable >I<sigmask>B<);>\n"
693 "B<int epoll_pwait2(int >I<epfd>B<, struct epoll_event >I<events>B<[.>I<maxevents>B<],>\n"
694 "B< int >I<maxevents>B<, const struct timespec *_Nullable >I<timeout>B<,>\n"
695 "B< const sigset_t *_Nullable >I<sigmask>B<);>\n"
696 msgstr ""
697 "B<int epoll_wait(int >I<epfd>B<, struct epoll_event >I<events>B<[.>I<maxevents>B<],>\n"
698 "B< int >I<maxevents>B<, int >I<timeout>B<);>\n"
699 "B<int epoll_pwait(int >I<epfd>B<, struct epoll_event >I<events>B<[.>I<maxevents>B<],>\n"
700 "B< int >I<maxevents>B<, int >I<timeout>B<,>\n"
701 "B< const sigset_t *_Nullable >I<sigmask>B<);>\n"
702 "B<int epoll_pwait2(int >I<epfd>B<, struct epoll_event >I<events>B<[.>I<maxevents>B<],>\n"
703 "B< int >I<maxevents>B<, const struct timespec *_Nullable >I<timeout>B<,>\n"
704 "B< const sigset_t *_Nullable >I<sigmask>B<);>\n"
705
706 #. type: TH
707 #: mageia-cauldron
708 #, no-wrap
709 msgid "Linux man-pages 6.17"
710 msgstr "صفحات دليل لينكس 6.17"
711
712 #. type: TH
713 #: opensuse-leap-16-1 opensuse-tumbleweed
714 #, no-wrap
715 msgid "Linux man-pages (unreleased)"
716 msgstr "صفحات دليل لينكس (لم تصدر بعد)"