# 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:19+0200\n" "PO-Revision-Date: 2026-05-31 18:49+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 "backtrace" msgstr "backtrace" #. 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 "" "backtrace, backtrace_symbols, backtrace_symbols_fd - support for application " "self-debugging" msgstr "" "backtrace, backtrace_symbols, backtrace_symbols_fd - دعم لتصحيح التطبيق " "الذاتي" #. 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 Eexecinfo.hE>\n" msgstr "B<#include Eexecinfo.hE>\n" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "Bint size;\n" "B< void *>IB<[>IB<], int >IB<);>\n" msgstr "" "Bint size;\n" "B< void *>IB<[>IB<], int >IB<);>\n" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "Bint size;\n" "B< void *const >IB<[>IB<], int >IB<);>\n" "Bint size;\n" "B< void *const >IB<[>IB<], int >IB<, int >IB<);>\n" msgstr "" "Bint size;\n" "B< void *const >IB<[>IB<], int >IB<);>\n" "Bint size;\n" "B< void *const >IB<[>IB<], int >IB<, 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 "" "B() returns a backtrace for the calling program, in the array " "pointed to by I. A backtrace is the series of currently active " "function calls for the program. Each item in the array pointed to by " "I is of type I, and is the return address from the " "corresponding stack frame. The I argument specifies the maximum " "number of addresses that can be stored in I. If the backtrace is " "larger than I, then the addresses corresponding to the I most " "recent function calls are returned; to obtain the complete backtrace, make " "sure that I and I are large enough." msgstr "" "B() تُرجع أثرًا رجعيًا للبرنامج المستدعي، في المصفوفة المشار إليها " "بواسطة I. الأثر الرجعي هو سلسلة استدعاءات الدوال النشطة حاليًا " "للبرنامج. كل عنصر في المصفوفة المشار إليها بواسطة I هو من النوع " "I، وهو عنوان الإرجاع من إطار المكدس المقابل. تُحدد الوسيطة I " "الحد الأقصى لعدد العناوين التي يمكن تخزينها في I. إذا كان الأثر " "الرجعي أكبر من I، فسيتم إرجاع العناوين المقابلة لأحدث I " "استدعاءات دالة؛ للحصول على الأثر الرجعي الكامل، تأكد من أن I و " "I كبيران بما يكفي." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Given the set of addresses returned by B() in I, " "B() translates the addresses into an array of strings " "that describe the addresses symbolically. The I argument specifies " "the number of addresses in I. The symbolic representation of each " "address consists of the function name (if this can be determined), a " "hexadecimal offset into the function, and the actual return address (in " "hexadecimal). The address of the array of string pointers is returned as " "the function result of B(). This array is B(3)ed " "by B(), and must be freed by the caller. (The strings " "pointed to by the array of pointers need not and should not be freed.)" msgstr "" "بالنظر إلى مجموعة العناوين التي أرجعتها B() في I، تُترجم " "B() العناوين إلى مصفوفة من السلاسل التي تصف العناوين " "رمزيًا. تُحدد الوسيطة I عدد العناوين في I. يتكون التمثيل " "الرمزي لكل عنوان من اسم الدالة (إذا كان يمكن تحديده)، وإزاحة سداسية عشرية " "داخل الدالة، وعنوان الإرجاع الفعلي (بالسداسي العشري). يُعاد عنوان مصفوفة " "مؤشرات السلاسل كنتيجة دالة لـ B(). هذه المصفوفة مُخصصة " "بواسطة B(3) من قبل B()، ويجب تحريرها بواسطة " "المستدعي. (السلاسل المشار إليها بواسطة مصفوفة المؤشرات لا تحتاج ولا ينبغي " "تحريرها.)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B() takes the same I and I arguments as " "B(), but instead of returning an array of strings to the " "caller, it writes the strings, one per line, to the file descriptor I. " "B() does not call B(3), and so can be " "employed in situations where the latter function might fail, but see NOTES." msgstr "" "تأخذ B() نفس وسيطات I و I مثل " "B()، ولكن بدلاً من إعادة مصفوفة من السلاسل إلى المستدعي، " "تكتب السلاسل، سطرًا واحدًا لكل سطر، إلى واصف الملف I. لا تستدعي " "B() B(3)، وبالتالي يمكن استخدامها في المواقف " "التي قد تفشل فيها الدالة الأخيرة، ولكن انظر الملاحظات." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "RETURN VALUE" msgstr "قيمة الإرجاع" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "B() returns the number of addresses returned in I, which " "is not greater than I. If the return value is less than I, then " "the full backtrace was stored; if it is equal to I, then it may have " "been truncated, in which case, the addresses of the oldest stack frames are " "not returned." msgstr "" "تُرجع B() عدد العناوين المُعادة في I، والذي لا يزيد عن " "I. إذا كانت القيمة المُعادة أقل من I، فقد خُزِن الأثر الرجعي " "الكامل؛ إذا كانت مساوية لـ I، فقد يكون قد قُطِع، وفي هذه الحالة، لا تُعاد " "عناوين أقدم إطارات المكدس." #. 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 a pointer to the array " "B(3)ed by the call; on error, NULL is returned." msgstr "" "عند النجاح، تُرجع B() مؤشرًا إلى المصفوفة المُخصصة بواسطة " "B(3) من خلال الاستدعاء؛ عند الخطأ، يُعاد NULL." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "ATTRIBUTES" msgstr "السمات" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "For an explanation of the terms used in this section, see B(7)." msgstr "" "للاطلاع على شرح للمصطلحات المستخدمة في هذا القسم، انظر B(7)." #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Interface" msgstr "الواجهة" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Attribute" msgstr "السمة" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Value" msgstr "القيمة" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid ".na\n" msgstr ".na\n" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid ".nh\n" msgstr ".nh\n" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "B(),\n" "B(),\n" "B()" msgstr "" "B()،\n" "B()،\n" "B()" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Thread safety" msgstr "سلامة الخيوط" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "MT-Safe" msgstr "MT-Safe" #. type: 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 "GNU." msgstr "GNU." #. 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.1." msgstr "glibc 2.1." #. 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 "" "These functions make some assumptions about how a function's return address " "is stored on the stack. Note the following:" msgstr "" "تفترض هذه الدوال بعض الافتراضات حول كيفية تخزين عنوان إرجاع الدالة على " "المكدس. لاحظ ما يلي:" #. 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 "" "Omission of the frame pointers (as implied by any of B(1)'s nonzero " "optimization levels) may cause these assumptions to be violated." msgstr "" "قد يؤدي حذف مؤشرات الإطار (كما هو مُضمن في أي من مستويات التحسين غير الصفرية " "لـ B(1)) إلى انتهاك هذه الافتراضات." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Inlined functions do not have stack frames." msgstr "لا تحتوي الدوال المُضمنة على إطارات مكدس." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Tail-call optimization causes one stack frame to replace another." msgstr "يتسبب تحسين استدعاء الذيل في استبدال إطار مكدس بآخر." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B() and B() don't call B() " "explicitly, but they are part of I, which gets loaded dynamically " "when first used. Dynamic loading usually triggers a call to B(3). " "If you need certain calls to these two functions to not allocate memory (in " "signal handlers, for example), you need to make sure I is loaded " "beforehand." msgstr "" "لا تستدعي B() و B() B() بشكل " "صريح، لكنهما جزء من 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 symbol names may be unavailable without the use of special linker " "options. For systems using the GNU linker, it is necessary to use the I<-" "rdynamic> linker option. Note that names of \"static\" functions are not " "exposed, and won't be available in the backtrace." msgstr "" "قد تكون أسماء الرموز غير متاحة دون استخدام خيارات رابط خاصة. بالنسبة " "للأنظمة التي تستخدم رابط GNU، من الضروري استخدام خيار الرابط I<-rdynamic>. " "لاحظ أن أسماء الدوال \"الثابتة\" غير مكشوفة، ولن تكون متاحة في الأثر الرجعي." #. 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() and " "B(). The following shell session shows what we might see " "when running the program:" msgstr "" "يوضح البرنامج أدناه استخدام B() و B(). تُظهر " "جلسة الصدفة التالية ما قد نراه عند تشغيل البرنامج:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "$B< cc -rdynamic prog.c -o prog>\n" "$B< ./prog 3>\n" "backtrace() returned 8 addresses\n" "\\&./prog(myfunc3+0x5c) [0x80487f0]\n" "\\&./prog [0x8048871]\n" "\\&./prog(myfunc+0x21) [0x8048894]\n" "\\&./prog(myfunc+0x1a) [0x804888d]\n" "\\&./prog(myfunc+0x1a) [0x804888d]\n" "\\&./prog(main+0x65) [0x80488fb]\n" "\\&/lib/libc.so.6(__libc_start_main+0xdc) [0xb7e38f9c]\n" "\\&./prog [0x8048711]\n" msgstr "" "$B< cc -rdynamic prog.c -o prog>\n" "$B< ./prog 3>\n" "backtrace() returned 8 addresses\n" "\\&./prog(myfunc3+0x5c) [0x80487f0]\n" "\\&./prog [0x8048871]\n" "\\&./prog(myfunc+0x21) [0x8048894]\n" "\\&./prog(myfunc+0x1a) [0x804888d]\n" "\\&./prog(myfunc+0x1a) [0x804888d]\n" "\\&./prog(main+0x65) [0x80488fb]\n" "\\&/lib/libc.so.6(__libc_start_main+0xdc) [0xb7e38f9c]\n" "\\&./prog [0x8048711]\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 Eexecinfo.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Eunistd.hE\n" "\\&\n" "#define BT_BUF_SIZE 100\n" "\\&\n" "void\n" "myfunc3(void)\n" "{\n" " int nptrs;\n" " void *buffer[BT_BUF_SIZE];\n" " char **strings;\n" "\\&\n" " nptrs = backtrace(buffer, BT_BUF_SIZE);\n" " printf(\"backtrace() returned %d addresses\\[rs]n\", nptrs);\n" "\\&\n" " /* The call backtrace_symbols_fd(buffer, nptrs, STDOUT_FILENO)\n" " would produce similar output to the following: */\n" "\\&\n" " strings = backtrace_symbols(buffer, nptrs);\n" " if (strings == NULL) {\n" " perror(\"backtrace_symbols\");\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " for (size_t j = 0; j E nptrs; j++)\n" " printf(\"%s\\[rs]n\", strings[j]);\n" "\\&\n" " free(strings);\n" "}\n" "\\&\n" "static void /* \"static\" means don\\[aq]t export the symbol. */\n" "myfunc2(void)\n" "{\n" " myfunc3();\n" "}\n" "\\&\n" "void\n" "myfunc(int ncalls)\n" "{\n" " if (ncalls E 1)\n" " myfunc(ncalls - 1);\n" " else\n" " myfunc2();\n" "}\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " if (argc != 2) {\n" " fprintf(stderr, \"%s num-calls\\[rs]n\", argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " myfunc(atoi(argv[1]));\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" "#include Eexecinfo.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Eunistd.hE\n" "\\&\n" "#define BT_BUF_SIZE 100\n" "\\&\n" "void\n" "myfunc3(void)\n" "{\n" " int nptrs;\n" " void *buffer[BT_BUF_SIZE];\n" " char **strings;\n" "\\&\n" " nptrs = backtrace(buffer, BT_BUF_SIZE);\n" " printf(\"backtrace() returned %d addresses\\[rs]n\", nptrs);\n" "\\&\n" " /* The call backtrace_symbols_fd(buffer, nptrs, STDOUT_FILENO)\n" " would produce similar output to the following: */\n" "\\&\n" " strings = backtrace_symbols(buffer, nptrs);\n" " if (strings == NULL) {\n" " perror(\"backtrace_symbols\");\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " for (size_t j = 0; j E nptrs; j++)\n" " printf(\"%s\\[rs]n\", strings[j]);\n" "\\&\n" " free(strings);\n" "}\n" "\\&\n" "static void /* \"static\" means don\\[aq]t export the symbol. */\n" "myfunc2(void)\n" "{\n" " myfunc3();\n" "}\n" "\\&\n" "void\n" "myfunc(int ncalls)\n" "{\n" " if (ncalls E 1)\n" " myfunc(ncalls - 1);\n" " else\n" " myfunc2();\n" "}\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " if (argc != 2) {\n" " fprintf(stderr, \"%s num-calls\\[rs]n\", argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " myfunc(atoi(argv[1]));\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(1), B(1), B(1), B(1), B(3), B(3)" msgstr "" "B(1)، B(1)، B(1)، B(1)، 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 "BIB<[.>IB<], int >IB<);>\n" msgstr "BIB<[.>IB<], int >IB<);>\n" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "" "BIB<[.>IB<], int >IB<);>\n" "BIB<[.>IB<], int >IB<, int >IB<);>\n" msgstr "" "BIB<[.>IB<], int >IB<);>\n" "BIB<[.>IB<], int >IB<, int >IB<);>\n" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "B() returns the number of addresses returned in I, which " "is not greater than I. If the return value is less than I, then " "the full backtrace was stored; if it is equal to I, then it may have " "been truncated, in which case the addresses of the oldest stack frames are " "not returned." msgstr "" "B() تُرجع عدد العناوين المُعادة في I، والذي لا يزيد عن " "I. إذا كانت القيمة المُعادة أقل من I، فحينئذ خُزِن التتبع الخلفي " "الكامل؛ إذا كانت مساوية لـ I، فربما قُطِع، وفي هذه الحالة لا تُعاد عناوين " "أقدم إطارات المكدس." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "" "#include Eexecinfo.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Eunistd.hE\n" "\\&\n" "#define BT_BUF_SIZE 100\n" "\\&\n" "void\n" "myfunc3(void)\n" "{\n" " int nptrs;\n" " void *buffer[BT_BUF_SIZE];\n" " char **strings;\n" "\\&\n" " nptrs = backtrace(buffer, BT_BUF_SIZE);\n" " printf(\"backtrace() returned %d addresses\\[rs]n\", nptrs);\n" "\\&\n" " /* The call backtrace_symbols_fd(buffer, nptrs, STDOUT_FILENO)\n" " would produce similar output to the following: */\n" "\\&\n" " strings = backtrace_symbols(buffer, nptrs);\n" " if (strings == NULL) {\n" " perror(\"backtrace_symbols\");\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " for (size_t j = 0; j E nptrs; j++)\n" " printf(\"%s\\[rs]n\", strings[j]);\n" "\\&\n" " free(strings);\n" "}\n" "\\&\n" "static void /* \"static\" means don\\[aq]t export the symbol... */\n" "myfunc2(void)\n" "{\n" " myfunc3();\n" "}\n" "\\&\n" "void\n" "myfunc(int ncalls)\n" "{\n" " if (ncalls E 1)\n" " myfunc(ncalls - 1);\n" " else\n" " myfunc2();\n" "}\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " if (argc != 2) {\n" " fprintf(stderr, \"%s num-calls\\[rs]n\", argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " myfunc(atoi(argv[1]));\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" "#include Eexecinfo.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Eunistd.hE\n" "\\&\n" "#define BT_BUF_SIZE 100\n" "\\&\n" "void\n" "myfunc3(void)\n" "{\n" " int nptrs;\n" " void *buffer[BT_BUF_SIZE];\n" " char **strings;\n" "\\&\n" " nptrs = backtrace(buffer, BT_BUF_SIZE);\n" " printf(\"backtrace() returned %d addresses\\[rs]n\", nptrs);\n" "\\&\n" " /* The call backtrace_symbols_fd(buffer, nptrs, STDOUT_FILENO)\n" " would produce similar output to the following: */\n" "\\&\n" " strings = backtrace_symbols(buffer, nptrs);\n" " if (strings == NULL) {\n" " perror(\"backtrace_symbols\");\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " for (size_t j = 0; j E nptrs; j++)\n" " printf(\"%s\\[rs]n\", strings[j]);\n" "\\&\n" " free(strings);\n" "}\n" "\\&\n" "static void /* \"static\" means don\\[aq]t export the symbol... */\n" "myfunc2(void)\n" "{\n" " myfunc3();\n" "}\n" "\\&\n" "void\n" "myfunc(int ncalls)\n" "{\n" " if (ncalls E 1)\n" " myfunc(ncalls - 1);\n" " else\n" " myfunc2();\n" "}\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " if (argc != 2) {\n" " fprintf(stderr, \"%s num-calls\\[rs]n\", argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " myfunc(atoi(argv[1]));\n" " exit(EXIT_SUCCESS);\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 "صفحات دليل لينكس (لم تصدر بعد)"