# 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:30+0200\n" "PO-Revision-Date: 2026-06-02 18:55+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 "mallopt" msgstr "mallopt" #. 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 "mallopt - set memory allocation parameters" msgstr "mallopt - ضبط معاملات تخصيص الذاكرة" #. 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 Emalloc.hE>\n" msgstr "B<#include Emalloc.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 "" "The B() function adjusts parameters that control the behavior of " "the memory-allocation functions (see B(3)). The I argument " "specifies the parameter to be modified, and I specifies the new value " "for that parameter." msgstr "" "تُعدّل دالة B() المعاملات التي تتحكم في سلوك دوال تخصيص الذاكرة (انظر " "B(3)). تُحدد الوسيطة I المعامل المراد تعديله، وتُحدد I " "القيمة الجديدة لذلك المعامل." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "The following values can be specified for 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 "" "If this parameter has a nonzero value, it defines a hard limit on the " "maximum number of arenas that can be created. An arena represents a pool of " "memory that can be used by B(3) (and similar) calls to service " "allocation requests. Arenas are thread safe and therefore may have multiple " "concurrent memory requests. The trade-off is between the number of threads " "and the number of arenas. The more arenas you have, the lower the per-" "thread contention, but the higher the memory usage." msgstr "" "إذا كان لهذا المعامل قيمة غير صفرية، فإنه يُحدد حدًا صارمًا على العدد الأقصى من " "الساحات التي يمكن إنشاؤها. تمثل الساحة مجموعة من الذاكرة يمكن استخدامها " "بواسطة استدعاءات B(3) (وما شابهها) لخدمة طلبات التخصيص. الساحات آمنة " "للخيوط، وبالتالي قد تحتوي على طلبات ذاكرة متزامنة متعددة. المفاضلة هي بين " "عدد الخيوط وعدد الساحات. كلما زاد عدد الساحات، انخفض التنافس لكل خيط، ولكن " "زاد استخدام الذاكرة." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The default value of this parameter is 0, meaning that the limit on the " "number of arenas is determined according to the setting of B." msgstr "" "القيمة المبدئية لهذا المعامل هي 0، مما يعني أن الحد على عدد الساحات يُحدد " "وفقًا لإعداد B." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This parameter has been available since glibc 2.10 via B<--enable-" "experimental-malloc>, and since glibc 2.15 by default. In some versions of " "the allocator there was no limit on the number of created arenas (e.g., " "CentOS 5, RHEL 5)." msgstr "" "هذا المعامل متاح منذ glibc 2.10 عبر B<--enable-experimental-malloc>، ومنذ " "glibc 2.15 بشكل مبدئي. في بعض إصدارات المخصص، لم يكن هناك حد على عدد الساحات " "المنشأة (مثل CentOS 5, RHEL 5)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "When employing newer glibc versions, applications may in some cases exhibit " "high contention when accessing arenas. In these cases, it may be beneficial " "to increase B to match the number of threads. This is similar " "in behavior to strategies taken by tcmalloc and jemalloc (e.g., per-thread " "allocation pools)." msgstr "" "عند استخدام إصدارات أحدث من glibc، قد تُظهر التطبيقات في بعض الحالات تنافسًا " "عاليًا عند الوصول إلى الساحات. في هذه الحالات، قد يكون من المفيد زيادة " "B لمطابقة عدد الخيوط. هذا مشابه في السلوك للاستراتيجيات التي " "تتبعها tcmalloc و jemalloc (مثل تجمعات التخصيص لكل خيط)." #. 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 "" "This parameter specifies a value, in number of arenas created, at which " "point the system configuration will be examined to determine a hard limit on " "the number of created arenas. (See B for the definition of an " "arena.)" msgstr "" "يُحدد هذا المعامل قيمة، بعدد الساحات المنشأة، عندها سيتم فحص تكوين النظام " "لتحديد حد صارم على عدد الساحات المنشأة. (انظر B لتعريف الساحة.)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The computation of the arena hard limit is implementation-defined and is " "usually calculated as a multiple of the number of available CPUs. Once the " "hard limit is computed, the result is final and constrains the total number " "of arenas." msgstr "" "حساب الحد الصارم للساحة هو محدد بالتطبيق وعادةً يُحسب كمضاعف لعدد وحدات " "المعالجة المركزية المتاحة. بمجرد حساب الحد الصارم، تكون النتيجة نهائية وتُقيد " "العدد الإجمالي للساحات." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The default value for the B parameter is 2 on systems where " "I is 4; otherwise the default value is 8." msgstr "" "القيمة المبدئية لمعامل B هي 2 على الأنظمة حيث I " "هو 4؛ وإلا فإن القيمة المبدئية هي 8." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This parameter has been available since glibc 2.10 via B<--enable-" "experimental-malloc>, and since glibc 2.15 by default." msgstr "" "هذا المعامل متاح منذ glibc 2.10 عبر B<--enable-experimental-malloc>، ومنذ " "glibc 2.15 بشكل مبدئي." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The value of B is not used when B has a nonzero " "value." 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 "" "Setting this parameter controls how glibc responds when various kinds of " "programming errors are detected (e.g., freeing the same pointer twice). The " "3 least significant bits (2, 1, and 0) of the value assigned to this " "parameter determine the glibc behavior, as follows:" msgstr "" "يُتحكم في إعداد هذا المعامل في كيفية استجابة glibc عند اكتشاف أنواع مختلفة من " "أخطاء البرمجة (مثل تحرير نفس المؤشر مرتين). تُحدد البتات الثلاث الأقل أهمية " "(2 و 1 و 0) من القيمة المخصصة لهذا المعامل سلوك glibc، كما يلي:" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Bit 0" msgstr "البت 0" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If this bit is set, then print a one-line message on I that provides " "details about the error. The message starts with the string \"***\\ glibc " "detected\\ ***\", followed by the program name, the name of the memory-" "allocation function in which the error was detected, a brief description of " "the error, and the memory address where the error was detected." msgstr "" "إذا تم تعيين هذه البتة، فاطبع رسالة من سطر واحد على I تُقدم تفاصيل عن " "الخطأ. تبدأ الرسالة بالسلسلة \"***\\ glibc detected\\ ***\"، متبوعة باسم " "البرنامج، واسم دالة تخصيص الذاكرة التي اكتُشف فيها الخطأ، ووصفًا موجزًا للخطأ، " "وعنوان الذاكرة حيث اكتُشف الخطأ." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Bit 1" msgstr "البت 1" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If this bit is set, then, after printing any error message specified by bit " "0, the program is terminated by calling B(3). Since glibc 2.4, if " "bit 0 is also set, then, between printing the error message and aborting, " "the program also prints a stack trace in the manner of B(3), and " "prints the process's memory mapping in the style of IpidI " "(see B(5))." msgstr "" "إذا وُضعت هذه البتة، فبعد طباعة أي رسالة خطأ محددة بالبتة 0، يُنهى البرنامج " "باستدعاء B(3). منذ glibc 2.4، إذا وُضعت البتة 0 أيضًا، فبين طباعة رسالة " "الخطأ والإنهاء، يطبع البرنامج أيضًا أثر استدعاءات على نمط B(3)، " "ويطبع تخطيط ذاكرة العملية بأسلوب IpidI (انظر B(5))." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Bit 2 (since glibc 2.4)" msgstr "البتة 2 (منذ glibc 2.4)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This bit has an effect only if bit 0 is also set. If this bit is set, then " "the one-line message describing the error is simplified to contain just the " "name of the function where the error was detected and the brief description " "of the error." msgstr "" "لهذه البتة تأثير فقط إذا وُضعت البتة 0 أيضًا. إذا وُضعت هذه البتة، فتُبسّط رسالة " "السطر الواحد التي تصف الخطأ لتحتوي فقط على اسم الدالة التي اكتُشف فيها الخطأ " "ووصفًا موجزًا للخطأ." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "The remaining bits in I are ignored." msgstr "تُتجاهل البتات المتبقية في I<القيمة>." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Combining the above details, the following numeric values are meaningful for " "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<0>" msgstr "B<0>" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Ignore error conditions; continue execution (with undefined results)." msgstr "تجاهل حالات الخطأ؛ متابعة التنفيذ (مع نتائج غير محددة)." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B<1>" msgstr "B<1>" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Print a detailed error message and continue execution." msgstr "طباعة رسالة خطأ مفصلة ومتابعة التنفيذ." #. 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 "Abort the program." msgstr "إنهاء البرنامج." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B<3>" msgstr "B<3>" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Print detailed error message, stack trace, and memory mappings, and abort " "the program." msgstr "" "طباعة رسالة خطأ مفصلة، وأثر استدعاءات، وتخطيطات الذاكرة، وإنهاء البرنامج." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B<5>" msgstr "B<5>" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Print a simple error message and continue execution." msgstr "طباعة رسالة خطأ بسيطة ومتابعة التنفيذ." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B<7>" msgstr "B<7>" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Print simple error message, stack trace, and memory mappings, and abort the " "program." msgstr "" "طباعة رسالة خطأ بسيطة، وأثر استدعاءات، وتخطيطات الذاكرة، وإنهاء البرنامج." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Since glibc 2.3.4, the default value for the B parameter is " "3. In glibc 2.3.3 and earlier, the default value is 1." msgstr "" "منذ glibc 2.3.4، القيمة المبدئية للمعامل B هي 3. في glibc " "2.3.3 وما قبله، القيمة المبدئية هي 1." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Using a nonzero B value can be useful because otherwise a " "crash may happen much later, and the true cause of the problem is then very " "hard to track down." 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" #. The following text adapted from comments in the glibc source: #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This parameter specifies the maximum number of allocation requests that may " "be simultaneously serviced using B(2). This parameter exists because " "some systems have a limited number of internal tables for use by B(2), " "and using more than a few of them may degrade performance." msgstr "" "يحدد هذا المعامل العدد الأقصى لطلبات التخصيص التي يمكن خدمتها في وقت واحد " "باستخدام B(2). يوجد هذا المعامل لأن بعض الأنظمة لديها عدد محدود من " "الجداول الداخلية لاستخدام B(2)، وقد يؤدي استخدام أكثر من القليل منها " "إلى تدهور الأداء." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The default value is 65,536, a value which has no special significance and " "which serves only as a safeguard. Setting this parameter to 0 disables the " "use of B(2) for servicing large allocation requests." msgstr "" "القيمة المبدئية هي 65,536، وهي قيمة ليس لها أهمية خاصة وتخدم فقط كإجراء " "وقائي. يؤدي تعيين هذا المعامل إلى 0 إلى تعطيل استخدام 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" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "For allocations greater than or equal to the limit specified (in bytes) by " "B that can't be satisfied from the free list, the memory-" "allocation functions employ B(2) instead of increasing the program " "break using B(2)." msgstr "" "بالنسبة للتخصيصات الأكبر من أو المساوية للحد المحدد (بالبايت) بواسطة " "B التي لا يمكن تلبيتها من القائمة الحرة، تستخدم دوال تخصيص " "الذاكرة B(2) بدلاً من زيادة فاصل البرنامج باستخدام B(2)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Allocating memory using B(2) has the significant advantage that the " "allocated memory blocks can always be independently released back to the " "system. (By contrast, the heap can be trimmed only if memory is freed at " "the top end.) On the other hand, there are some disadvantages to the use of " "B(2): deallocated space is not placed on the free list for reuse by " "later allocations; memory may be wasted because B(2) allocations must " "be page-aligned; and the kernel must perform the expensive task of zeroing " "out memory allocated via B(2). Balancing these factors leads to a " "default setting of 128*1024 for the B parameter." msgstr "" "تخصيص الذاكرة باستخدام B(2) له ميزة كبيرة وهي أن كتل الذاكرة المخصصة " "يمكن دائمًا إطلاقها بشكل مستقل إلى النظام. (على النقيض، لا يمكن تقليم الكومة " "إلا إذا تم تحرير الذاكرة في الطرف العلوي.) من ناحية أخرى، هناك بعض العيوب " "لاستخدام B(2): لا توضع المساحة غير المخصصة في القائمة الحرة لإعادة " "استخدامها في التخصيصات اللاحقة؛ قد تُهدر الذاكرة لأن تخصيصات B(2) يجب " "أن تكون محاذية للصفحات؛ ويجب على النواة أداء المهمة المكلفة لتصفير الذاكرة " "المخصصة عبر B(2). تؤدي موازنة هذه العوامل إلى إعداد مبدئي قدره " "128*1024 للمعامل B." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The lower limit for this parameter is 0. The upper limit is " "B: 512*1024 on 32-bit systems or " "I<4*1024*1024*sizeof(long)> on 64-bit systems." msgstr "" "الحد الأدنى لهذا المعامل هو 0. الحد الأعلى هو B: " "512*1024 على أنظمة 32 بت أو I<4*1024*1024*sizeof(long)> على أنظمة 64 بت." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "I: Nowadays, glibc uses a dynamic mmap threshold by default. The " "initial value of the threshold is 128*1024, but when blocks larger than the " "current threshold and less than or equal to B " "are freed, the threshold is adjusted upward to the size of the freed block. " "When dynamic mmap thresholding is in effect, the threshold for trimming the " "heap is also dynamically adjusted to be twice the dynamic mmap threshold. " "Dynamic adjustment of the mmap threshold is disabled if any of the " "B, B, B, or B " "parameters is set." msgstr "" "I<ملاحظة>: في الوقت الحالي، يستخدم glibc حد mmap ديناميكي مبدئيًا. القيمة " "المبدئية للحد هي 128*1024، ولكن عندما تُحرر كتل أكبر من الحد الحالي وأقل من " "أو تساوي B، يُضبط الحد لأعلى ليتوافق مع حجم " "الكتلة المحررة. عندما يكون تحديد حد mmap الديناميكي ساريًا، يُضبط حد تقليم " "الكومة ديناميكيًا أيضًا ليكون ضعف حد mmap الديناميكي. يُعطل الضبط الديناميكي " "لحد mmap إذا وُضع أي من المعاملات B أو B أو " "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 (since glibc 2.3)" msgstr "B (منذ glibc 2.3)" #. The following text adapted from comments in the glibc sources: #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Set the upper limit for memory allocation requests that are satisfied using " "\"fastbins\". (The measurement unit for this parameter is bytes.) Fastbins " "are storage areas that hold deallocated blocks of memory of the same size " "without merging adjacent free blocks. Subsequent reallocation of blocks of " "the same size can be handled very quickly by allocating from the fastbin, " "although memory fragmentation and the overall memory footprint of the " "program can increase." msgstr "" "يُعيِّن الحد الأعلى لطلبات تخصيص الذاكرة التي تُلبى باستخدام \"الصناديق " "السريعة\". (وحدة قياس هذا المعامل هي البايت.) الصناديق السريعة هي مناطق " "تخزين تحتوي على كتل ذاكرة مُحررة من نفس الحجم دون دمج الكتل الحرة المجاورة. " "يمكن معالجة إعادة تخصيص كتل من نفس الحجم لاحقًا بسرعة كبيرة عن طريق التخصيص " "من الصندوق السريع، على الرغم من أن تجزئة الذاكرة والبصمة الكلية للذاكرة " "للبرنامج قد تزداد." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The default value for this parameter is I<64*sizeof(size_t)/4> (i.e., 64 on " "32-bit architectures). The range for this parameter is 0 to " "I<80*sizeof(size_t)/4>. Setting B to 0 disables the use of " "fastbins." msgstr "" "القيمة المبدئية لهذا المعامل هي I<64*sizeof(size_t)/4> (أي 64 على معماريات " "32 بت). نطاق هذا المعامل هو من 0 إلى I<80*sizeof(size_t)/4>. تعطيل استخدام " "الصناديق السريعة يكون بضبط B إلى 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 glibc 2.4)" msgstr "B (منذ glibc 2.4)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If this parameter is set to a nonzero value, then bytes of allocated memory " "(other than allocations via B(3)) are initialized to the complement " "of the value in the least significant byte of I, and when allocated " "memory is released using B(3), the freed bytes are set to the least " "significant byte of I. This can be useful for detecting errors where " "programs incorrectly rely on allocated memory being initialized to zero, or " "reuse values in memory that has already been freed." msgstr "" "إذا ضُبط هذا المعامل إلى قيمة غير صفرية، فإن بايتات الذاكرة المخصصة (بخلاف " "التخصيصات عبر B(3)) تُهيأ إلى مكمل القيمة في البايت الأقل أهمية من " "I، وعندما تُحرر الذاكرة المخصصة باستخدام B(3)، تُضبط البايتات " "المحررة إلى البايت الأقل أهمية من I. يمكن أن يكون هذا مفيدًا لاكتشاف " "الأخطاء حيث تعتمد البرامج بشكل غير صحيح على أن الذاكرة المخصصة قد هُيئت إلى " "الصفر، أو تعيد استخدام قيم في ذاكرة حُررت بالفعل." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "The default value for this parameter is 0." 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" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This parameter defines the amount of padding to employ when calling " "B(2) to modify the program break. (The measurement unit for this " "parameter is bytes.) This parameter has an effect in the following " "circumstances:" msgstr "" "يُعرِّف هذا المعامل مقدار الحشو الذي يُستخدم عند استدعاء B(2) لتعديل فاصل " "البرنامج. (وحدة قياس هذا المعامل هي البايت.) لهذا المعامل تأثير في الظروف " "التالية:" #. 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 "" "When the program break is increased, then B bytes are added to " "the B(2) request." 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 "" "When the heap is trimmed as a consequence of calling B(3) (see the " "discussion of B) this much free space is preserved at the " "top of the heap." msgstr "" "عندما تُقلم الكومة نتيجة لاستدعاء B(3) (انظر مناقشة " "B)، يُحفظ هذا القدر من المساحة الحرة في أعلى الكومة." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In either case, the amount of padding is always rounded to a system page " "boundary." msgstr "في كلتا الحالتين، يُقرَّب مقدار الحشو دائمًا إلى حد صفحة النظام." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Modifying B is a trade-off between increasing the number of " "system calls (when the parameter is set low) and wasting unused memory at " "the top of the heap (when the parameter is set high)." msgstr "" "تعديل B هو مقايضة بين زيادة عدد استدعاءات النظام (عند ضبط المعامل " "منخفضًا) وإهدار الذاكرة غير المستخدمة في أعلى الكومة (عند ضبط المعامل مرتفعًا)." #. DEFAULT_TOP_PAD in glibc source #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "The default value for this parameter is 128*1024." msgstr "القيمة المبدئية لهذا المعامل هي 128*1024." #. 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 "" "When the amount of contiguous free memory at the top of the heap grows " "sufficiently large, B(3) employs B(2) to release this memory " "back to the system. (This can be useful in programs that continue to " "execute for a long period after freeing a significant amount of memory.) " "The B parameter specifies the minimum size (in bytes) that " "this block of memory must reach before B(2) is used to trim the heap." msgstr "" "عندما ينمو مقدار الذاكرة الحرة المتجاورة في أعلى الكومة بشكل كافٍ، يستخدم " "B(3) B(2) لتحرير هذه الذاكرة إلى النظام. (يمكن أن يكون هذا " "مفيدًا في البرامج التي تستمر في التنفيذ لفترة طويلة بعد تحرير كمية كبيرة من " "الذاكرة.) يُحدد معامل 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 default value for this parameter is 128*1024. Setting " "B to -1 disables trimming completely." msgstr "" "القيمة المبدئية لهذا المعامل هي 128*1024. ضبط B إلى -1 " "يُعطل التقليم تمامًا." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Modifying B is a trade-off between increasing the number " "of system calls (when the parameter is set low) and wasting unused memory " "at the top of the heap (when the parameter is set high)." msgstr "" "تعديل B هو مقايضة بين زيادة عدد استدعاءات النظام (عند ضبط " "المعامل منخفضًا) وإهدار الذاكرة غير المستخدمة في أعلى الكومة (عند ضبط المعامل " "مرتفعًا)." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Environment variables" msgstr "متغيرات البيئة" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A number of environment variables can be defined to modify some of the same " "parameters as are controlled by B(). Using these variables has the " "advantage that the source code of the program need not be changed. To be " "effective, these variables must be defined before the first call to a memory-" "allocation function. (If the same parameters are adjusted via B(), " "then the B() settings take precedence.) For security reasons, " "these variables are ignored in set-user-ID and set-group-ID programs." msgstr "" "يمكن تعريف عدد من متغيرات البيئة لتعديل بعض المعاملات نفسها التي يتحكم بها " "B(). استخدام هذه المتغيرات له ميزة أن شفرة مصدر البرنامج لا تحتاج " "إلى تغيير. لكي تكون فعالة، يجب تعريف هذه المتغيرات قبل أول استدعاء لدالة " "تخصيص ذاكرة. (إذا ضُبطت المعاملات نفسها عبر B()، فإن إعدادات " "B() تأخذ الأولوية.) لأسباب أمنية، تُتجاهل هذه المتغيرات في برامج " "set-user-ID و set-group-ID." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The environment variables are as follows (note the trailing underscore at " "the end of the name of some variables):" 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 "Controls the same parameter as B() B." 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 "Controls the same parameter as B() B." 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" #. On glibc 2.12/x86, a simple malloc()+free() loop is about 70% slower #. when MALLOC_CHECK_ was set. #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This environment variable controls the same parameter as B() " "B. If this variable is set to a nonzero value, then a " "special implementation of the memory-allocation functions is used. (This is " "accomplished using the B(3) feature.) This implementation " "performs additional error checking, but is slower than the standard set of " "memory-allocation functions. (This implementation does not detect all " "possible errors; memory leaks can still occur.)" msgstr "" "يتحكم متغير البيئة هذا في نفس المعامل كدالة B() " "B. إذا وُضع هذا المتغير بقيمة غير صفرية، فتُستخدم تطبيق خاص " "لدوال تخصيص الذاكرة. (يُحقق ذلك باستخدام ميزة B(3).) يُجري هذا " "التطبيق فحص أخطاء إضافيًا، لكنه أبطأ من المجموعة القياسية لدوال تخصيص " "الذاكرة. (لا يكتشف هذا التطبيق جميع الأخطاء المحتملة؛ قد تظل تسريبات " "الذاكرة تحدث.)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The value assigned to this environment variable should be a single digit, " "whose meaning is as described for B. Any characters beyond " "the initial digit are ignored." msgstr "" "يجب أن تكون القيمة المُسندة لمتغير البيئة هذا رقمًا واحدًا، ومعناه كما هو موصوف " "لـ B. تُتجاهل أي محارف تتجاوز الرقم الأول." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "For security reasons, the effect of B is disabled by default " "for set-user-ID and set-group-ID programs. However, if the file I exists (the content of the file is irrelevant), then B " "also has an effect for set-user-ID and set-group-ID programs." msgstr "" "لأسباب أمنية، يُعطّل تأثير B مبدئيًا لبرامج set-user-ID و set-" "group-ID. لكن، إذا وُجد الملف I (محتوى الملف غير ذي صلة)، " "فإن B يكون له تأثير أيضًا لبرامج set-user-ID و set-group-ID." #. 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 "Controls the same parameter as B() B." 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 "Controls the same parameter as B() B." 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 "Controls the same parameter as B() B." 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 "Controls the same parameter as B() B." 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 "Controls the same parameter as B() B." msgstr "تتحكم في نفس المعامل كدالة B() B." #. 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 1. On error, it returns 0." msgstr "عند النجاح، تُرجع B() 1. عند الخطأ، تُرجع 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 "On error, I is I set." msgstr "عند الخطأ، لا يُوضع I." #. 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: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A similar function exists on many System V derivatives, but the range of " "values for I varies across systems. The SVID defined options " "B, B, B, and B, but only the first of " "these is implemented in glibc." msgstr "" "توجد دالة مماثلة في العديد من مشتقات System V، لكن نطاق القيم للمعامل " "I يختلف عبر الأنظمة. عرّف SVID الخيارات B وB " "وB وB، لكن أول هذه الخيارات فقط هو المُنفَّذ في glibc." #. 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 "None." 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 "التاريخ" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "glibc 2.0." msgstr "glibc 2.0." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "BUGS" msgstr "العلل" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Specifying an invalid value for I does not generate an error." msgstr "تحديد قيمة غير صالحة للمعامل I لا يُولّد خطأ." #. FIXME . This looks buggy: #. setting the M_MXFAST limit rounds up: (s + SIZE_SZ) & ~MALLOC_ALIGN_MASK) #. malloc requests are rounded up: #. (req) + SIZE_SZ + MALLOC_ALIGN_MASK) & ~MALLOC_ALIGN_MASK #. https://www.sourceware.org/bugzilla/show_bug.cgi?id=12129 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A calculation error within the glibc implementation means that a call of the " "form:" msgstr "خطأ حسابي داخل تنفيذ glibc يعني أن استدعاءً بالشكل:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "mallopt(M_MXFAST, n)\n" msgstr "mallopt(M_MXFAST, n)\n" #. Bins are multiples of 2 * sizeof(size_t) + sizeof(size_t) #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "does not result in fastbins being employed for all allocations of size up to " "I. To ensure desired results, I should be rounded up to the next " "multiple greater than or equal to I<(2k+1)*sizeof(size_t)>, where I is an " "integer." msgstr "" "لا يُؤدّي إلى استخدام fastbins لجميع التخصيصات ذات الحجم حتى I. لضمان " "النتائج المرغوبة، يجب تقريب I لأعلى إلى المضاعف التالي الأكبر من أو يساوي " "I<(2k+1)*sizeof(size_t)>، حيث I عدد صحيح." #. FIXME . https://www.sourceware.org/bugzilla/show_bug.cgi?id=12140 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If B() is used to set B, then, as expected, the bytes " "of allocated memory are initialized to the complement of the byte in " "I, and when that memory is freed, the bytes of the region are " "initialized to the byte specified in I. However, there is an off-by-" "I error in the implementation: instead of initializing " "precisely the block of memory being freed by the call I, the block " "starting at I is initialized." msgstr "" "إذا استُخدم B() لتعيين B، فكما هو متوقع، تُهيّأ بايتات " "الذاكرة المُخصّصة إلى مكمل البايت في I، وعند تحرير تلك الذاكرة، تُهيّأ " "بايتات المنطقة إلى البايت المُحدّد في I. لكن، يوجد خطأ بإزاحة " "I في التنفيذ: بدلاً من تهيئة كتلة الذاكرة المُحرَّرة بدقة بواسطة " "الاستدعاء I، تُهيّأ الكتلة التي تبدأ عند 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 program below demonstrates the use of B. If the program " "is supplied with an (integer) command-line argument, then that argument is " "used to set the B parameter. The program then allocates a " "block of memory, and frees it twice (an error)." msgstr "" "يُوضّح البرنامج أدناه استخدام B. إذا زُوّد البرنامج بمُعامل (عدد " "صحيح) من سطر الأوامر، فسيُستخدم ذلك المُعامل لتعيين معامل B. " "ثم يُخصّص البرنامج كتلة ذاكرة، ويُحرّرها مرتين (خطأ)." #. 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 what happens when we run this program " "under glibc, with the default value for B:" msgstr "" "يُظهر جلسة الصدفة التالية ما يحدث عند تشغيل هذا البرنامج تحت glibc، بالقيمة " "المبدئية لـ B:" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "$B< ./a.out>;\n" "main(): returned from first free() call\n" "*** glibc detected *** ./a.out: double free or corruption (top): 0x09d30008 ***\n" "======= Backtrace: =========\n" "/lib/libc.so.6(+0x6c501)[0x523501]\n" "/lib/libc.so.6(+0x6dd70)[0x524d70]\n" "/lib/libc.so.6(cfree+0x6d)[0x527e5d]\n" "\\&./a.out[0x80485db]\n" "/lib/libc.so.6(__libc_start_main+0xe7)[0x4cdce7]\n" "\\&./a.out[0x8048471]\n" "======= Memory map: ========\n" "001e4000-001fe000 r-xp 00000000 08:06 1083555 /lib/libgcc_s.so.1\n" "001fe000-001ff000 r--p 00019000 08:06 1083555 /lib/libgcc_s.so.1\n" "[some lines omitted]\n" "b7814000-b7817000 rw-p 00000000 00:00 0\n" "bff53000-bff74000 rw-p 00000000 00:00 0 [stack]\n" "Aborted (core dumped)\n" msgstr "" "$B< ./a.out>;\n" "main(): returned from first free() call\n" "*** glibc detected *** ./a.out: double free or corruption (top): 0x09d30008 ***\n" "======= Backtrace: =========\n" "/lib/libc.so.6(+0x6c501)[0x523501]\n" "/lib/libc.so.6(+0x6dd70)[0x524d70]\n" "/lib/libc.so.6(cfree+0x6d)[0x527e5d]\n" "\\&./a.out[0x80485db]\n" "/lib/libc.so.6(__libc_start_main+0xe7)[0x4cdce7]\n" "\\&./a.out[0x8048471]\n" "======= Memory map: ========\n" "001e4000-001fe000 r-xp 00000000 08:06 1083555 /lib/libgcc_s.so.1\n" "001fe000-001ff000 r--p 00019000 08:06 1083555 /lib/libgcc_s.so.1\n" "[some lines omitted]\n" "b7814000-b7817000 rw-p 00000000 00:00 0\n" "bff53000-bff74000 rw-p 00000000 00:00 0 [stack]\n" "Aborted (core dumped)\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The following runs show the results when employing other values for " "B:" msgstr "" "تُظهر التشغيلات التالية النتائج عند استخدام قيم أخرى لـ B:" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "$B< ./a.out 1>; # Diagnose error and continue\n" "main(): returned from first free() call\n" "*** glibc detected *** ./a.out: double free or corruption (top): 0x09cbe008 ***\n" "main(): returned from second free() call\n" "$B< ./a.out 2>; # Abort without error message\n" "main(): returned from first free() call\n" "Aborted (core dumped)\n" "$B< ./a.out 0>; # Ignore error and continue\n" "main(): returned from first free() call\n" "main(): returned from second free() call\n" msgstr "" "$B< ./a.out 1>; # تشخيص الخطأ والاستمرار\n" "main(): returned from first free() call\n" "*** glibc detected *** ./a.out: double free or corruption (top): 0x09cbe008 ***\n" "main(): returned from second free() call\n" "$B< ./a.out 2>; # إجهاض بدون رسالة خطأ\n" "main(): returned from first free() call\n" "Aborted (core dumped)\n" "$B< ./a.out 0>; # تجاهل الخطأ والاستمرار\n" "main(): returned from first free() call\n" "main(): returned from second free() call\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The next run shows how to set the same parameter using the B " "environment variable:" msgstr "" "يُظهر التشغيل التالي كيفية تعيين نفس المعامل باستخدام متغير البيئة " "B:" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "$B< MALLOC_CHECK_=1 ./a.out>;\n" "main(): returned from first free() call\n" "*** glibc detected *** ./a.out: free(): invalid pointer: 0x092c2008 ***\n" "main(): returned from second free() call\n" msgstr "" "$B< MALLOC_CHECK_=1 ./a.out>;\n" "main(): returned from first free() call\n" "*** glibc detected *** ./a.out: free(): invalid pointer: 0x092c2008 ***\n" "main(): returned from second free() call\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-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "#include Emalloc.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " char *p;\n" "\\&\n" " if (argc E 1) {\n" " if (mallopt(M_CHECK_ACTION, atoi(argv[1])) != 1) {\n" " fprintf(stderr, \"mallopt() failed\");\n" " exit(EXIT_FAILURE);\n" " }\n" " }\n" "\\&\n" " p = malloc(1000);\n" " if (p == NULL) {\n" " fprintf(stderr, \"malloc() failed\");\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " free(p);\n" " printf(\"%s(): returned from first free() call\\[rs]n\", __func__);\n" "\\&\n" " free(p);\n" " printf(\"%s(): returned from second free() call\\[rs]n\", __func__);\n" "\\&\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" "#include Emalloc.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " char *p;\n" "\\&\n" " if (argc E 1) {\n" " if (mallopt(M_CHECK_ACTION, atoi(argv[1])) != 1) {\n" " fprintf(stderr, \"mallopt() failed\");\n" " exit(EXIT_FAILURE);\n" " }\n" " }\n" "\\&\n" " p = malloc(1000);\n" " if (p == NULL) {\n" " fprintf(stderr, \"malloc() failed\");\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " free(p);\n" " printf(\"%s(): returned from first free() call\\[rs]n\", __func__);\n" "\\&\n" " free(p);\n" " printf(\"%s(): returned from second free() call\\[rs]n\", __func__);\n" "\\&\n" " exit(EXIT_SUCCESS);\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(3), B(3), B(3), " "B(3), B(3), B(3), B(3), " "B(3), B(3)" msgstr "" "B(2), B(2), B(3), B(3), B(3), " "B(3), B(3), B(3), B(3), " "B(3), B(3)" #. 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 #, no-wrap msgid "" "$ B<./a.out>\n" "main(): returned from first free() call\n" "*** glibc detected *** ./a.out: double free or corruption (top): 0x09d30008 ***\n" "======= Backtrace: =========\n" "/lib/libc.so.6(+0x6c501)[0x523501]\n" "/lib/libc.so.6(+0x6dd70)[0x524d70]\n" "/lib/libc.so.6(cfree+0x6d)[0x527e5d]\n" "\\&./a.out[0x80485db]\n" "/lib/libc.so.6(__libc_start_main+0xe7)[0x4cdce7]\n" "\\&./a.out[0x8048471]\n" "======= Memory map: ========\n" "001e4000-001fe000 r-xp 00000000 08:06 1083555 /lib/libgcc_s.so.1\n" "001fe000-001ff000 r--p 00019000 08:06 1083555 /lib/libgcc_s.so.1\n" "[some lines omitted]\n" "b7814000-b7817000 rw-p 00000000 00:00 0\n" "bff53000-bff74000 rw-p 00000000 00:00 0 [stack]\n" "Aborted (core dumped)\n" msgstr "" "$ B<./a.out>\n" "main(): returned from first free() call\n" "*** glibc detected *** ./a.out: double free or corruption (top): 0x09d30008 ***\n" "======= Backtrace: =========\n" "/lib/libc.so.6(+0x6c501)[0x523501]\n" "/lib/libc.so.6(+0x6dd70)[0x524d70]\n" "/lib/libc.so.6(cfree+0x6d)[0x527e5d]\n" "\\&./a.out[0x80485db]\n" "/lib/libc.so.6(__libc_start_main+0xe7)[0x4cdce7]\n" "\\&./a.out[0x8048471]\n" "======= Memory map: ========\n" "001e4000-001fe000 r-xp 00000000 08:06 1083555 /lib/libgcc_s.so.1\n" "001fe000-001ff000 r--p 00019000 08:06 1083555 /lib/libgcc_s.so.1\n" "[some lines omitted]\n" "b7814000-b7817000 rw-p 00000000 00:00 0\n" "bff53000-bff74000 rw-p 00000000 00:00 0 [stack]\n" "Aborted (core dumped)\n" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "" "$ B<./a.out 1> # Diagnose error and continue\n" "main(): returned from first free() call\n" "*** glibc detected *** ./a.out: double free or corruption (top): 0x09cbe008 ***\n" "main(): returned from second free() call\n" "$ B<./a.out 2> # Abort without error message\n" "main(): returned from first free() call\n" "Aborted (core dumped)\n" "$ B<./a.out 0> # Ignore error and continue\n" "main(): returned from first free() call\n" "main(): returned from second free() call\n" msgstr "" "$ B<./a.out 1> # تشخيص الخطأ والاستمرار\n" "main(): returned from first free() call\n" "*** glibc detected *** ./a.out: double free or corruption (top): 0x09cbe008 ***\n" "main(): returned from second free() call\n" "$ B<./a.out 2> # إجهاض بدون رسالة خطأ\n" "main(): returned from first free() call\n" "Aborted (core dumped)\n" "$ B<./a.out 0> # تجاهل الخطأ والاستمرار\n" "main(): returned from first free() call\n" "main(): returned from second free() call\n" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "" "$ B\n" "main(): returned from first free() call\n" "*** glibc detected *** ./a.out: free(): invalid pointer: 0x092c2008 ***\n" "main(): returned from second free() call\n" msgstr "" "$ B\n" "main(): returned from first free() call\n" "*** glibc detected *** ./a.out: free(): invalid pointer: 0x092c2008 ***\n" "main(): returned from second free() call\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 "صفحات دليل لينكس (لم تصدر بعد)"