# 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-02 20:00+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_key_create" msgstr "pthread_key_create" #. 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_key_create, pthread_key_delete, pthread_setspecific, " "pthread_getspecific - management of thread-specific data" msgstr "" "pthread_key_create, pthread_key_delete, pthread_setspecific, " "pthread_getspecific - إدارة بيانات خاصة بالخيط" #. 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-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "BIB<,>\n" "B< typeof(void (void *)) *>IB<;>\n" "BIB<);>\n" "BIB<, const void *>IB<);>\n" "BIB<);>\n" msgstr "" "BIB<,>\n" "B< typeof(void (void *)) *>IB<;>\n" "BIB<);>\n" "BIB<, const void *>IB<);>\n" "BIB<);>\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 "" "Programs often need global or static variables that have different values in " "different threads. Since threads share one memory space, this cannot be " "achieved with regular variables. Thread-specific data is the POSIX threads " "answer to this need." msgstr "" "غالبًا ما تحتاج البرامج إلى متغيرات عامة أو ثابتة لها قيم مختلفة في خيوط " "مختلفة. نظرًا لأن الخيوط تشترك في مساحة ذاكرة واحدة، لا يمكن تحقيق ذلك " "باستخدام المتغيرات العادية. البيانات الخاصة بالخيط هي إجابة خيوط POSIX لهذه " "الحاجة." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "Each thread possesses a private memory block, the thread-specific data area, " "or TSD area for short. This area is indexed by TSD keys. The TSD area " "associates values of type I to TSD keys. TSD keys are common to " "all threads, but the value associated with a given TSD key can be different " "in each thread." msgstr "" "يمتلك كل خيط كتلة ذاكرة خاصة، منطقة البيانات الخاصة بالخيط، أو منطقة TSD " "للاختصار. تُفهرس هذه المنطقة بمفاتيح TSD. تربط منطقة TSD قيمًا من النوع " "I بمفاتيح TSD. مفاتيح TSD مشتركة بين جميع الخيوط، لكن القيمة " "المرتبطة بمفتاح TSD معين يمكن أن تكون مختلفة في كل خيط." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "For concreteness, the TSD areas can be viewed as arrays of I " "pointers, TSD keys as integer indices into these arrays, and the value of a " "TSD key as the value of the corresponding array element in the calling " "thread." msgstr "" "للتحديد، يمكن عرض مناطق TSD كمصفوفات من المؤشرات I، ومفاتيح TSD " "كمؤشرات صحيحة إلى هذه المصفوفات، وقيمة مفتاح TSD كقيمة عنصر المصفوفة المقابل " "في الخيط المستدعي." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "When a thread is created, its TSD area initially associates NULL with all " "keys." msgstr "عند إنشاء خيط، تربط منطقة TSD الخاصة به مبدئيًا NULL بجميع المفاتيح." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "B() allocates a new TSD key. The key is stored in the " "location pointed to by I. There is a limit of B on " "the number of keys allocated at a given time. The value initially " "associated with the returned key is NULL in all currently executing threads." msgstr "" "تخصص B() مفتاح TSD جديد. يُخزَّن المفتاح في الموقع المشار " "إليه بواسطة I. يوجد حد أقصى قدره B على عدد المفاتيح " "المخصصة في وقت معين. القيمة المرتبطة مبدئيًا بالمفتاح المُعاد هي NULL في جميع " "الخيوط المنفذة حاليًا." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "The I argument, if not NULL, specifies a destructor function " "associated with the key. When a thread terminates via B() or " "by cancelation, I is called with arguments the value " "associated with the key in that thread. The I is not called " "if that value is NULL. The order in which destructor functions are called " "at thread termination time is unspecified." msgstr "" "الوسيطة I، إن لم تكن NULL، تحدد دالة مدمرة مرتبطة بالمفتاح. " "عندما يُنهى خيط عبر B() أو بالإلغاء، تُستدعى I " "مع وسائط القيمة المرتبطة بالمفتاح في ذلك الخيط. لا تُستدعى I " "إذا كانت تلك القيمة NULL. الترتيب الذي تُستدعى به الدوال المدمرة عند وقت " "إنهاء الخيط غير محدد." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "Before the destructor function is called, the NULL value is associated with " "the key in the current thread. A destructor function might, however, re-" "associate non-NULL values to that key or some other key. To deal with this, " "if after all the destructors have been called for all non-NULL values, there " "are still some non-NULL values with associated destructors, then the process " "is repeated. The glibc implementation stops the process after " "B iterations, even if some non-NULL values " "with associated descriptors remain. Other implementations may loop " "indefinitely." msgstr "" "قبل استدعاء الدالة المدمرة، تُربط القيمة NULL بالمفتاح في الخيط الحالي. قد " "تعيد الدالة المدمرة، مع ذلك، ربط قيم غير NULL بذلك المفتاح أو بمفتاح آخر. " "للتعامل مع هذا، إذا بعد استدعاء جميع المدمرات لجميع القيم غير NULL، بقيت بعض " "القيم غير NULL مع مدمرات مرتبطة، تُكرر العملية. يوقف تطبيق glibc العملية بعد " "B تكرارات، حتى لو بقيت بعض القيم غير NULL مع " "مدمرات مرتبطة. قد تكرر التطبيقات الأخرى إلى أجل غير مسمى." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "B() deallocates a TSD key. It does not check whether " "non-NULL values are associated with that key in the currently executing " "threads, nor call the destructor function associated with the key." msgstr "" "تلغي B() تخصيص مفتاح TSD. لا تتحقق مما إذا كانت قيم غير " "NULL مرتبطة بذلك المفتاح في الخيوط المنفذة حاليًا، ولا تستدعي الدالة المدمرة " "المرتبطة بالمفتاح." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "B() changes the value associated with I in the " "calling thread, storing the given I instead." msgstr "" "تغير B() القيمة المرتبطة بـ I في الخيط المستدعي، " "مخزنة I المعطى بدلاً من ذلك." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "B() returns the value currently associated with I " "in the calling thread." msgstr "" "ترجع B() القيمة المرتبطة حاليًا بـ I في الخيط " "المستدعي." #. 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-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "B(), B(), and " "B() return 0 on success and a non-zero error code on " "failure. If successful, B() stores the newly allocated " "key in the location pointed to by its I argument." msgstr "" "ترجع B() و B() و " "B() 0 عند النجاح ورمز خطأ غير صفري عند الفشل. إذا نجحت، " "تخزن B() المفتاح المخصص حديثًا في الموقع المشار إليه " "بواسطة وسيطتها I." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "B() returns the value associated with I on " "success, and NULL on error." msgstr "" "ترجع B() القيمة المرتبطة بـ I عند النجاح، وNULL " "عند الخطأ." #. 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-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "B() returns the following error code on 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 "B keys are already allocated." msgstr "مفاتيح B مخصصة بالفعل." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "B() and B() return the following " "error code on error:" msgstr "" "ترجع B() و 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 "I is not a valid, allocated TSD key." msgstr "I ليس مفتاح TSD صالحًا ومخصصًا." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "B() returns NULL if I is not a valid, allocated " "TSD key." msgstr "" "ترجع B() NULL إذا كان I ليس مفتاح TSD صالحًا ومخصصًا." #. 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 "pthread_create(3), pthread_exit(3), pthread_testcancel(3)." msgstr "pthread_create(3), pthread_exit(3), pthread_testcancel(3)." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "EXAMPLE" msgstr "مثال" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The following code fragment allocates a thread-specific array of 100 " "characters, with automatic reclamation at thread exit:" msgstr "" "يُخصص مقطع الشيفرة التالي مصفوفة خاصة بالخيط من 100 حرف، مع استعادة آلية عند " "خروج الخيط:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "B\n" msgstr "" "B\n" #. type: TH #: debian-trixie #, no-wrap msgid "2024-06-16" msgstr "16 يونيو 2024" #. type: TH #: debian-trixie #, no-wrap msgid "Linux man-pages 6.9.1" msgstr "صفحات دليل لينكس 6.9.1" #. type: Plain text #: debian-trixie #, no-wrap msgid "" "BIB<,>\n" "B< void (*>IB<) (void *));>\n" "BIB<);>\n" "BIB<, const void *>IB<);>\n" "BIB<);>\n" msgstr "" "BIB<,>\n" "B< void (*>IB<) (void *));>\n" "BIB<);>\n" "BIB<, const void *>IB<);>\n" "BIB<);>\n" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Each thread possesses a private memory block, the thread-specific data area, " "or TSD area for short. This area is indexed by TSD keys. The TSD area " "associates values of type B to TSD keys. TSD keys are common to all " "threads, but the value associated with a given TSD key can be different in " "each thread." msgstr "" "يمتلك كل خيط كتلة ذاكرة خاصة، منطقة البيانات الخاصة بالخيط، أو منطقة TSD " "للاختصار. تُفهرس هذه المنطقة بمفاتيح TSD. تربط منطقة TSD قيمًا من النوع B بمفاتيح TSD. مفاتيح TSD مشتركة بين جميع الخيوط، لكن القيمة المرتبطة " "بمفتاح TSD معين قد تكون مختلفة في كل خيط." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "For concreteness, the TSD areas can be viewed as arrays of B " "pointers, TSD keys as integer indices into these arrays, and the value of a " "TSD key as the value of the corresponding array element in the calling " "thread." msgstr "" "للتوضيح، يمكن النظر إلى مناطق TSD كمصفوفات من المؤشرات B، ومفاتيح " "TSD كمؤشرات صحيحة إلى هذه المصفوفات، وقيمة مفتاح TSD كقيمة عنصر المصفوفة " "المقابل في الخيط المستدعي." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "When a thread is created, its TSD area initially associates B with all " "keys." msgstr "عند إنشاء خيط، تربط منطقة TSD الخاصة به مبدئيًا B بجميع المفاتيح." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "B allocates a new TSD key. The key is stored in the " "location pointed to by I. There is a limit of B on " "the number of keys allocated at a given time. The value initially " "associated with the returned key is B in all currently executing " "threads." msgstr "" "يُخصص B مفتاح TSD جديد. يُخزن المفتاح في الموقع المشار " "إليه بواسطة I. يوجد حد أقصى قدره B على عدد المفاتيح " "المخصصة في وقت معين. القيمة المرتبطة مبدئيًا بالمفتاح المُعاد هي B في " "جميع الخيوط المنفذة حاليًا." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "The I argument, if not B, specifies a destructor " "function associated with the key. When a thread terminates via " "B or by cancelation, I is called with " "arguments the value associated with the key in that thread. The " "I is not called if that value is B. The order in " "which destructor functions are called at thread termination time is " "unspecified." msgstr "" "الوسيط I، إذا لم يكن B، يُحدد دالة مدمرة مرتبطة " "بالمفتاح. عندما يُنهي خيط عبر B أو بالإلغاء، تُستدعى " "I مع وسائط القيمة المرتبطة بالمفتاح في ذلك الخيط. لا تُستدعى " "I إذا كانت تلك القيمة B. الترتيب الذي تُستدعى به الدوال " "المدمرة عند وقت إنهاء الخيط غير محدد." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Before the destructor function is called, the B value is associated " "with the key in the current thread. A destructor function might, however, " "re-associate non-B values to that key or some other key. To deal with " "this, if after all the destructors have been called for all non-B " "values, there are still some non-B values with associated destructors, " "then the process is repeated. The glibc implementation stops the process " "after B iterations, even if some non-B " "values with associated descriptors remain. Other implementations may loop " "indefinitely." msgstr "" "قبل استدعاء الدالة المدمرة، تُربط القيمة B بالمفتاح في الخيط الحالي. قد " "تعيد الدالة المدمرة، مع ذلك، ربط قيم غير B بذلك المفتاح أو بمفتاح آخر. " "للتعامل مع هذا، إذا بعد استدعاء جميع المدمرات لجميع القيم غير B، بقيت " "بعض القيم غير B مع مدمرات مرتبطة، تُكرر العملية. يُوقف تطبيق glibc " "العملية بعد B تكرارًا، حتى لو بقيت بعض القيم " "غير B مع واصفات مرتبطة. قد تُكرر التطبيقات الأخرى إلى أجل غير مسمى." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "B deallocates a TSD key. It does not check whether non-" "B values are associated with that key in the currently executing " "threads, nor call the destructor function associated with the key." msgstr "" "يُحرر B مفتاح TSD. لا يتحقق مما إذا كانت قيم غير B " "مرتبطة بذلك المفتاح في الخيوط المنفذة حاليًا، ولا يستدعي الدالة المدمرة " "المرتبطة بالمفتاح." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "B changes the value associated with I in the " "calling thread, storing the given I instead." msgstr "" "يُغير B القيمة المرتبطة بـ I في الخيط المستدعي، " "مخزنًا المؤشر I المعطى بدلاً من ذلك." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "B returns the value currently associated with I in " "the calling thread." msgstr "" "يُعيد B القيمة المرتبطة حاليًا بـ I في الخيط " "المستدعي." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "B, B, and B " "return 0 on success and a non-zero error code on failure. If successful, " "B stores the newly allocated key in the location pointed " "to by its I argument." msgstr "" "تُعيد B و B و B " "0 عند النجاح ورمز خطأ غير صفري عند الفشل. إذا نجحت، تُخزن " "B المفتاح المُخصص حديثًا في الموقع المشار إليه بواسطة " "وسيطها I." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "B returns the value associated with I on success, " "and B on error." msgstr "" "تُعيد B القيمة المرتبطة بـ I عند النجاح، و B " "عند الخطأ." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "B returns the following error code on error:" msgstr "تُعيد B رمز الخطأ التالي عند الخطأ:" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "B and B return the following error " "code on error:" msgstr "" "تُعيد B و B رمز الخطأ التالي عند " "الخطأ:" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "B returns B if I is not a valid, allocated " "TSD key." msgstr "" "تُعيد B B إذا لم يكن I مفتاح TSD صالحًا ومخصصًا." #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "2025-01-11" msgstr "11 يناير 2025" #. 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 "صفحات دليل لينكس (لم تصدر بعد)"