# 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:43+0200\n" "PO-Revision-Date: 2026-05-18 17:52+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 "sigaltstack" msgstr "sigaltstack" #. type: TH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "2026-02-08" msgstr "8 فبراير 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 "sigaltstack - set and/or get signal stack context" msgstr "sigaltstack - ضبط و/أو الحصول على سياق كومة الإشارة" #. 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 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<,>\n" "B< stack_t *_Nullable restrict >IB<);>\n" msgstr "" "BIB<,>\n" "B< stack_t *_Nullable restrict >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():" #. || _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" " _XOPEN_SOURCE E= 500\n" " || /* Since glibc 2.12: */ _POSIX_C_SOURCE E= 200809L\n" " || /* glibc E= 2.19: */ _BSD_SOURCE\n" msgstr "" " _XOPEN_SOURCE E= 500\n" " || /* منذ glibc 2.12: */ _POSIX_C_SOURCE E= 200809L\n" " || /* glibc E= 2.19: */ _BSD_SOURCE\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() allows a thread to define a new alternate signal stack and/" "or retrieve the state of an existing alternate signal stack. An alternate " "signal stack is used during the execution of a signal handler if the " "establishment of that handler (see B(2)) requested it." msgstr "" "تسمح B() لسلسلة تنفيذ بتعريف كومة إشارة بديلة جديدة و/أو " "استرداد حالة كومة إشارة بديلة موجودة. تُستخدم كومة الإشارة البديلة أثناء " "تنفيذ معالج إشارة إذا طلب إنشاء ذلك المعالج (انظر B(2)) ذلك." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The normal sequence of events for using an alternate signal stack is the " "following:" msgstr "التسلسل الطبيعي للأحداث لاستخدام كومة إشارة بديلة هو التالي:" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "1." msgstr "1." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Allocate an area of memory to be used for the alternate signal stack." msgstr "تخصيص منطقة ذاكرة لاستخدامها ككومة إشارة بديلة." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "2." msgstr "2." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Use B() to inform the system of the existence and location of " "the alternate signal stack." msgstr "" "استخدام B() لإعلام النظام بوجود وموقع كومة الإشارة البديلة." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "3." msgstr "3." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "When establishing a signal handler using B(2), inform the system " "that the signal handler should be executed on the alternate signal stack by " "specifying the B flag." msgstr "" "عند إنشاء معالج إشارة باستخدام B(2)، إعلام النظام بأنه يجب تنفيذ " "معالج الإشارة على كومة الإشارة البديلة بتحديد العلم B." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The I argument is used to specify a new alternate signal stack, while " "the I argument is used to retrieve information about the currently " "established signal stack. If we are interested in performing just one of " "these tasks, then the other argument can be specified as NULL." msgstr "" "تُستخدم الوسيطة I لتحديد كومة إشارة بديلة جديدة، بينما تُستخدم الوسيطة " "I لاسترداد معلومات حول كومة الإشارة المنشأة حاليًا. إذا كنا مهتمين " "بأداء مهمة واحدة فقط من هذه المهام، فيمكن تحديد الوسيطة الأخرى كـ NULL." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The I type used to type the arguments of this function is defined " "as follows:" msgstr "النوع I المستخدم لكتابة وسائط هذه الدالة يُعرف كما يلي:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "typedef struct {\n" " void *ss_sp; /* Base address of stack */\n" " int ss_flags; /* Flags */\n" " size_t ss_size; /* Number of bytes in stack */\n" "} stack_t;\n" msgstr "" "typedef struct {\n" " void *ss_sp; /* Base address of stack */\n" " int ss_flags; /* Flags */\n" " size_t ss_size; /* Number of bytes in stack */\n" "} stack_t;\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "To establish a new alternate signal stack, the fields of this structure are " "set as follows:" msgstr "لإنشاء كومة إشارة بديلة جديدة، تُضبط حقول هذه البنية كما يلي:" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "I" msgstr "I" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "This field contains either 0, or the following flag:" msgstr "يحتوي هذا الحقل إما على 0، أو العلم التالي:" #. 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 4.7)" msgstr "B (منذ Linux 4.7)" #. commit 2a74213838104a41588d86fd5e8d344972891ace #. See tools/testing/selftests/sigaltstack/sas.c in kernel sources #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Clear the alternate signal stack settings on entry to the signal handler. " "When the signal handler returns, the previous alternate signal stack " "settings are restored." msgstr "" "مسح إعدادات كومة الإشارة البديلة عند الدخول إلى معالج الإشارة. عند عودة " "معالج الإشارة، تُستعاد إعدادات كومة الإشارة البديلة السابقة." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This flag was added in order to make it safe to switch away from the signal " "handler with B(3). Without this flag, a subsequently handled " "signal will corrupt the state of the switched-away signal handler. On " "kernels where this flag is not supported, B() fails with the " "error B when this flag is supplied." msgstr "" "أُضيف هذا العلم لجعل التبديل بعيدًا عن معالج الإشارة باستخدام " "B(3) آمنًا. بدون هذا العلم، ستُفسد إشارة تُعالج لاحقًا حالة معالج " "الإشارة المُبدّل بعيدًا. على النوى التي لا يُدعم فيها هذا العلم، تفشل " "B() مع الخطأ B عند توفير هذا العلم." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "I" msgstr "I" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This field specifies the starting address of the stack. When a signal " "handler is invoked on the alternate stack, the kernel automatically aligns " "the address given in I to a suitable address boundary for the " "underlying hardware architecture." msgstr "" "يحدد هذا الحقل عنوان بداية الكومة. عند استدعاء معالج إشارة على الكومة " "البديلة، يقوم النواة آليًا بمحاذاة العنوان المعطى في I إلى حد عنوان " "مناسب لبنية العتاد الأساسية." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "I" msgstr "I" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This field specifies the size of the stack. The constant B is " "defined to be large enough to cover the usual size requirements for an " "alternate signal stack, and the constant B defines the minimum " "size required to execute a signal handler." msgstr "" "يحدد هذا الحجم حجم الكومة. يُعرف الثابت B ليكون كبيرًا بما يكفي " "لتغطية متطلبات الحجم المعتادة لكومة إشارة بديلة، ويُعرف الثابت B " "الحد الأدنى للحجم المطلوب لتنفيذ معالج إشارة." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "To disable an existing stack, specify I as B. In " "this case, the kernel ignores any other flags in I and the " "remaining fields in I." msgstr "" "لتعطيل كومة موجودة، حدد I كـ B. في هذه الحالة، " "تتجاهل النواة أي أعلام أخرى في I والحقول المتبقية في I." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If I is not NULL, then it is used to return information about the " "alternate signal stack which was in effect prior to the call to " "B(). The I and I fields return " "the starting address and size of that stack. The I may " "return either of the following values:" msgstr "" "إذا لم يكن I NULL، فإنه يُستخدم لإرجاع معلومات حول كومة الإشارة " "البديلة التي كانت سارية قبل استدعاء 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 currently executing on the alternate signal stack. (Note that " "it is not possible to change the alternate signal stack if the thread is " "currently executing on it.)" 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 alternate signal stack is currently disabled." msgstr "كومة الإشارة البديلة معطلة حاليًا." #. #-#-#-#-# archlinux: sigaltstack.2.pot (PACKAGE VERSION) #-#-#-#-# #. FIXME Was it intended that one can set up a different alternative #. signal stack in this scenario? (In passing, if one does this, the #. sigaltstack(NULL, &old_ss) now returns old_ss.ss_flags==SS_AUTODISARM #. rather than old_ss.ss_flags==SS_DISABLE. The API design here seems #. confusing... #. type: Plain text #. #-#-#-#-# debian-trixie: sigaltstack.2.pot (PACKAGE VERSION) #-#-#-#-# #. FIXME Was it intended that one can set up a different alternative #. signal stack in this scenario? (In passing, if one does this, the #. sigaltstack(NULL, &old_ss) now returns old_ss.ss_flags==SS_AUTODISARM #. rather than old_ss.ss_flags==SS_DISABLE. The API design here seems #. confusing... #. type: Plain text #. #-#-#-#-# debian-unstable: sigaltstack.2.pot (PACKAGE VERSION) #-#-#-#-# #. FIXME Was it intended that one can set up a different alternative #. signal stack in this scenario? (In passing, if one does this, the #. sigaltstack(NULL, &old_ss) now returns old_ss.ss_flags==SS_AUTODISARM #. rather than old_ss.ss_flags==SS_DISABLE. The API design here seems #. confusing... #. type: Plain text #. #-#-#-#-# fedora-44: sigaltstack.2.pot (PACKAGE VERSION) #-#-#-#-# #. FIXME Was it intended that one can set up a different alternative #. signal stack in this scenario? (In passing, if one does this, the #. sigaltstack(NULL, &old_ss) now returns old_ss.ss_flags==SS_AUTODISARM #. rather than old_ss.ss_flags==SS_DISABLE. The API design here seems #. confusing... #. type: Plain text #. #-#-#-#-# fedora-rawhide: sigaltstack.2.pot (PACKAGE VERSION) #-#-#-#-# #. FIXME Was it intended that one can set up a different alternative #. signal stack in this scenario? (In passing, if one does this, the #. sigaltstack(NULL, &old_ss) now returns old_ss.ss_flags==SS_AUTODISARM #. rather than old_ss.ss_flags==SS_DISABLE. The API design here seems #. confusing... #. type: Plain text #. #-#-#-#-# mageia-cauldron: sigaltstack.2.pot (PACKAGE VERSION) #-#-#-#-# #. FIXME Was it intended that one can set up a different alternative #. signal stack in this scenario? (In passing, if one does this, the #. sigaltstack(NULL, &old_ss) now returns old_ss.ss_flags==SS_AUTODISARM #. rather than old_ss.ss_flags==SS_DISABLE. The API design here seems #. confusing... #. type: Plain text #. #-#-#-#-# opensuse-leap-16-1: sigaltstack.2.pot (PACKAGE VERSION) #-#-#-#-# #. FIXME Was it intended that one can set up a different alternative #. signal stack in this scenario? (In passing, if one does this, the #. sigaltstack(NULL, &old_ss) now returns old_ss.ss_flags==SS_AUTODISARM #. rather than old_ss.ss_flags==SS_DISABLE. The API design here seems #. confusing... #. type: Plain text #. #-#-#-#-# opensuse-tumbleweed: sigaltstack.2.pot (PACKAGE VERSION) #-#-#-#-# #. FIXME Was it intended that one can set up a different alternative #. signal stack in this scenario? (In passing, if one does this, the #. sigaltstack(NULL, &old_ss) now returns old_ss.ss_flags==SS_AUTODISARM #. rather than old_ss.ss_flags==SS_DISABLE. The API design here seems #. confusing... #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Alternatively, this value is returned if the thread is currently executing " "on an alternate signal stack that was established using the B " "flag. In this case, it is safe to switch away from the signal handler with " "B(3). It is also possible to set up a different alternative " "signal stack using a further call to B()." msgstr "" "بدلاً من ذلك، تُرجع هذه القيمة إذا كانت سلسلة التنفيذ تنفذ حاليًا على كومة " "إشارة بديلة أُنشئت باستخدام العلم B. في هذه الحالة، من الآمن " "التبديل بعيدًا عن معالج الإشارة باستخدام B(3). من الممكن أيضًا " "إعداد كومة إشارة بديلة مختلفة باستخدام استدعاء إضافي لـ 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 "" "The alternate signal stack has been marked to be autodisarmed as described " "above." msgstr "" "تم وضع علامة على مكدس الإشارة البديل ليتم نزع سلاحه آليًا كما هو موصوف أعلاه." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "By specifying I as NULL, and I as a non-NULL value, one can " "obtain the current settings for the alternate signal stack without changing " "them." msgstr "" "بتحديد I كقيمة NULL، و I كقيمة غير NULL، يمكن للمرء الحصول على " "الإعدادات الحالية لمكدس الإشارة البديل دون تغييرها." #. 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 "" "B() returns 0 on success, or -1 on failure with I set " "to indicate the error." msgstr "" "تُرجع B() 0 عند النجاح، أو -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 "" "Either I or I is not NULL and points to an area outside of the " "process's address space." msgstr "" "إما I أو I ليس NULL ويشير إلى منطقة خارج نطاق عنوان العملية." #. 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 NULL and the I field contains an invalid flag." msgstr "I ليس NULL ويحتوي حقل 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 specified size of the new alternate signal stack I was less " "than B." msgstr "" "الحجم المحدد لمكدس الإشارة البديل الجديد 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" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "An attempt was made to change the alternate signal stack while it was active " "(i.e., the thread was already executing on the current alternate signal " "stack)." msgstr "" "تمت محاولة تغيير مكدس الإشارة البديل بينما كان نشطًا (أي، كان الخيط ينفذ " "بالفعل على مكدس الإشارة البديل الحالي)." #. 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-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "POSIX.1-2024." msgstr "POSIX.1-2024." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "B is a Linux extension." msgstr "B هو امتداد لنظام لينكس." #. 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, SUSv2, SVr4." msgstr "POSIX.1-2001, SUSv2, SVr4." #. 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 "" "The most common usage of an alternate signal stack is to handle the " "B signal that is generated if the space available for the standard " "stack is exhausted: in this case, a signal handler for B cannot be " "invoked on the standard stack; if we wish to handle it, we must use an " "alternate signal stack." msgstr "" "الاستخدام الأكثر شيوعًا لمكدس الإشارة البديل هو معالجة إشارة B التي " "تُنشأ إذا استُنفدت المساحة المتاحة للمكدس القياسي: في هذه الحالة، لا يمكن " "استدعاء معالج إشارة لـ B على المكدس القياسي؛ إذا أردنا معالجتها، " "يجب استخدام مكدس إشارة بديل." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "Establishing an alternate signal stack is useful if a thread expects that it " "may exhaust its standard stack. This may occur, for example, because the " "stack grows so large that it encounters the upwardly growing heap, or it " "reaches a limit established by a call to I<\\%setrlimit(RLIMIT_STACK,\\ " "&rlim)>. If the standard stack is exhausted, the kernel sends the thread a " "B signal. In these circumstances the only way to catch this signal " "is on an alternate signal stack." msgstr "" "إنشاء مكدس إشارة بديل مفيد إذا توقع خيط أنه قد يستنفد مكدسه القياسي. قد يحدث " "هذا، على سبيل المثال، لأن المكدس ينمو بشكل كبير لدرجة أنه يصطدم بالكومة " "المتنامية لأعلى، أو يصل إلى حد محدد بواسطة استدعاء I<\\" "%setrlimit(RLIMIT_STACK, &rlim)>. إذا استُنفد المكدس القياسي، ترسل النواة " "إشارة B إلى الخيط. في هذه الظروف، الطريقة الوحيدة لالتقاط هذه " "الإشارة هي على مكدس إشارة بديل." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "On most hardware architectures supported by Linux, stacks grow downward. " "B() automatically takes account of the direction of stack " "growth." msgstr "" "في معظم بنى العتاد التي يدعمها لينكس، تنمو المكدسات لأسفل. تراعي " "B() آليًا اتجاه نمو المكدس." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Functions called from a signal handler executing on an alternate signal " "stack will also use the alternate signal stack. (This also applies to any " "handlers invoked for other signals while the thread is executing on the " "alternate signal stack.) Unlike the standard stack, the system does not " "automatically extend the alternate signal stack. Exceeding the allocated " "size of the alternate signal stack will lead to unpredictable results." msgstr "" "ستستخدم الدوال المُستدعاة من معالج إشارة ينفذ على مكدس إشارة بديل أيضًا مكدس " "الإشارة البديل. (ينطبق هذا أيضًا على أي معالجات تُستدعى لإشارات أخرى بينما " "ينفذ الخيط على مكدس الإشارة البديل.) على عكس المكدس القياسي، لا يقوم النظام " "بتمديد مكدس الإشارة البديل آليًا. تجاوز الحجم المخصص لمكدس الإشارة البديل " "سيؤدي إلى نتائج غير متوقعة." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A successful call to B(2) removes any existing alternate signal " "stack. A child process created via B(2) inherits a copy of its " "parent's alternate signal stack settings. The same is also true for a child " "process created using B(2), unless the clone flags include " "B and do not include B, in which case any alternate " "signal stack that was established in the parent is disabled in the child " "process." msgstr "" "يزيل استدعاء ناجح لـ B(2) أي مكدس إشارة بديل موجود. ترث عملية فرعية " "مُنشأة عبر B(2) نسخة من إعدادات مكدس الإشارة البديل لأبويها. وينطبق " "الشيء نفسه على عملية فرعية مُنشأة باستخدام B(2)، ما لم تتضمن أعلام " "clone B ولا تتضمن B، وفي هذه الحالة يتم تعطيل أي مكدس " "إشارة بديل تم إنشاؤه في العملية الأم في العملية الفرعية." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B() supersedes the older B() call. For backward " "compatibility, glibc also provides B(). All new applications " "should be written using B()." msgstr "" "تحل B() محل الاستدعاء الأقدم B(). للتوافق مع " "الإصدارات السابقة، توفر glibc أيضًا B(). يجب كتابة جميع التطبيقات " "الجديدة باستخدام B()." #. type: SS #: 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 "" "4.2BSD had a B() system call. It used a slightly different " "struct, and had the major disadvantage that the caller had to know the " "direction of stack growth." msgstr "" "كان لدى 4.2BSD استدعاء نظام B(). استخدم هيكلًا مختلفًا قليلاً، وكان " "له عيب رئيسي وهو أن المُستدعي كان عليه معرفة اتجاه نمو المكدس." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "BUGS" msgstr "العلل" #. Linux 2.3.40 #. After quite a bit of web and mail archive searching, #. I could not find the patch on any mailing list, and I #. could find no place where the rationale for this change #. explained -- mtk #. See the source code of Illumos and FreeBSD, for example. #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In Linux 2.2 and earlier, the only flag that could be specified in I was B. In the lead up to the release of the Linux 2.4 " "kernel, a change was made to allow B() to allow I with the same meaning as I (i.e., the " "inclusion of B in I is a no-op). On other " "implementations, and according to POSIX.1, B appears only as a " "reported flag in I. On Linux, there is no need ever to " "specify B in I, and indeed doing so should be " "avoided on portability grounds: various other systems give an error if " "B is specified in I." msgstr "" "في لينكس 2.2 والإصدارات الأقدم، كانت العلامة الوحيدة التي يمكن تحديدها في " "I هي B. في الفترة التي سبقت إصدار نواة لينكس 2.4، " "تم إجراء تغيير للسماح لـ B() بالسماح بـ I بنفس معنى I (أي، إدراج B " "في I هو عملية لا تأثير لها). في التطبيقات الأخرى، ووفقًا لـ " "POSIX.1، يظهر B فقط كعلامة مُبلغ عنها في I. في " "لينكس، ليست هناك حاجة أبدًا لتحديد B في I، وفي " "الواقع يجب تجنب ذلك لأسباب تتعلق بقابلية النقل: تعطي العديد من الأنظمة " "الأخرى خطأً إذا تم تحديد B في I." #. 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 code segment demonstrates the use of B() (and " "B(2)) to install an alternate signal stack that is employed by a " "handler for the B signal:" msgstr "" "يوضح مقطع الكود التالي استخدام B() (و B(2)) لتثبيت " "مكدس إشارة بديل يستخدمه معالج إشارة B:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "stack_t ss;\n" "\\&\n" "ss.ss_sp = malloc(SIGSTKSZ);\n" "if (ss.ss_sp == NULL) {\n" " perror(\"malloc\");\n" " exit(EXIT_FAILURE);\n" "}\n" "\\&\n" "ss.ss_size = SIGSTKSZ;\n" "ss.ss_flags = 0;\n" "if (sigaltstack(&ss, NULL) == -1) {\n" " perror(\"sigaltstack\");\n" " exit(EXIT_FAILURE);\n" "}\n" "\\&\n" "sa.sa_flags = SA_ONSTACK;\n" "sa.sa_handler = handler(); /* Address of a signal handler */\n" "sigemptyset(&sa.sa_mask);\n" "if (sigaction(SIGSEGV, &sa, NULL) == -1) {\n" " perror(\"sigaction\");\n" " exit(EXIT_FAILURE);\n" "}\n" msgstr "" "stack_t ss;\n" "\\&\n" "ss.ss_sp = malloc(SIGSTKSZ);\n" "if (ss.ss_sp == NULL) {\n" " perror(\"malloc\");\n" " exit(EXIT_FAILURE);\n" "}\n" "\\&\n" "ss.ss_size = SIGSTKSZ;\n" "ss.ss_flags = 0;\n" "if (sigaltstack(&ss, NULL) == -1) {\n" " perror(\"sigaltstack\");\n" " exit(EXIT_FAILURE);\n" "}\n" "\\&\n" "sa.sa_flags = SA_ONSTACK;\n" "sa.sa_handler = handler(); /* Address of a signal handler */\n" "sigemptyset(&sa.sa_mask);\n" "if (sigaction(SIGSEGV, &sa, NULL) == -1) {\n" " perror(\"sigaction\");\n" " exit(EXIT_FAILURE);\n" "}\n" #. 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(7)" msgstr "" "B(2), B(2), B(2), 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 "Standard C library (I, I<-lc>)" msgstr "مكتبة سي المعيارية (I، I<-lc>)" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "POSIX.1-2008." msgstr "POSIX.1-2008." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Establishing an alternate signal stack is useful if a thread expects that it " "may exhaust its standard stack. This may occur, for example, because the " "stack grows so large that it encounters the upwardly growing heap, or it " "reaches a limit established by a call to B<\\%setrlimit(RLIMIT_STACK, " "&rlim)>. If the standard stack is exhausted, the kernel sends the thread a " "B signal. In these circumstances the only way to catch this signal " "is on an alternate signal stack." msgstr "" "إنشاء مكدس إشارة بديل مفيد إذا توقع خيط أنه قد يستنفد مكدسه القياسي. قد يحدث " "هذا، على سبيل المثال، لأن المكدس ينمو بشكل كبير لدرجة أنه يصطدم بالكومة " "المتنامية لأعلى، أو يصل إلى حد محدد بواسطة استدعاء B<\\" "%setrlimit(RLIMIT_STACK, &rlim)>. إذا استُنفد المكدس القياسي، ترسل النواة " "إشارة B إلى الخيط. في هذه الظروف، الطريقة الوحيدة لالتقاط هذه " "الإشارة هي على مكدس إشارة بديل." #. 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 "صفحات دليل لينكس (لم تصدر بعد)"