# Arabic translation of manpages # This file is distributed under the same license as the manpages-l10n package. # Copyright © of this file: # زايد السعيدي , 2026. msgid "" msgstr "" "Project-Id-Version: manpages-l10n\n" "POT-Creation-Date: 2026-06-05 06:23+0200\n" "PO-Revision-Date: 2026-05-20 21:08+0400\n" "Last-Translator: Zayed Al-Saidi \n" "Language-Team: Arabic \n" "Language: ar\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " "&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" "X-Generator: Lokalize 23.08.5\n" #. type: TH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "eventfd" msgstr "eventfd" #. type: TH #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "2026-02-16" msgstr "16 فبراير 2026" #. type: TH #: archlinux debian-unstable #, no-wrap msgid "Linux man-pages 6.18" msgstr "صفحات دليل لينكس 6.18" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NAME" msgstr "الاسم" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "eventfd - create a file descriptor for event notification" msgstr "eventfd - إنشاء واصف ملف للإعلام بالأحداث" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "LIBRARY" msgstr "المكتبة" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Standard C library (I,\\ I<-lc>)" msgstr "مكتبة سي المعيارية (I،\\ I<-lc>)" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SYNOPSIS" msgstr "موجز" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B<#include Esys/eventfd.hE>\n" msgstr "B<#include Esys/eventfd.hE>\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "BIB<, int >IB<);>\n" msgstr "BIB<, int >IB<);>\n" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "DESCRIPTION" msgstr "الوصف" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B() creates an \"eventfd object\" that can be used as an event " "wait/notify mechanism by user-space applications, and by the kernel to " "notify user-space applications of events. The object contains an unsigned " "64-bit integer (I) counter that is maintained by the kernel. " "This counter is initialized with the value specified in the argument " "I." msgstr "" "تنشئ B() \"كائن eventfd\" يمكن استخدامه كآلية انتظار/إعلام بالأحداث " "من قبل تطبيقات مساحة المستخدم، ومن قبل النواة لإعلام تطبيقات مساحة المستخدم " "بالأحداث. يحتوي الكائن على عداد صحيح غير موقع 64 بت (I) تحتفظ به " "النواة. يُهيأ هذا العداد بالقيمة المحددة في الوسيط I." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "As its return value, B() returns a new file descriptor that can be " "used to refer to the eventfd object." msgstr "" "كقيمة إرجاع، تُرجع B() واصف ملف جديد يمكن استخدامه للإشارة إلى كائن " "eventfd." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The following values may be bitwise ORed in I to change the behavior " "of B():" msgstr "" "يمكن تطبيق عملية OR على مستوى البتات للقيم التالية في I لتغيير سلوك " "B():" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 2.6.27)" msgstr "B (منذ لينكس 2.6.27)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Set the close-on-exec (B) flag on the new file descriptor. See " "the description of the B flag in B(2) for reasons why this " "may be useful." msgstr "" "اضبط علامة الإغلاق عند التنفيذ (B) على واصف الملف الجديد. انظر " "وصف العلامة B في B(2) للأسباب التي تجعل هذا مفيدًا." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 2.6.27)" msgstr "B (منذ لينكس 2.6.27)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Set the B file status flag on the open file description (see " "B(2)) referred to by the new file descriptor. Using this flag saves " "extra calls to B(2) to achieve the same result." msgstr "" "اضبط علامة حالة الملف B على وصف الملف المفتوح (انظر B(2)) " "المشار إليه بواسطة واصف الملف الجديد. استخدام هذه العلامة يوفر استدعاءات " "إضافية لـ B(2) لتحقيق النتيجة نفسها." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 2.6.30)" msgstr "B (منذ لينكس 2.6.30)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Provide semaphore-like semantics for reads from the new file descriptor. " "See below." msgstr "" "توفر دلالات شبيهة بالإشارة (semaphore) للقراءات من واصف الملف الجديد. انظر " "أدناه." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Up to Linux 2.6.26, the I argument is unused, and must be specified " "as zero." msgstr "حتى لينكس 2.6.26، معطى I غير مستخدم، ويجب تحديده كصفر." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The following operations can be performed on the file descriptor returned by " "B():" msgstr "يمكن تنفيذ العمليات التالية على واصف الملف المُعاد بواسطة B():" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B(2)" msgstr "B(2)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Each successful B(2) returns an 8-byte integer. A B(2) fails " "with the error B if the size of the supplied buffer is less than 8 " "bytes." msgstr "" "تُرجع كل B(2) ناجحة عددًا صحيحًا من 8 بايت. تفشل B(2) مع الخطأ " "B إذا كان حجم المخزن المؤقت المقدم أقل من 8 بايت." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The value returned by B(2) is in host byte order\\[em]that is, the " "native byte order for integers on the host machine." msgstr "" "القيمة المُعادة بواسطة B(2) تكون بترتيب بايت المضيف\\[em]أي ترتيب " "البايت الأصلي للأعداد الصحيحة على جهاز المضيف." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The semantics of B(2) depend on whether the eventfd counter currently " "has a nonzero value and whether the B flag was specified when " "creating the eventfd file descriptor:" msgstr "" "تعتمد دلالات B(2) على ما إذا كان عداد eventfd لديه حاليًا قيمة غير " "صفرية وما إذا كانت العلامة B قد حُددت عند إنشاء واصف ملف " "eventfd:" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\[bu]" msgstr "\\[bu]" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If B was not specified and the eventfd counter has a nonzero " "value, then a B(2) returns 8 bytes containing that value, and the " "counter's value is reset to zero." msgstr "" "إذا لم تُحدد B وكان للعداد eventfd قيمة غير صفرية، فإن " "B(2) تُرجع 8 بايت تحتوي على تلك القيمة، وتُعاد قيمة العداد إلى الصفر." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If B was specified and the eventfd counter has a nonzero " "value, then a B(2) returns 8 bytes containing the value 1, and the " "counter's value is decremented by 1." msgstr "" "إذا حُددت B وكان للعداد eventfd قيمة غير صفرية، فإن B(2) " "تُرجع 8 بايت تحتوي على القيمة 1، وتُقلل قيمة العداد بمقدار 1." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If the eventfd counter is zero at the time of the call to B(2), then " "the call either blocks until the counter becomes nonzero (at which time, the " "B(2) proceeds as described above) or fails with the error B " "if the file descriptor has been made nonblocking." msgstr "" "إذا كان عداد eventfd صفرًا وقت استدعاء B(2)، فإن الاستدعاء إما أن يحظر " "حتى يصبح العداد غير صفري (وعندها، تستمر B(2) كما هو موصوف أعلاه) أو " "يفشل مع الخطأ B إذا جُعل واصف الملف غير محظور." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B(2)" msgstr "B(2)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A B(2) call adds the 8-byte integer value supplied in its buffer to " "the counter. The maximum value that may be stored in the counter is the " "largest unsigned 64-bit value minus 1 (i.e., 0xfffffffffffffffe). If the " "addition would cause the counter's value to exceed the maximum, then the " "B(2) either blocks until a B(2) is performed on the file " "descriptor, or fails with the error B if the file descriptor has " "been made nonblocking." msgstr "" "يضيف استدعاء B(2) قيمة العدد الصحيح 8 بايت المقدمة في مخزنه المؤقت " "إلى العداد. القيمة القصوى التي يمكن تخزينها في العداد هي أكبر قيمة غير موقعة " "64 بت ناقص 1 (أي 0xfffffffffffffffe). إذا تسببت الإضافة في تجاوز قيمة العداد " "للحد الأقصى، فإن B(2) إما تحظر حتى تُنفذ B(2) على واصف الملف، أو " "تفشل مع الخطأ B إذا جُعل واصف الملف غير محظور." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A B(2) fails with the error B if the size of the supplied " "buffer is less than 8 bytes, or if an attempt is made to write the value " "0xffffffffffffffff." msgstr "" "تفشل B(2) مع الخطأ B إذا كان حجم المخزن المؤقت المقدم أقل من " "8 بايت، أو إذا جرت محاولة لكتابة القيمة 0xffffffffffffffff." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B(2)" msgstr "B(2)" #. type: TQ #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B(2)" #. type: TQ #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "(and similar)" msgstr "(وما شابه ذلك)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The returned file descriptor supports B(2) (and analogously " "B(7)) and B(2)، كما " "يلي:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The file descriptor is readable (the B(2) I؛ علامة B(2) " "B) إذا كان للعداد قيمة أكبر من 0." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The file descriptor is writable (the B(2) I؛ علامة B(2) " "B) إذا كان من الممكن كتابة قيمة لا تقل عن \"1\" دون حظر." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If an overflow of the counter value was detected, then B(2) تشير إلى واصف الملف على أنه " "قابل للقراءة والكتابة معًا، وتُرجع B(2) حدث B. كما ذُكر أعلاه، " "لا يمكن لـ B(2) أبدًا تجاوز العداد. ومع ذلك، يمكن أن يحدث تجاوز إذا " "نُفذت 2\\[ha]64 \"إشارة إرسال\" eventfd بواسطة النظام الفرعي KAIO (ممكن " "نظريًا، لكنه غير محتمل عمليًا). إذا حدث تجاوز، فإن B(2) ستُرجع قيمة " "I القصوى (أي 0xffffffffffffffff)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The eventfd file descriptor also supports the other file-descriptor " "multiplexing APIs: B(2) and B(2)." msgstr "" "يدعم واصف ملف eventfd أيضًا واجهات برمجة تطبيقات تعدد إرسال واصفات الملف " "الأخرى: B(2) و B(2)." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B(2)" msgstr "B(2)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "When the file descriptor is no longer required it should be closed. When " "all file descriptors associated with the same eventfd object have been " "closed, the resources for object are freed by the kernel." msgstr "" "عندما لا يعود واصف الملف مطلوبًا، يجب إغلاقه. عندما تُغلق جميع واصفات الملف " "المرتبطة بنفس كائن eventfd، تُحرر النواة موارد الكائن." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A copy of the file descriptor created by B() is inherited by the " "child produced by B(2). The duplicate file descriptor is associated " "with the same eventfd object. File descriptors created by B() are " "preserved across B(2), unless the close-on-exec flag has been set." msgstr "" "تُورث نسخة من واصف الملف الذي أنشأته B() بواسطة العملية التابعة " "الناتجة عن B(2). يرتبط واصف الملف المكرر بنفس كائن eventfd. تُحفظ " "واصفات الملف التي أنشأتها B() عبر B(2)، ما لم تُضبط علامة " "الإغلاق عند التنفيذ." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "RETURN VALUE" msgstr "قيمة الإرجاع" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "On success, B() returns a new eventfd file descriptor. On error, " "-1 is returned and I is set to indicate the error." msgstr "" "عند النجاح، تُرجع B() واصف ملف eventfd جديد. عند الخطأ، تُرجع -1 " "ويُضبط I للإشارة إلى الخطأ." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "ERRORS" msgstr "الأخطاء" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "An unsupported value was specified in I." msgstr "عُيّنت قيمة غير مدعومة في I." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The per-process limit on the number of open file descriptors has been " "reached." msgstr "وُصل إلى الحد الأقصى لواصفات الملفات المفتوحة لكل عملية." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The system-wide limit on the total number of open files has been reached." msgstr "وُصل إلى الحد الأقصى لإجمالي عدد الملفات المفتوحة على مستوى النظام." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. #-#-#-#-# archlinux: eventfd.2.pot (PACKAGE VERSION) #-#-#-#-# #. Note from Davide: #. The ENODEV error is basically never going to happen if #. the kernel boots correctly. That error happen only if during #. the kernel initialization, some error occur in the anonymous #. inode source initialization. #. type: Plain text #. #-#-#-#-# debian-trixie: eventfd.2.pot (PACKAGE VERSION) #-#-#-#-# #. Note from Davide: #. The ENODEV error is basically never going to happen if #. the kernel boots correctly. That error happen only if during #. the kernel initialization, some error occur in the anonymous #. inode source initialization. #. type: Plain text #. #-#-#-#-# debian-unstable: eventfd.2.pot (PACKAGE VERSION) #-#-#-#-# #. Note from Davide: #. The ENODEV error is basically never going to happen if #. the kernel boots correctly. That error happen only if during #. the kernel initialization, some error occur in the anonymous #. inode source initialization. #. type: Plain text #. #-#-#-#-# fedora-44: eventfd.2.pot (PACKAGE VERSION) #-#-#-#-# #. Note from Davide: #. The ENODEV error is basically never going to happen if #. the kernel boots correctly. That error happen only if during #. the kernel initialization, some error occur in the anonymous #. inode source initialization. #. type: Plain text #. #-#-#-#-# fedora-rawhide: eventfd.2.pot (PACKAGE VERSION) #-#-#-#-# #. Note from Davide: #. The ENODEV error is basically never going to happen if #. the kernel boots correctly. That error happen only if during #. the kernel initialization, some error occur in the anonymous #. inode source initialization. #. type: Plain text #. #-#-#-#-# mageia-cauldron: eventfd.2.pot (PACKAGE VERSION) #-#-#-#-# #. Note from Davide: #. The ENODEV error is basically never going to happen if #. the kernel boots correctly. That error happen only if during #. the kernel initialization, some error occur in the anonymous #. inode source initialization. #. type: Plain text #. #-#-#-#-# opensuse-leap-16-1: eventfd.2.pot (PACKAGE VERSION) #-#-#-#-# #. Note from Davide: #. The ENODEV error is basically never going to happen if #. the kernel boots correctly. That error happen only if during #. the kernel initialization, some error occur in the anonymous #. inode source initialization. #. type: Plain text #. #-#-#-#-# opensuse-tumbleweed: eventfd.2.pot (PACKAGE VERSION) #-#-#-#-# #. Note from Davide: #. The ENODEV error is basically never going to happen if #. the kernel boots correctly. That error happen only if during #. the kernel initialization, some error occur in the anonymous #. inode source initialization. #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Could not mount (internal) anonymous inode device." msgstr "تعذر وصل جهاز inode (داخلي) مجهول." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "There was insufficient memory to create a new eventfd file descriptor." msgstr "لم تكن هناك ذاكرة كافية لإنشاء واصف ملف eventfd جديد." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "ATTRIBUTES" msgstr "السمات" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "For an explanation of the terms used in this section, see B(7)." msgstr "" "للاطلاع على شرح للمصطلحات المستخدمة في هذا القسم، انظر B(7)." #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Interface" msgstr "الواجهة" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Attribute" msgstr "السمة" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Value" msgstr "القيمة" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid ".na\n" msgstr ".na\n" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid ".nh\n" msgstr ".nh\n" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B()" msgstr "B()" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Thread safety" msgstr "سلامة الخيوط" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "MT-Safe" msgstr "MT-Safe" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "VERSIONS" msgstr "الإصدارات" #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "C library/kernel differences" msgstr "الاختلافات بين مكتبة C والنواة" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "There are two underlying Linux system calls: B() and the more " "recent B(). The former system call does not implement a I " "argument. The latter system call implements the I values described " "above. The glibc wrapper function will use B() where it is " "available." msgstr "" "يوجد استدعاءان نظاميان أساسيان في لينكس: B() و B() " "الأحدث. لا ينفذ استدعاء النظام الأول وسيط I. ينفذ استدعاء النظام " "الثاني قيم I الموصوفة أعلاه. ستستخدم دالة الغلاف glibc B() " "حيثما كانت متاحة." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Additional glibc features" msgstr "ميزات glibc إضافية" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The GNU C library defines an additional type, and two functions that attempt " "to abstract some of the details of reading and writing on an eventfd file " "descriptor:" msgstr "" "تعرف مكتبة C في GNU نوعًا إضافيًا، ودالتين تحاولان تجريد بعض تفاصيل القراءة " "والكتابة على واصف ملف eventfd:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "typedef uint64_t eventfd_t;\n" "\\&\n" "int eventfd_read(int fd, eventfd_t *value);\n" "int eventfd_write(int fd, eventfd_t value);\n" msgstr "" "typedef uint64_t eventfd_t;\n" "\\&\n" "int eventfd_read(int fd, eventfd_t *value);\n" "int eventfd_write(int fd, eventfd_t value);\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The functions perform the read and write operations on an eventfd file " "descriptor, returning 0 if the correct number of bytes was transferred, or " "-1 otherwise." msgstr "" "تنفذ الدالتان عمليات القراءة والكتابة على واصف ملف eventfd، وتُعيدان 0 إذا " "نُقل العدد الصحيح من البايتات، أو -1 بخلاف ذلك." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "STANDARDS" msgstr "المعايير" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Linux, GNU." msgstr "لينكس، جنو." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "HISTORY" msgstr "التاريخ" #. eventfd() is in glibc 2.7, but reportedly does not build #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Linux 2.6.22, glibc 2.8." msgstr "لينكس 2.6.22، glibc 2.8." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B()" msgstr "B()" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Linux 2.6.27 (see VERSIONS). Since glibc 2.9, the B() wrapper " "will employ the B() system call, if it is supported by the kernel." msgstr "" "لينكس 2.6.27 (انظر الإصدارات). منذ glibc 2.9، ستستخدم الدالة المغلفة " "B() استدعاء النظام B() إذا كان مدعومًا من النواة." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NOTES" msgstr "ملاحظات" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Applications can use an eventfd file descriptor instead of a pipe (see " "B(2)) in all cases where a pipe is used simply to signal events. The " "kernel overhead of an eventfd file descriptor is much lower than that of a " "pipe, and only one file descriptor is required (versus the two required for " "a pipe)." msgstr "" "يمكن للتطبيقات استخدام واصف ملف eventfd بدلاً من الأنبوب (انظر B(2)) في " "جميع الحالات التي يُستخدم فيها الأنبوب ببساطة للإشارة إلى الأحداث. الحمل " "الزائد للنواة لواصف ملف eventfd أقل بكثير من ذلك الخاص بالأنبوب، ويلزم واصف " "ملف واحد فقط (مقابل اثنين مطلوبين للأنبوب)." #. or eventually syslets/threadlets #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "When used in the kernel, an eventfd file descriptor can provide a bridge " "from kernel to user space, allowing, for example, functionalities like KAIO " "(kernel AIO) to signal to a file descriptor that some operation is complete." msgstr "" "عند استخدامه في النواة، يمكن لواصف ملف eventfd توفير جسر من النواة إلى مساحة " "المستخدم، مما يسمح، على سبيل المثال، لوظائف مثل KAIO (AIO النواة) بالإشارة " "إلى واصف ملف بأن عملية ما قد اكتملت." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A key point about an eventfd file descriptor is that it can be monitored " "just like any other file descriptor using B(2), " "B(2), or B(7).)" msgstr "" "نقطة رئيسية حول واصف ملف eventfd هي أنه يمكن مراقبته تمامًا مثل أي واصف ملف " "آخر باستخدام B(2) أو B(2) أو B(7).)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The current value of an eventfd counter can be viewed via the entry for the " "corresponding file descriptor in the process's IpidI " "directory. See B(5) for further details." msgstr "" "يمكن عرض القيمة الحالية لعداد eventfd عبر الإدخال الخاص بواصف الملف المقابل " "في دليل IpidI الخاص بالعملية. انظر B(5) لمزيد من " "التفاصيل." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "EXAMPLES" msgstr "أمثلة" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The following program creates an eventfd file descriptor and then forks to " "create a child process. While the parent briefly sleeps, the child writes " "each of the integers supplied in the program's command-line arguments to the " "eventfd file descriptor. When the parent has finished sleeping, it reads " "from the eventfd file descriptor." msgstr "" "يقوم البرنامج التالي بإنشاء واصف ملف eventfd ثم يتفرع لإنشاء عملية تابعة. " "بينما ينام الأب لفترة وجيزة، يكتب الابن كل عدد صحيح من الأعداد الصحيحة " "المقدمة في وسائط سطر أوامر البرنامج إلى واصف ملف eventfd. عندما ينهي الأب " "النوم، يقرأ من واصف ملف eventfd." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "The following shell session shows a sample run of the program:" msgstr "تظهر جلسة الصدفة التالية تشغيلًا نموذجيًا للبرنامج:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "$B< ./a.out 1 2 4 7 14>\n" "Child writing 1 to efd\n" "Child writing 2 to efd\n" "Child writing 4 to efd\n" "Child writing 7 to efd\n" "Child writing 14 to efd\n" "Child completed write loop\n" "Parent about to read\n" "Parent read 28 (0x1c) from efd\n" msgstr "" "$B< ./a.out 1 2 4 7 14>\n" "Child writing 1 to efd\n" "Child writing 2 to efd\n" "Child writing 4 to efd\n" "Child writing 7 to efd\n" "Child writing 14 to efd\n" "Child completed write loop\n" "Parent about to read\n" "Parent read 28 (0x1c) from efd\n" #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Program source" msgstr "مصدر البرنامج" #. type: Plain text #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "#include Eerr.hE\n" "#include Einttypes.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Esys/eventfd.hE\n" "#include Esys/types.hE\n" "#include Eunistd.hE\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " int efd;\n" " uint64_t u;\n" " ssize_t s;\n" "\\&\n" " if (argc E 2) {\n" " fprintf(stderr, \"Usage: %s EnumE...\\[rs]n\", argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " efd = eventfd(0, 0);\n" " if (efd == -1)\n" " err(EXIT_FAILURE, \"eventfd\");\n" "\\&\n" " switch (fork()) {\n" " case 0:\n" " for (size_t j = 1; j E argc; j++) {\n" " printf(\"Child writing %s to efd\\[rs]n\", argv[j]);\n" " u = strtoull(argv[j], NULL, 0);\n" " /* strtoull() allows various bases */\n" " s = write(efd, &u, sizeof(uint64_t));\n" " if (s != sizeof(uint64_t))\n" " err(EXIT_FAILURE, \"write\");\n" " }\n" " printf(\"Child completed write loop\\[rs]n\");\n" "\\&\n" " exit(EXIT_SUCCESS);\n" "\\&\n" " default:\n" " sleep(2);\n" "\\&\n" " printf(\"Parent about to read\\[rs]n\");\n" " s = read(efd, &u, sizeof(uint64_t));\n" " if (s != sizeof(uint64_t))\n" " err(EXIT_FAILURE, \"read\");\n" " printf(\"Parent read %w64u (%#w64x) from efd\\[rs]n\", u, u);\n" " exit(EXIT_SUCCESS);\n" "\\&\n" " case -1:\n" " err(EXIT_FAILURE, \"fork\");\n" " }\n" "}\n" msgstr "" "#include Eerr.hE\n" "#include Einttypes.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Esys/eventfd.hE\n" "#include Esys/types.hE\n" "#include Eunistd.hE\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " int efd;\n" " uint64_t u;\n" " ssize_t s;\n" "\\&\n" " if (argc E 2) {\n" " fprintf(stderr, \"Usage: %s EnumE...\\[rs]n\", argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " efd = eventfd(0, 0);\n" " if (efd == -1)\n" " err(EXIT_FAILURE, \"eventfd\");\n" "\\&\n" " switch (fork()) {\n" " case 0:\n" " for (size_t j = 1; j E argc; j++) {\n" " printf(\"Child writing %s to efd\\[rs]n\", argv[j]);\n" " u = strtoull(argv[j], NULL, 0);\n" " /* strtoull() allows various bases */\n" " s = write(efd, &u, sizeof(uint64_t));\n" " if (s != sizeof(uint64_t))\n" " err(EXIT_FAILURE, \"write\");\n" " }\n" " printf(\"Child completed write loop\\[rs]n\");\n" "\\&\n" " exit(EXIT_SUCCESS);\n" "\\&\n" " default:\n" " sleep(2);\n" "\\&\n" " printf(\"Parent about to read\\[rs]n\");\n" " s = read(efd, &u, sizeof(uint64_t));\n" " if (s != sizeof(uint64_t))\n" " err(EXIT_FAILURE, \"read\");\n" " printf(\"Parent read %w64u (%#w64x) from efd\\[rs]n\", u, u);\n" " exit(EXIT_SUCCESS);\n" "\\&\n" " case -1:\n" " err(EXIT_FAILURE, \"fork\");\n" " }\n" "}\n" #. SRC END #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SEE ALSO" msgstr "انظر أيضًا" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B(2), B(2), B(2), B(2), B(2), " "B(2), B(2), B(2), B(7), " "B(7)" #. type: TH #: debian-trixie #, no-wrap msgid "2024-06-15" msgstr "15 يونيو 2024" #. type: TH #: debian-trixie #, no-wrap msgid "Linux man-pages 6.9.1" msgstr "صفحات دليل لينكس 6.9.1" #. type: Plain text #: debian-trixie msgid "Standard C library (I, I<-lc>)" msgstr "مكتبة سي المعيارية (I، I<-lc>)" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron #, no-wrap msgid "" "#include Eerr.hE\n" "#include Einttypes.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Esys/eventfd.hE\n" "#include Esys/types.hE\n" "#include Eunistd.hE\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " int efd;\n" " uint64_t u;\n" " ssize_t s;\n" "\\&\n" " if (argc E 2) {\n" " fprintf(stderr, \"Usage: %s EnumE...\\[rs]n\", argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " efd = eventfd(0, 0);\n" " if (efd == -1)\n" " err(EXIT_FAILURE, \"eventfd\");\n" "\\&\n" " switch (fork()) {\n" " case 0:\n" " for (size_t j = 1; j E argc; j++) {\n" " printf(\"Child writing %s to efd\\[rs]n\", argv[j]);\n" " u = strtoull(argv[j], NULL, 0);\n" " /* strtoull() allows various bases */\n" " s = write(efd, &u, sizeof(uint64_t));\n" " if (s != sizeof(uint64_t))\n" " err(EXIT_FAILURE, \"write\");\n" " }\n" " printf(\"Child completed write loop\\[rs]n\");\n" "\\&\n" " exit(EXIT_SUCCESS);\n" "\\&\n" " default:\n" " sleep(2);\n" "\\&\n" " printf(\"Parent about to read\\[rs]n\");\n" " s = read(efd, &u, sizeof(uint64_t));\n" " if (s != sizeof(uint64_t))\n" " err(EXIT_FAILURE, \"read\");\n" " printf(\"Parent read %\"PRIu64\" (%#\"PRIx64\") from efd\\[rs]n\", u, u);\n" " exit(EXIT_SUCCESS);\n" "\\&\n" " case -1:\n" " err(EXIT_FAILURE, \"fork\");\n" " }\n" "}\n" msgstr "" "#include Eerr.hE\n" "#include Einttypes.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Esys/eventfd.hE\n" "#include Esys/types.hE\n" "#include Eunistd.hE\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " int efd;\n" " uint64_t u;\n" " ssize_t s;\n" "\\&\n" " if (argc E 2) {\n" " fprintf(stderr, \"Usage: %s EnumE...\\[rs]n\", argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " efd = eventfd(0, 0);\n" " if (efd == -1)\n" " err(EXIT_FAILURE, \"eventfd\");\n" "\\&\n" " switch (fork()) {\n" " case 0:\n" " for (size_t j = 1; j E argc; j++) {\n" " printf(\"Child writing %s to efd\\[rs]n\", argv[j]);\n" " u = strtoull(argv[j], NULL, 0);\n" " /* strtoull() allows various bases */\n" " s = write(efd, &u, sizeof(uint64_t));\n" " if (s != sizeof(uint64_t))\n" " err(EXIT_FAILURE, \"write\");\n" " }\n" " printf(\"Child completed write loop\\[rs]n\");\n" "\\&\n" " exit(EXIT_SUCCESS);\n" "\\&\n" " default:\n" " sleep(2);\n" "\\&\n" " printf(\"Parent about to read\\[rs]n\");\n" " s = read(efd, &u, sizeof(uint64_t));\n" " if (s != sizeof(uint64_t))\n" " err(EXIT_FAILURE, \"read\");\n" " printf(\"Parent read %\"PRIu64\" (%#\"PRIx64\") from efd\\[rs]n\", u, u);\n" " exit(EXIT_SUCCESS);\n" "\\&\n" " case -1:\n" " err(EXIT_FAILURE, \"fork\");\n" " }\n" "}\n" #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "2024-07-23" msgstr "23 يوليو 2024" #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "Linux man-pages 6.13" msgstr "صفحات دليل لينكس 6.13" #. type: TH #: mageia-cauldron #, no-wrap msgid "2026-02-08" msgstr "8 فبراير 2026" #. type: TH #: mageia-cauldron #, no-wrap msgid "Linux man-pages 6.17" msgstr "صفحات دليل لينكس 6.17" #. type: TH #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Linux man-pages (unreleased)" msgstr "صفحات دليل لينكس (لم تصدر بعد)"