# 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 4.30.2\n" "POT-Creation-Date: 2026-06-05 06:38+0200\n" "PO-Revision-Date: 2026-06-03 06:42+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 "pthread_setcancelstate" msgstr "pthread_setcancelstate" #. type: TH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "2025-05-17" msgstr "17 مايو 2025" #. 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 "" "pthread_setcancelstate, pthread_setcanceltype - set cancelability state and " "type" msgstr "" "pthread_setcancelstate, pthread_setcanceltype - ضبط حالة ونوع قابلية الإلغاء" #. 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 "POSIX threads library (I,\\ I<-lpthread>)" msgstr "مكتبة مسالك POSIX (I،\\ I<-lpthread>)" #. 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 Epthread.hE>\n" msgstr "B<#include Epthread.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" "BIB<, int *>IB<);>\n" msgstr "" "BIB<, int *>IB<);>\n" "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 "" "The B() sets the cancelability state of the calling " "thread to the value given in I. The previous cancelability state of " "the thread is returned in the buffer pointed to by I. The " "I argument must have one of the following values:" msgstr "" "تضبط الدالة B() حالة قابلية الإلغاء للخيط المستدعي " "إلى القيمة المُعطاة في I. تُعاد حالة قابلية الإلغاء السابقة للخيط في " "المخزن المؤقت المُشار إليه بـ I. يجب أن تحتوي وسيطة 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 thread is cancelable. This is the default cancelability state in all " "new threads, including the initial thread. The thread's cancelability type " "determines when a cancelable thread will respond to a cancelation request." 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 thread is not cancelable. If a cancelation request is received, it is " "blocked until cancelability is enabled." msgstr "" "الخيط غير قابل للإلغاء. إذا وُرد طلب إلغاء، يُحجب حتى تُفعّل قابلية الإلغاء." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The B() sets the cancelability type of the calling " "thread to the value given in I. The previous cancelability type of " "the thread is returned in the buffer pointed to by I. The I " "argument must have one of the following values:" msgstr "" "تضبط الدالة B() نوع قابلية الإلغاء للخيط المستدعي إلى " "القيمة المُعطاة في I. يُعاد نوع قابلية الإلغاء السابق للخيط في المخزن " "المؤقت المُشار إليه بـ I. يجب أن تحتوي وسيطة 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 "" "A cancelation request is deferred until the thread next calls a function " "that is a cancelation point (see B(7)). This is the default " "cancelability type in all new threads, including the initial thread." msgstr "" "يُؤجّل طلب الإلغاء حتى يستدعي الخيط بعد ذلك دالة تمثل نقطة إلغاء (انظر " "B(7)). هذا هو نوع قابلية الإلغاء المبدئي في جميع الخيوط الجديدة، " "بما في ذلك الخيط الرئيس." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Even with deferred cancelation, a cancelation point in an asynchronous " "signal handler may still be acted upon and the effect is as if it was an " "asynchronous cancelation." 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 thread can be canceled at any time. (Typically, it will be canceled " "immediately upon receiving a cancelation request, but the system doesn't " "guarantee this.)" msgstr "" "يمكن إلغاء الخيط في أي وقت. (عادةً، يُلغى فور استلام طلب إلغاء، لكن النظام لا " "يضمن ذلك.)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The set-and-get operation performed by each of these functions is atomic " "with respect to other threads in the process calling the same function." msgstr "" "عملية الضبط والاسترداد التي تُنفذها كل من هذه الدوال ذرية بالنسبة للخيوط " "الأخرى في العملية التي تستدعي نفس الدالة." #. 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, these functions return 0; on error, they return a nonzero error " "number." msgstr "" "عند النجاح، تُعيد هذه الدوال القيمة 0؛ وعند الخطأ، تُعيد رقم خطأ غير صفري." #. 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: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "The B() can fail with the following error:" 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" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Invalid value for I." msgstr "قيمة غير صالحة لـ I." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "The B() can fail with the following error:" msgstr "قد تفشل الدالة B() مع الخطأ التالي:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Invalid value for I." msgstr "قيمة غير صالحة لـ I." #. 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: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "B(),\n" "B()" msgstr "" "B(),\n" "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: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Async-cancel 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 "AC-Safe" msgstr "AC-Safe" #. 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 "POSIX.1-2008." msgstr "POSIX.1-2008." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "HISTORY" msgstr "التاريخ" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "glibc 2.0 POSIX.1-2001." msgstr "glibc 2.0 POSIX.1-2001." #. 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 "" "For details of what happens when a thread is canceled, see B<\\" "%pthread_cancel>(3)." msgstr "للحصول على تفاصيل ما يحدث عند إلغاء خيط، انظر B<\\%pthread_cancel>(3)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Briefly disabling cancelability is useful if a thread performs some critical " "action that must not be interrupted by a cancelation request. Beware of " "disabling cancelability for long periods, or around operations that may " "block for long periods, since that will render the thread unresponsive to " "cancelation requests." msgstr "" "تعطيل قابلية الإلغاء لفترة وجيزة مفيد إذا كان الخيط ينفذ إجراءً حرجًا لا يجب " "مقاطعته بطلب إلغاء. احذر من تعطيل قابلية الإلغاء لفترات طويلة، أو حول عمليات " "قد تمنع لفترات طويلة، لأن ذلك سيجعل الخيط غير مستجيب لطلبات الإلغاء." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Asynchronous cancelability" msgstr "قابلية الإلغاء غير المتزامنة" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Setting the cancelability type to B is rarely " "useful. Since the thread could be canceled at I time, it cannot safely " "reserve resources (e.g., allocating memory with B(3)), acquire " "mutexes, semaphores, or locks, and so on. Reserving resources is unsafe " "because the application has no way of knowing what the state of these " "resources is when the thread is canceled; that is, did cancelation occur " "before the resources were reserved, while they were reserved, or after they " "were released? Furthermore, some internal data structures (e.g., the linked " "list of free blocks managed by the B(3) family of functions) may be " "left in an inconsistent state if cancelation occurs in the middle of the " "function call. Consequently, clean-up handlers cease to be useful." msgstr "" "ضبط نوع قابلية الإلغاء إلى B نادرًا ما يكون " "مفيدًا. نظرًا لأنه يمكن إلغاء الخيط في I<أي> وقت، فلا يمكنه حجز الموارد بأمان " "(مثل تخصيص الذاكرة باستخدام B(3))، أو الحصول على كائنات المزامنة، أو " "الإشارات، أو الأقفال، وما إلى ذلك. حجز الموارد غير آمن لأن التطبيق ليس لديه " "طريقة لمعرفة حالة هذه الموارد عند إلغاء الخيط؛ أي هل حدث الإلغاء قبل حجز " "الموارد، أو أثناء حجزها، أو بعد تحريرها؟ علاوة على ذلك، قد تُترك بعض هياكل " "البيانات الداخلية (مثل القائمة المرتبطة للكتل الحرة التي تديرها عائلة دوال " "B(3)) في حالة غير متناسقة إذا حدث الإلغاء في منتصف استدعاء الدالة. " "وبالتالي، تتوقف معالجات التنظيف عن كونها مفيدة." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Functions that can be safely asynchronously canceled are called I. POSIX.1-2001 and POSIX.1-2008 require only that " "B(3), B(), and " "B() be async-cancel-safe. In general, other library " "functions can't be safely called from an asynchronously cancelable thread." msgstr "" "الدوال التي يمكن إلغاؤها بأمان بشكل غير متزامن تُسمى I<دوال آمنة للإلغاء غير " "المتزامن>. يتطلب POSIX.1-2001 و POSIX.1-2008 فقط أن تكون " "B(3) و B() و " "B() آمنة للإلغاء غير المتزامن. بشكل عام، لا يمكن " "استدعاء دوال المكتبة الأخرى بأمان من خيط قابل للإلغاء غير المتزامن." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "One of the few circumstances in which asynchronous cancelability is useful " "is for cancelation of a thread that is in a pure compute-bound loop." msgstr "" "أحد الظروف القليلة التي تكون فيها قابلية الإلغاء غير المتزامنة مفيدة هو " "إلغاء خيط موجود في حلقة حسابية بحتة." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Portability notes" msgstr "ملاحظات حول قابلية النقل" #. It looks like at least Solaris, FreeBSD and Tru64 support this. #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The Linux threading implementations permit the I argument of " "B() to be NULL, in which case the information about " "the previous cancelability state is not returned to the caller. Many other " "implementations also permit a NULL I argument, but POSIX.1 does not " "specify this point, so portable applications should always specify a non-" "NULL value in I. A precisely analogous set of statements applies " "for the I argument of B()." msgstr "" "تسمح تطبيقات الخيوط في Linux بأن تكون وسيطة I للدالة " "B() NULL، وفي هذه الحالة لا تُعاد معلومات عن حالة " "قابلية الإلغاء السابقة إلى المستدعي. تسمح العديد من التطبيقات الأخرى أيضًا " "بوسيطة I بقيمة NULL، لكن POSIX.1 لا يحدد هذه النقطة، لذا يجب على " "التطبيقات المحمولة دائمًا تحديد قيمة غير NULL في I. تنطبق مجموعة " "مماثلة تمامًا من العبارات على وسيطة I للدالة " "B()." #. 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 "See B(3)." msgstr "انظر B(3)." #. 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(3), B(3), B(3), " "B(7)" msgstr "" "B(3)، B(3)، B(3)، " "B(7)" #. type: TH #: debian-trixie #, no-wrap msgid "2024-05-02" msgstr "2 مايو 2024" #. type: TH #: debian-trixie #, no-wrap msgid "Linux man-pages 6.9.1" msgstr "صفحات دليل لينكس 6.9.1" #. type: Plain text #: debian-trixie msgid "POSIX threads library (I, I<-lpthread>)" msgstr "مكتبة مسالك POSIX (I، I<-lpthread>)" #. 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 "Linux man-pages 6.17" msgstr "صفحات دليل لينكس 6.17" #. type: TH #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Linux man-pages (unreleased)" msgstr "صفحات دليل لينكس (لم تصدر بعد)"