# 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_sigmask" msgstr "pthread_sigmask" #. type: TH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "2025-09-21" msgstr "21 سبتمبر 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_sigmask - examine and change mask of blocked signals" msgstr "pthread_sigmask - فحص وتغيير قناع الإشارات المحجوبة" #. 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 Esignal.hE>\n" msgstr "B<#include Esignal.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<, const sigset_t *>IB<, sigset_t *>IB<);>\n" msgstr "BIB<, const sigset_t *>IB<, sigset_t *>IB<);>\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Feature Test Macro Requirements for glibc (see B(7)):" msgstr "" "متطلبات ماكروات اختبار الميزات لـ glibc (انظر B(7)):" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "B():" msgstr "B():" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid " _POSIX_C_SOURCE E= 199506L || _XOPEN_SOURCE E= 500\n" msgstr " _POSIX_C_SOURCE E= 199506L || _XOPEN_SOURCE E= 500\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() function is just like B(2), with the " "difference that its use in multithreaded programs is explicitly specified by " "POSIX.1. Other differences are noted in this page." msgstr "" "الدالة B() تشبه تمامًا B(2)، مع الفارق أن " "استخدامها في البرامج متعددة الخيوط محدد صراحةً بواسطة POSIX.1. الفروق الأخرى " "مذكورة في هذه الصفحة." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "For a description of the arguments and operation of this function, see " "B(2)." msgstr "لوصف المعاملات وتشغيل هذه الدالة، انظر 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 0; on error, it returns an error " "number." msgstr "عند النجاح، تُرجع B() 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 "See B(2)." msgstr "انظر B(2)." #. 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()" 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 "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 "POSIX.1-2001." msgstr "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 "A new thread inherits a copy of its creator's signal mask." msgstr "يرث الخيط الجديد نسخة من قناع الإشارات لمنشئه." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The glibc B() function silently ignores attempts to block " "the two real-time signals that are used internally by the NPTL threading " "implementation. See B(7) for details." msgstr "" "تتجاهل دالة glibc B() بصمت محاولات حجب إشارتي الوقت الفعلي " "المستخدمتين داخليًا بواسطة تطبيق الخيوط NPTL. انظر B(7) للتفاصيل." #. 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 program below blocks some signals in the main thread, and then creates a " "dedicated thread to fetch those signals via B(3). The following " "shell session demonstrates its use:" msgstr "" "يحجب البرنامج أدناه بعض الإشارات في الخيط الرئيس، ثم ينشئ خيطًا مخصصًا لجلب " "تلك الإشارات عبر B(3). توضح جلسة الصدفة التالية استخدامه:" #. 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 &>\n" "[1] 5423\n" "$B< kill -QUIT %1>\n" "Signal handling thread got signal 3\n" "$B< kill -USR1 %1>\n" "Signal handling thread got signal 10\n" "$B< kill -TERM %1>\n" "[1]+ Terminated ./a.out\n" msgstr "" "$B< ./a.out &>\n" "[1] 5423\n" "$B< kill -QUIT %1>\n" "Signal handling thread got signal 3\n" "$B< kill -USR1 %1>\n" "Signal handling thread got signal 10\n" "$B< kill -TERM %1>\n" "[1]+ Terminated ./a.out\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 mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "#include Eerr.hE\n" "#include Eerrno.hE\n" "#include Epthread.hE\n" "#include Esignal.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Eunistd.hE\n" "\\&\n" "/* Simple error handling functions */\n" "\\&\n" "static void *\n" "sig_thread(void *arg)\n" "{\n" " sigset_t *set = arg;\n" " int s, sig;\n" "\\&\n" " for (;;) {\n" " s = sigwait(set, &sig);\n" " if (s != 0)\n" " errc(EXIT_FAILURE, s, \"sigwait\");\n" " printf(\"Signal handling thread got signal %d\\[rs]n\", sig);\n" " }\n" "}\n" "\\&\n" "int\n" "main(void)\n" "{\n" " pthread_t thread;\n" " sigset_t set;\n" " int s;\n" "\\&\n" " /* Block SIGQUIT and SIGUSR1; other threads created by main()\n" " will inherit a copy of the signal mask. */\n" "\\&\n" " sigemptyset(&set);\n" " sigaddset(&set, SIGQUIT);\n" " sigaddset(&set, SIGUSR1);\n" " s = pthread_sigmask(SIG_BLOCK, &set, NULL);\n" " if (s != 0)\n" " errc(EXIT_FAILURE, s, \"pthread_sigmask\");\n" "\\&\n" " s = pthread_create(&thread, NULL, &sig_thread, &set);\n" " if (s != 0)\n" " errc(EXIT_FAILURE, s, \"pthread_create\");\n" "\\&\n" " /* Main thread carries on to create other threads and/or do\n" " other work. */\n" "\\&\n" " pause(); /* Dummy pause so we can test program */\n" "}\n" msgstr "" "#include Eerr.hE\n" "#include Eerrno.hE\n" "#include Epthread.hE\n" "#include Esignal.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Eunistd.hE\n" "\\&\n" "/* Simple error handling functions */\n" "\\&\n" "static void *\n" "sig_thread(void *arg)\n" "{\n" " sigset_t *set = arg;\n" " int s, sig;\n" "\\&\n" " for (;;) {\n" " s = sigwait(set, &sig);\n" " if (s != 0)\n" " errc(EXIT_FAILURE, s, \"sigwait\");\n" " printf(\"Signal handling thread got signal %d\\[rs]n\", sig);\n" " }\n" "}\n" "\\&\n" "int\n" "main(void)\n" "{\n" " pthread_t thread;\n" " sigset_t set;\n" " int s;\n" "\\&\n" " /* Block SIGQUIT and SIGUSR1; other threads created by main()\n" " will inherit a copy of the signal mask. */\n" "\\&\n" " sigemptyset(&set);\n" " sigaddset(&set, SIGQUIT);\n" " sigaddset(&set, SIGUSR1);\n" " s = pthread_sigmask(SIG_BLOCK, &set, NULL);\n" " if (s != 0)\n" " errc(EXIT_FAILURE, s, \"pthread_sigmask\");\n" "\\&\n" " s = pthread_create(&thread, NULL, &sig_thread, &set);\n" " if (s != 0)\n" " errc(EXIT_FAILURE, s, \"pthread_create\");\n" "\\&\n" " /* Main thread carries on to create other threads and/or do\n" " other work. */\n" "\\&\n" " pause(); /* Dummy pause so we can test program */\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(3), B(3), B(3), " "B(3), B(7), B(7)" msgstr "" "B(2), B(2), B(2), " "B(3), B(3), B(3), " "B(3), 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 "POSIX threads library (I, I<-lpthread>)" msgstr "مكتبة مسالك POSIX (I، I<-lpthread>)" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "" "#include Eerrno.hE\n" "#include Epthread.hE\n" "#include Esignal.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Eunistd.hE\n" "\\&\n" "/* Simple error handling functions */\n" "\\&\n" "#define handle_error_en(en, msg) \\[rs]\n" " do { errno = en; perror(msg); exit(EXIT_FAILURE); } while (0)\n" "\\&\n" "static void *\n" "sig_thread(void *arg)\n" "{\n" " sigset_t *set = arg;\n" " int s, sig;\n" "\\&\n" " for (;;) {\n" " s = sigwait(set, &sig);\n" " if (s != 0)\n" " handle_error_en(s, \"sigwait\");\n" " printf(\"Signal handling thread got signal %d\\[rs]n\", sig);\n" " }\n" "}\n" "\\&\n" "int\n" "main(void)\n" "{\n" " pthread_t thread;\n" " sigset_t set;\n" " int s;\n" "\\&\n" " /* Block SIGQUIT and SIGUSR1; other threads created by main()\n" " will inherit a copy of the signal mask. */\n" "\\&\n" " sigemptyset(&set);\n" " sigaddset(&set, SIGQUIT);\n" " sigaddset(&set, SIGUSR1);\n" " s = pthread_sigmask(SIG_BLOCK, &set, NULL);\n" " if (s != 0)\n" " handle_error_en(s, \"pthread_sigmask\");\n" "\\&\n" " s = pthread_create(&thread, NULL, &sig_thread, &set);\n" " if (s != 0)\n" " handle_error_en(s, \"pthread_create\");\n" "\\&\n" " /* Main thread carries on to create other threads and/or do\n" " other work. */\n" "\\&\n" " pause(); /* Dummy pause so we can test program */\n" "}\n" msgstr "" "#include Eerrno.hE\n" "#include Epthread.hE\n" "#include Esignal.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Eunistd.hE\n" "\\&\n" "/* Simple error handling functions */\n" "\\&\n" "#define handle_error_en(en, msg) \\[rs]\n" " do { errno = en; perror(msg); exit(EXIT_FAILURE); } while (0)\n" "\\&\n" "static void *\n" "sig_thread(void *arg)\n" "{\n" " sigset_t *set = arg;\n" " int s, sig;\n" "\\&\n" " for (;;) {\n" " s = sigwait(set, &sig);\n" " if (s != 0)\n" " handle_error_en(s, \"sigwait\");\n" " printf(\"Signal handling thread got signal %d\\[rs]n\", sig);\n" " }\n" "}\n" "\\&\n" "int\n" "main(void)\n" "{\n" " pthread_t thread;\n" " sigset_t set;\n" " int s;\n" "\\&\n" " /* Block SIGQUIT and SIGUSR1; other threads created by main()\n" " will inherit a copy of the signal mask. */\n" "\\&\n" " sigemptyset(&set);\n" " sigaddset(&set, SIGQUIT);\n" " sigaddset(&set, SIGUSR1);\n" " s = pthread_sigmask(SIG_BLOCK, &set, NULL);\n" " if (s != 0)\n" " handle_error_en(s, \"pthread_sigmask\");\n" "\\&\n" " s = pthread_create(&thread, NULL, &sig_thread, &set);\n" " if (s != 0)\n" " handle_error_en(s, \"pthread_create\");\n" "\\&\n" " /* Main thread carries on to create other threads and/or do\n" " other work. */\n" "\\&\n" " pause(); /* Dummy pause so we can test program */\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 "Linux man-pages 6.17" msgstr "صفحات دليل لينكس 6.17" #. type: TH #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Linux man-pages (unreleased)" msgstr "صفحات دليل لينكس (لم تصدر بعد)"