| 1 |
# Arabic translation of manpages |
| 2 |
# This file is distributed under the same license as the manpages-l10n package. |
| 3 |
# Copyright © of this file: |
| 4 |
# زايد السعيدي <[email protected]>, 2026. |
| 5 |
msgid "" |
| 6 |
msgstr "" |
| 7 |
"Project-Id-Version: manpages-l10n 4.30.2\n" |
| 8 |
"POT-Creation-Date: 2026-06-05 06:22+0200\n" |
| 9 |
"PO-Revision-Date: 2026-06-01 17:51+0400\n" |
| 10 |
"Last-Translator: Zayed Al-Saidi <[email protected]>\n" |
| 11 |
"Language-Team: Arabic <[email protected]>\n" |
| 12 |
"Language: ar\n" |
| 13 |
"MIME-Version: 1.0\n" |
| 14 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 15 |
"Content-Transfer-Encoding: 8bit\n" |
| 16 |
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " |
| 17 |
"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" |
| 18 |
"X-Generator: Lokalize 23.08.5\n" |
| 19 |
|
| 20 |
#. type: TH |
| 21 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 22 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 23 |
#, no-wrap |
| 24 |
msgid "dl_iterate_phdr" |
| 25 |
msgstr "dl_iterate_phdr" |
| 26 |
|
| 27 |
#. type: TH |
| 28 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 29 |
#: opensuse-tumbleweed |
| 30 |
#, no-wrap |
| 31 |
msgid "2026-02-08" |
| 32 |
msgstr "8 فبراير 2026" |
| 33 |
|
| 34 |
#. type: TH |
| 35 |
#: archlinux debian-unstable |
| 36 |
#, no-wrap |
| 37 |
msgid "Linux man-pages 6.18" |
| 38 |
msgstr "صفحات دليل لينكس 6.18" |
| 39 |
|
| 40 |
#. type: SH |
| 41 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 42 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 43 |
#, no-wrap |
| 44 |
msgid "NAME" |
| 45 |
msgstr "الاسم" |
| 46 |
|
| 47 |
#. type: Plain text |
| 48 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 49 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 50 |
msgid "dl_iterate_phdr - walk through list of shared objects" |
| 51 |
msgstr "dl_iterate_phdr - التجول في قائمة الكائنات المشتركة" |
| 52 |
|
| 53 |
#. type: SH |
| 54 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 55 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 56 |
#, no-wrap |
| 57 |
msgid "LIBRARY" |
| 58 |
msgstr "المكتبة" |
| 59 |
|
| 60 |
#. type: Plain text |
| 61 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 62 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 63 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 64 |
msgstr "مكتبة سي المعيارية (I<libc>،\\ I<-lc>)" |
| 65 |
|
| 66 |
#. type: SH |
| 67 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 68 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 69 |
#, no-wrap |
| 70 |
msgid "SYNOPSIS" |
| 71 |
msgstr "موجز" |
| 72 |
|
| 73 |
#. type: Plain text |
| 74 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 75 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 76 |
#, no-wrap |
| 77 |
msgid "" |
| 78 |
"B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n" |
| 79 |
"B<#include E<lt>link.hE<gt>>\n" |
| 80 |
msgstr "" |
| 81 |
"B<#define _GNU_SOURCE> /* انظر feature_test_macros(7) */\n" |
| 82 |
"B<#include E<lt>link.hE<gt>>\n" |
| 83 |
|
| 84 |
#. type: Plain text |
| 85 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 86 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 87 |
#, no-wrap |
| 88 |
msgid "" |
| 89 |
"B<int dl_iterate_phdr(>\n" |
| 90 |
"B< typeof(int (struct dl_phdr_info *>I<info>B<, size_t >I<size>B<, void *>I<data>B<))>\n" |
| 91 |
"B< *>I<callback>B<,>\n" |
| 92 |
"B< void *>I<data>B<);>\n" |
| 93 |
msgstr "" |
| 94 |
"B<int dl_iterate_phdr(>\n" |
| 95 |
"B< typeof(int (struct dl_phdr_info *>I<info>B<, size_t >I<size>B<, void *>I<data>B<))>\n" |
| 96 |
"B< *>I<callback>B<,>\n" |
| 97 |
"B< void *>I<data>B<);>\n" |
| 98 |
|
| 99 |
#. type: SH |
| 100 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 101 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 102 |
#, no-wrap |
| 103 |
msgid "DESCRIPTION" |
| 104 |
msgstr "الوصف" |
| 105 |
|
| 106 |
#. type: Plain text |
| 107 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 108 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 109 |
msgid "" |
| 110 |
"The B<dl_iterate_phdr>() function allows an application to inquire at run " |
| 111 |
"time to find out which shared objects it has loaded, and the order in which " |
| 112 |
"they were loaded." |
| 113 |
msgstr "" |
| 114 |
"تسمح الدالة B<dl_iterate_phdr>() للتطبيق بالاستعلام وقت التشغيل لمعرفة أي " |
| 115 |
"الكائنات المشتركة تم تحميلها، والترتيب الذي حُمّلت به." |
| 116 |
|
| 117 |
#. type: Plain text |
| 118 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 119 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 120 |
msgid "" |
| 121 |
"The B<dl_iterate_phdr>() function walks through the list of an " |
| 122 |
"application's shared objects and calls the function I<callback> once for " |
| 123 |
"each object, until either all shared objects have been processed or " |
| 124 |
"I<callback> returns a nonzero value." |
| 125 |
msgstr "" |
| 126 |
"تتجول الدالة B<dl_iterate_phdr>() في قائمة الكائنات المشتركة للتطبيق " |
| 127 |
"وتستدعي الدالة I<callback> مرة لكل كائن، حتى تتم معالجة جميع الكائنات " |
| 128 |
"المشتركة أو تُرجع I<callback> قيمة غير صفرية." |
| 129 |
|
| 130 |
#. type: Plain text |
| 131 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 132 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 133 |
msgid "" |
| 134 |
"Each call to I<callback> receives three arguments: I<info>, which is a " |
| 135 |
"pointer to a structure containing information about the shared object; " |
| 136 |
"I<size>, which is the size of the structure pointed to by I<info>; and " |
| 137 |
"I<data>, which is a copy of whatever value was passed by the calling program " |
| 138 |
"as the second argument (also named I<data>) in the call to " |
| 139 |
"B<dl_iterate_phdr>()." |
| 140 |
msgstr "" |
| 141 |
"تتلقى كل استدعاء لـ I<callback> ثلاث وسائط: I<info>، وهو مؤشر لبنية تحتوي " |
| 142 |
"معلومات عن الكائن المشترك؛ I<size>، وهو حجم البنية المشار إليها بـ I<info>؛ " |
| 143 |
"و I<data>، وهو نسخة من أي قيمة مررها البرنامج المستدعي كالوسيطة الثانية " |
| 144 |
"(المسماة أيضًا I<data>) في استدعاء B<dl_iterate_phdr>()." |
| 145 |
|
| 146 |
#. type: Plain text |
| 147 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 148 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 149 |
msgid "The I<info> argument is a structure of the following type:" |
| 150 |
msgstr "الوسيطة I<info> هي بنية من النوع التالي:" |
| 151 |
|
| 152 |
#. type: Plain text |
| 153 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 154 |
#: opensuse-tumbleweed |
| 155 |
#, no-wrap |
| 156 |
msgid "" |
| 157 |
"struct dl_phdr_info {\n" |
| 158 |
" ElfW(Addr) dlpi_addr; /* Base address of object */\n" |
| 159 |
" const char *dlpi_name; /* (Null-terminated) name of\n" |
| 160 |
" object */\n" |
| 161 |
" const ElfW(Phdr) *dlpi_phdr; /* Pointer to array of\n" |
| 162 |
" ELF program headers\n" |
| 163 |
" for this object */\n" |
| 164 |
" ElfW(Half) dlpi_phnum; /* # of items in \\f[I]dlpi_phdr\\fR */\n" |
| 165 |
"\\&\n" |
| 166 |
" /* The following fields were added in glibc 2.4, after the first\n" |
| 167 |
" version of this structure was available. Check the \\f[I]size\\fR\n" |
| 168 |
" argument passed to the dl_iterate_phdr callback to determine\n" |
| 169 |
" whether or not each later member is available. */\n" |
| 170 |
"\\&\n" |
| 171 |
" unsigned long long dlpi_adds;\n" |
| 172 |
" /* Incremented when a new object may\n" |
| 173 |
" have been added */\n" |
| 174 |
" unsigned long long dlpi_subs;\n" |
| 175 |
" /* Incremented when an object may\n" |
| 176 |
" have been removed */\n" |
| 177 |
" size_t dlpi_tls_modid;\n" |
| 178 |
" /* If there is a PT_TLS segment, its module\n" |
| 179 |
" ID as used in TLS relocations, else zero */\n" |
| 180 |
" void *dlpi_tls_data;\n" |
| 181 |
" /* The address of the calling thread\\[aq]s instance\n" |
| 182 |
" of this module\\[aq]s PT_TLS segment, if it has\n" |
| 183 |
" one and it has been allocated in the calling\n" |
| 184 |
" thread, otherwise a null pointer */\n" |
| 185 |
"};\n" |
| 186 |
msgstr "" |
| 187 |
"struct dl_phdr_info {\n" |
| 188 |
" ElfW(Addr) dlpi_addr; /* عنوان قاعدة الكائن */\n" |
| 189 |
" const char *dlpi_name; /* اسم الكائن (منتهٍ بصفر) */\n" |
| 190 |
" const ElfW(Phdr) *dlpi_phdr; /* مؤشر لمصفوفة رؤوس برامج ELF\n" |
| 191 |
" لهذا الكائن */\n" |
| 192 |
" ElfW(Half) dlpi_phnum; /* عدد العناصر في \\f[I]dlpi_phdr\\fR */\n" |
| 193 |
"\\&\n" |
| 194 |
" /* الحقول التالية أُضيفت في glibc 2.4، بعد توفر النسخة الأولى\n" |
| 195 |
" من هذه البنية. تحقق من الوسيطة \\f[I]size\\fR الممررة إلى\n" |
| 196 |
" استدعاء dl_iterate_phdr callback لتحديد ما إذا كان كل عضو لاحق متاحًا. */\n" |
| 197 |
"\\&\n" |
| 198 |
" unsigned long long dlpi_adds;\n" |
| 199 |
" /* يُزاد عند إضافة كائن جديد */\n" |
| 200 |
" unsigned long long dlpi_subs;\n" |
| 201 |
" /* يُزاد عند إزالة كائن */\n" |
| 202 |
" size_t dlpi_tls_modid;\n" |
| 203 |
" /* إذا كان هناك مقطع PT_TLS، معرف وحدته المستخدم\n" |
| 204 |
" في إعادة توطين TLS، وإلا صفر */\n" |
| 205 |
" void *dlpi_tls_data;\n" |
| 206 |
" /* عنوان مثيل الخيط المستدعي لمقطع PT_TLS\n" |
| 207 |
" لهذه الوحدة، إذا كان لديها واحد وتم تخصيصه\n" |
| 208 |
" في الخيط المستدعي، وإلا مؤشر فارغ */\n" |
| 209 |
"};\n" |
| 210 |
|
| 211 |
#. type: Plain text |
| 212 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 213 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 214 |
msgid "" |
| 215 |
"(The I<ElfW>() macro definition turns its argument into the name of an ELF " |
| 216 |
"data type suitable for the hardware architecture. For example, on a 32-bit " |
| 217 |
"platform, I<ElfW(Addr)> yields the data type name I<Elf32_Addr>. Further " |
| 218 |
"information on these types can be found in the I<E<lt>elf.hE<gt>> and " |
| 219 |
"I<E<lt>link.hE<gt>> header files.)" |
| 220 |
msgstr "" |
| 221 |
"(تحول تعريف الماكرو I<ElfW>() وسيطته إلى اسم نوع بيانات ELF مناسب لبنية " |
| 222 |
"العتاد. على سبيل المثال، على منصة 32 بت، يُنتج I<ElfW(Addr)> اسم نوع البيانات " |
| 223 |
"I<Elf32_Addr>. يمكن العثور على مزيد من المعلومات حول هذه الأنواع في ملفي " |
| 224 |
"الرأس I<E<lt>elf.hE<gt>> و I<E<lt>link.hE<gt>>.)" |
| 225 |
|
| 226 |
#. type: Plain text |
| 227 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 228 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 229 |
msgid "" |
| 230 |
"The I<dlpi_addr> field indicates the base address of the shared object (i." |
| 231 |
"e., the difference between the virtual memory address of the shared object " |
| 232 |
"and the offset of that object in the file from which it was loaded). The " |
| 233 |
"I<dlpi_name> field is a null-terminated string giving the pathname from " |
| 234 |
"which the shared object was loaded." |
| 235 |
msgstr "" |
| 236 |
"يشير الحقل I<dlpi_addr> إلى عنوان قاعدة الكائن المشترك (أي الفرق بين عنوان " |
| 237 |
"الذاكرة الافتراضية للكائن المشترك وإزاحة ذلك الكائن في الملف الذي حُمّل منه). " |
| 238 |
"الحقل I<dlpi_name> هو سلسلة محارف منتهية بصفر تعطي اسم المسار الذي حُمّل منه " |
| 239 |
"الكائن المشترك." |
| 240 |
|
| 241 |
#. type: Plain text |
| 242 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 243 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 244 |
msgid "" |
| 245 |
"To understand the meaning of the I<dlpi_phdr> and I<dlpi_phnum> fields, we " |
| 246 |
"need to be aware that an ELF shared object consists of a number of segments, " |
| 247 |
"each of which has a corresponding program header describing the segment. " |
| 248 |
"The I<dlpi_phdr> field is a pointer to an array of the program headers for " |
| 249 |
"this shared object. The I<dlpi_phnum> field indicates the size of this " |
| 250 |
"array." |
| 251 |
msgstr "" |
| 252 |
"لفهم معنى الحقلين I<dlpi_phdr> و I<dlpi_phnum>، يجب أن ندرك أن الكائن " |
| 253 |
"المشترك ELF يتكون من عدد من المقاطع، لكل منها رأس برنامج مقابل يصف المقطع. " |
| 254 |
"الحقل I<dlpi_phdr> هو مؤشر لمصفوفة رؤوس البرامج لهذا الكائن المشترك. الحقل " |
| 255 |
"I<dlpi_phnum> يشير إلى حجم هذه المصفوفة." |
| 256 |
|
| 257 |
#. type: Plain text |
| 258 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 259 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 260 |
msgid "These program headers are structures of the following form:" |
| 261 |
msgstr "رؤوس البرامج هذه هي بنى من الشكل التالي:" |
| 262 |
|
| 263 |
#. type: Plain text |
| 264 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 265 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 266 |
#, no-wrap |
| 267 |
msgid "" |
| 268 |
"typedef struct {\n" |
| 269 |
" Elf32_Word p_type; /* Segment type */\n" |
| 270 |
" Elf32_Off p_offset; /* Segment file offset */\n" |
| 271 |
" Elf32_Addr p_vaddr; /* Segment virtual address */\n" |
| 272 |
" Elf32_Addr p_paddr; /* Segment physical address */\n" |
| 273 |
" Elf32_Word p_filesz; /* Segment size in file */\n" |
| 274 |
" Elf32_Word p_memsz; /* Segment size in memory */\n" |
| 275 |
" Elf32_Word p_flags; /* Segment flags */\n" |
| 276 |
" Elf32_Word p_align; /* Segment alignment */\n" |
| 277 |
"} Elf32_Phdr;\n" |
| 278 |
msgstr "" |
| 279 |
"typedef struct {\n" |
| 280 |
" Elf32_Word p_type; /* نوع المقطع */\n" |
| 281 |
" Elf32_Off p_offset; /* إزاحة المقطع في الملف */\n" |
| 282 |
" Elf32_Addr p_vaddr; /* عنوان المقطع الافتراضي */\n" |
| 283 |
" Elf32_Addr p_paddr; /* عنوان المقطع الفعلي */\n" |
| 284 |
" Elf32_Word p_filesz; /* حجم المقطع في الملف */\n" |
| 285 |
" Elf32_Word p_memsz; /* حجم المقطع في الذاكرة */\n" |
| 286 |
" Elf32_Word p_flags; /* أعلام المقطع */\n" |
| 287 |
" Elf32_Word p_align; /* محاذاة المقطع */\n" |
| 288 |
"} Elf32_Phdr;\n" |
| 289 |
|
| 290 |
#. type: Plain text |
| 291 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 292 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 293 |
msgid "" |
| 294 |
"Note that we can calculate the location of a particular program header, " |
| 295 |
"I<x>, in virtual memory using the formula:" |
| 296 |
msgstr "" |
| 297 |
"لاحظ أنه يمكن حساب موقع رأس برنامج معين، I<x>، في الذاكرة الافتراضية " |
| 298 |
"باستخدام الصيغة:" |
| 299 |
|
| 300 |
#. type: Plain text |
| 301 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 302 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 303 |
#, no-wrap |
| 304 |
msgid "addr == info-E<gt>dlpi_addr + info-E<gt>dlpi_phdr[x].p_vaddr;\n" |
| 305 |
msgstr "addr == info-E<gt>dlpi_addr + info-E<gt>dlpi_phdr[x].p_vaddr;\n" |
| 306 |
|
| 307 |
#. type: Plain text |
| 308 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 309 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 310 |
msgid "" |
| 311 |
"Possible values for I<p_type> include the following (see I<E<lt>elf.hE<gt>> " |
| 312 |
"for further details):" |
| 313 |
msgstr "" |
| 314 |
"القيم المحتملة لـ I<p_type> تشمل التالي (انظر I<E<lt>elf.hE<gt>> لمزيد من " |
| 315 |
"التفاصيل):" |
| 316 |
|
| 317 |
#. For PT_GNU_STACK, see http://www.airs.com/blog/archives/518 |
| 318 |
#. type: Plain text |
| 319 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 320 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 321 |
#, no-wrap |
| 322 |
msgid "" |
| 323 |
"#define PT_LOAD 1 /* Loadable program segment */\n" |
| 324 |
"#define PT_DYNAMIC 2 /* Dynamic linking information */\n" |
| 325 |
"#define PT_INTERP 3 /* Program interpreter */\n" |
| 326 |
"#define PT_NOTE 4 /* Auxiliary information */\n" |
| 327 |
"#define PT_SHLIB 5 /* Reserved */\n" |
| 328 |
"#define PT_PHDR 6 /* Entry for header table itself */\n" |
| 329 |
"#define PT_TLS 7 /* Thread-local storage segment */\n" |
| 330 |
"#define PT_GNU_EH_FRAME 0x6474e550 /* GCC .eh_frame_hdr segment */\n" |
| 331 |
"#define PT_GNU_STACK 0x6474e551 /* Indicates stack executability */\n" |
| 332 |
"#define PT_GNU_RELRO 0x6474e552 /* Read-only after relocation */\n" |
| 333 |
msgstr "" |
| 334 |
"#define PT_LOAD 1 /* مقطع برنامج قابل للتحميل */\n" |
| 335 |
"#define PT_DYNAMIC 2 /* معلومات الربط الديناميكي */\n" |
| 336 |
"#define PT_INTERP 3 /* مفسر البرنامج */\n" |
| 337 |
"#define PT_NOTE 4 /* معلومات مساعدة */\n" |
| 338 |
"#define PT_SHLIB 5 /* محجوز */\n" |
| 339 |
"#define PT_PHDR 6 /* إدخال لجدول الرأس نفسه */\n" |
| 340 |
"#define PT_TLS 7 /* مقطع تخزين محلي للخيط */\n" |
| 341 |
"#define PT_GNU_EH_FRAME 0x6474e550 /* مقطع GCC .eh_frame_hdr */\n" |
| 342 |
"#define PT_GNU_STACK 0x6474e551 /* يشير إلى قابلية تنفيذ المكدس */\n" |
| 343 |
"#define PT_GNU_RELRO 0x6474e552 /* للقراءة فقط بعد إعادة التوطين */\n" |
| 344 |
|
| 345 |
#. type: SH |
| 346 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 347 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 348 |
#, no-wrap |
| 349 |
msgid "RETURN VALUE" |
| 350 |
msgstr "قيمة الإرجاع" |
| 351 |
|
| 352 |
#. type: Plain text |
| 353 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 354 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 355 |
msgid "" |
| 356 |
"The B<dl_iterate_phdr>() function returns whatever value was returned by " |
| 357 |
"the last call to I<callback>." |
| 358 |
msgstr "" |
| 359 |
"تُرجع الدالة B<dl_iterate_phdr>() أي قيمة أُرجعت بواسطة آخر استدعاء لـ " |
| 360 |
"I<callback>." |
| 361 |
|
| 362 |
#. type: SH |
| 363 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 364 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 365 |
#, no-wrap |
| 366 |
msgid "ATTRIBUTES" |
| 367 |
msgstr "السمات" |
| 368 |
|
| 369 |
#. type: Plain text |
| 370 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 371 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 372 |
msgid "" |
| 373 |
"For an explanation of the terms used in this section, see B<attributes>(7)." |
| 374 |
msgstr "" |
| 375 |
"للاطلاع على شرح للمصطلحات المستخدمة في هذا القسم، انظر B<attributes>(7)." |
| 376 |
|
| 377 |
#. type: tbl table |
| 378 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 379 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 380 |
#, no-wrap |
| 381 |
msgid "Interface" |
| 382 |
msgstr "الواجهة" |
| 383 |
|
| 384 |
#. type: tbl table |
| 385 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 386 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 387 |
#, no-wrap |
| 388 |
msgid "Attribute" |
| 389 |
msgstr "السمة" |
| 390 |
|
| 391 |
#. type: tbl table |
| 392 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 393 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 394 |
#, no-wrap |
| 395 |
msgid "Value" |
| 396 |
msgstr "القيمة" |
| 397 |
|
| 398 |
#. type: tbl table |
| 399 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 400 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 401 |
#, no-wrap |
| 402 |
msgid ".na\n" |
| 403 |
msgstr ".na\n" |
| 404 |
|
| 405 |
#. type: tbl table |
| 406 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 407 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 408 |
#, no-wrap |
| 409 |
msgid ".nh\n" |
| 410 |
msgstr ".nh\n" |
| 411 |
|
| 412 |
#. type: tbl table |
| 413 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 414 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 415 |
#, no-wrap |
| 416 |
msgid "B<dl_iterate_phdr>()" |
| 417 |
msgstr "B<dl_iterate_phdr>()" |
| 418 |
|
| 419 |
#. type: tbl table |
| 420 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 421 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 422 |
#, no-wrap |
| 423 |
msgid "Thread safety" |
| 424 |
msgstr "سلامة الخيوط" |
| 425 |
|
| 426 |
#. type: tbl table |
| 427 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 428 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 429 |
#, no-wrap |
| 430 |
msgid "MT-Safe" |
| 431 |
msgstr "MT-Safe" |
| 432 |
|
| 433 |
#. type: SH |
| 434 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 435 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 436 |
#, no-wrap |
| 437 |
msgid "VERSIONS" |
| 438 |
msgstr "الإصدارات" |
| 439 |
|
| 440 |
#. type: Plain text |
| 441 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 442 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 443 |
msgid "" |
| 444 |
"Various other systems provide a version of this function, although details " |
| 445 |
"of the returned I<dl_phdr_info> structure differ. On the BSDs and Solaris, " |
| 446 |
"the structure includes the fields I<dlpi_addr>, I<dlpi_name>, I<dlpi_phdr>, " |
| 447 |
"and I<dlpi_phnum> in addition to other implementation-specific fields." |
| 448 |
msgstr "" |
| 449 |
"توفر أنظمة أخرى متنوعة نسخة من هذه الدالة، على الرغم من اختلاف تفاصيل بنية " |
| 450 |
"I<dl_phdr_info> المُرجعة. في BSDs و Solaris، تتضمن البنية الحقول I<dlpi_addr> " |
| 451 |
"و I<dlpi_name> و I<dlpi_phdr> و I<dlpi_phnum> بالإضافة إلى حقول أخرى خاصة " |
| 452 |
"بالتطبيق." |
| 453 |
|
| 454 |
#. type: Plain text |
| 455 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 456 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 457 |
msgid "" |
| 458 |
"Future versions of the C library may add further fields to the " |
| 459 |
"I<dl_phdr_info> structure; in that event, the I<size> argument provides a " |
| 460 |
"mechanism for the callback function to discover whether it is running on a " |
| 461 |
"system with added fields." |
| 462 |
msgstr "" |
| 463 |
"قد تُضيف الإصدارات المستقبلية من مكتبة C حقولاً إضافية إلى بنية " |
| 464 |
"I<dl_phdr_info>؛ في هذه الحالة، تُوفّر الوسيطة I<size> آلية لدالة الاستدعاء " |
| 465 |
"لمعرفة ما إذا كانت تُنفّذ على نظام يحتوي على حقول مُضافة." |
| 466 |
|
| 467 |
#. type: SH |
| 468 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 469 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 470 |
#, no-wrap |
| 471 |
msgid "STANDARDS" |
| 472 |
msgstr "المعايير" |
| 473 |
|
| 474 |
#. type: Plain text |
| 475 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 476 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 477 |
msgid "None." |
| 478 |
msgstr "لا شيء." |
| 479 |
|
| 480 |
#. type: SH |
| 481 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 482 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 483 |
#, no-wrap |
| 484 |
msgid "HISTORY" |
| 485 |
msgstr "التاريخ" |
| 486 |
|
| 487 |
#. type: Plain text |
| 488 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 489 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 490 |
msgid "glibc 2.2.4." |
| 491 |
msgstr "glibc 2.2.4." |
| 492 |
|
| 493 |
#. type: SH |
| 494 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 495 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 496 |
#, no-wrap |
| 497 |
msgid "NOTES" |
| 498 |
msgstr "ملاحظات" |
| 499 |
|
| 500 |
#. type: Plain text |
| 501 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 502 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 503 |
msgid "" |
| 504 |
"The first object visited by I<callback> is the main program. For the main " |
| 505 |
"program, the I<dlpi_name> field will be an empty string." |
| 506 |
msgstr "" |
| 507 |
"أول كائن يزوره I<callback> هو البرنامج الرئيس. بالنسبة للبرنامج الرئيس، " |
| 508 |
"سيكون الحقل I<dlpi_name> سلسلة محارف فارغة." |
| 509 |
|
| 510 |
#. type: SH |
| 511 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 512 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 513 |
#, no-wrap |
| 514 |
msgid "EXAMPLES" |
| 515 |
msgstr "أمثلة" |
| 516 |
|
| 517 |
#. type: Plain text |
| 518 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 519 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 520 |
msgid "" |
| 521 |
"The following program displays a list of pathnames of the shared objects it " |
| 522 |
"has loaded. For each shared object, the program lists some information " |
| 523 |
"(virtual address, size, flags, and type) for each of the objects ELF " |
| 524 |
"segments." |
| 525 |
msgstr "" |
| 526 |
"يعرض البرنامج التالي قائمة بمسارات الكائنات المُشاركة التي حُمّلت. لكل كائن " |
| 527 |
"مُشارك، يُدرج البرنامج بعض المعلومات (العنوان الافتراضي، الحجم، الأعلام، " |
| 528 |
"والنوع) لكل قطعة ELF من الكائن." |
| 529 |
|
| 530 |
#. type: Plain text |
| 531 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 532 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 533 |
msgid "" |
| 534 |
"The following shell session demonstrates the output produced by the program " |
| 535 |
"on an x86-64 system. The first shared object for which output is displayed " |
| 536 |
"(where the name is an empty string) is the main program." |
| 537 |
msgstr "" |
| 538 |
"تُظهر جلسة الصدفة التالية المخرجات التي يُنتجها البرنامج على نظام x86-64. أول " |
| 539 |
"كائن مُشارك تُعرض مخرجاته (حيث الاسم سلسلة محارف فارغة) هو البرنامج الرئيس." |
| 540 |
|
| 541 |
#. type: Plain text |
| 542 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 543 |
#: opensuse-tumbleweed |
| 544 |
#, no-wrap |
| 545 |
msgid "" |
| 546 |
"$B< ./a.out>;\n" |
| 547 |
"Name: \"\" (9 segments)\n" |
| 548 |
" 0: [ 0x400040; memsz: 1f8] flags: 0x5; PT_PHDR\n" |
| 549 |
" 1: [ 0x400238; memsz: 1c] flags: 0x4; PT_INTERP\n" |
| 550 |
" 2: [ 0x400000; memsz: ac4] flags: 0x5; PT_LOAD\n" |
| 551 |
" 3: [ 0x600e10; memsz: 240] flags: 0x6; PT_LOAD\n" |
| 552 |
" 4: [ 0x600e28; memsz: 1d0] flags: 0x6; PT_DYNAMIC\n" |
| 553 |
" 5: [ 0x400254; memsz: 44] flags: 0x4; PT_NOTE\n" |
| 554 |
" 6: [ 0x400970; memsz: 3c] flags: 0x4; PT_GNU_EH_FRAME\n" |
| 555 |
" 7: [ (nil); memsz: 0] flags: 0x6; PT_GNU_STACK\n" |
| 556 |
" 8: [ 0x600e10; memsz: 1f0] flags: 0x4; PT_GNU_RELRO\n" |
| 557 |
"Name: \"linux-vdso.so.1\" (4 segments)\n" |
| 558 |
" 0: [0x7ffc6edd1000; memsz: e89] flags: 0x5; PT_LOAD\n" |
| 559 |
" 1: [0x7ffc6edd1360; memsz: 110] flags: 0x4; PT_DYNAMIC\n" |
| 560 |
" 2: [0x7ffc6edd17b0; memsz: 3c] flags: 0x4; PT_NOTE\n" |
| 561 |
" 3: [0x7ffc6edd17ec; memsz: 3c] flags: 0x4; PT_GNU_EH_FRAME\n" |
| 562 |
"Name: \"/lib64/libc.so.6\" (10 segments)\n" |
| 563 |
" 0: [0x7f55712ce040; memsz: 230] flags: 0x5; PT_PHDR\n" |
| 564 |
" 1: [0x7f557145b980; memsz: 1c] flags: 0x4; PT_INTERP\n" |
| 565 |
" 2: [0x7f55712ce000; memsz: 1b6a5c] flags: 0x5; PT_LOAD\n" |
| 566 |
" 3: [0x7f55716857a0; memsz: 9240] flags: 0x6; PT_LOAD\n" |
| 567 |
" 4: [0x7f5571688b80; memsz: 1f0] flags: 0x6; PT_DYNAMIC\n" |
| 568 |
" 5: [0x7f55712ce270; memsz: 44] flags: 0x4; PT_NOTE\n" |
| 569 |
" 6: [0x7f55716857a0; memsz: 78] flags: 0x4; PT_TLS\n" |
| 570 |
" 7: [0x7f557145b99c; memsz: 544c] flags: 0x4; PT_GNU_EH_FRAME\n" |
| 571 |
" 8: [0x7f55712ce000; memsz: 0] flags: 0x6; PT_GNU_STACK\n" |
| 572 |
" 9: [0x7f55716857a0; memsz: 3860] flags: 0x4; PT_GNU_RELRO\n" |
| 573 |
"Name: \"/lib64/ld-linux-x86-64.so.2\" (7 segments)\n" |
| 574 |
" 0: [0x7f557168f000; memsz: 20828] flags: 0x5; PT_LOAD\n" |
| 575 |
" 1: [0x7f55718afba0; memsz: 15a8] flags: 0x6; PT_LOAD\n" |
| 576 |
" 2: [0x7f55718afe10; memsz: 190] flags: 0x6; PT_DYNAMIC\n" |
| 577 |
" 3: [0x7f557168f1c8; memsz: 24] flags: 0x4; PT_NOTE\n" |
| 578 |
" 4: [0x7f55716acec4; memsz: 604] flags: 0x4; PT_GNU_EH_FRAME\n" |
| 579 |
" 5: [0x7f557168f000; memsz: 0] flags: 0x6; PT_GNU_STACK\n" |
| 580 |
" 6: [0x7f55718afba0; memsz: 460] flags: 0x4; PT_GNU_RELRO\n" |
| 581 |
msgstr "" |
| 582 |
"$B< ./a.out>;\n" |
| 583 |
"Name: \"\" (9 segments)\n" |
| 584 |
" 0: [ 0x400040; memsz: 1f8] flags: 0x5; PT_PHDR\n" |
| 585 |
" 1: [ 0x400238; memsz: 1c] flags: 0x4; PT_INTERP\n" |
| 586 |
" 2: [ 0x400000; memsz: ac4] flags: 0x5; PT_LOAD\n" |
| 587 |
" 3: [ 0x600e10; memsz: 240] flags: 0x6; PT_LOAD\n" |
| 588 |
" 4: [ 0x600e28; memsz: 1d0] flags: 0x6; PT_DYNAMIC\n" |
| 589 |
" 5: [ 0x400254; memsz: 44] flags: 0x4; PT_NOTE\n" |
| 590 |
" 6: [ 0x400970; memsz: 3c] flags: 0x4; PT_GNU_EH_FRAME\n" |
| 591 |
" 7: [ (nil); memsz: 0] flags: 0x6; PT_GNU_STACK\n" |
| 592 |
" 8: [ 0x600e10; memsz: 1f0] flags: 0x4; PT_GNU_RELRO\n" |
| 593 |
"Name: \"linux-vdso.so.1\" (4 segments)\n" |
| 594 |
" 0: [0x7ffc6edd1000; memsz: e89] flags: 0x5; PT_LOAD\n" |
| 595 |
" 1: [0x7ffc6edd1360; memsz: 110] flags: 0x4; PT_DYNAMIC\n" |
| 596 |
" 2: [0x7ffc6edd17b0; memsz: 3c] flags: 0x4; PT_NOTE\n" |
| 597 |
" 3: [0x7ffc6edd17ec; memsz: 3c] flags: 0x4; PT_GNU_EH_FRAME\n" |
| 598 |
"Name: \"/lib64/libc.so.6\" (10 segments)\n" |
| 599 |
" 0: [0x7f55712ce040; memsz: 230] flags: 0x5; PT_PHDR\n" |
| 600 |
" 1: [0x7f557145b980; memsz: 1c] flags: 0x4; PT_INTERP\n" |
| 601 |
" 2: [0x7f55712ce000; memsz: 1b6a5c] flags: 0x5; PT_LOAD\n" |
| 602 |
" 3: [0x7f55716857a0; memsz: 9240] flags: 0x6; PT_LOAD\n" |
| 603 |
" 4: [0x7f5571688b80; memsz: 1f0] flags: 0x6; PT_DYNAMIC\n" |
| 604 |
" 5: [0x7f55712ce270; memsz: 44] flags: 0x4; PT_NOTE\n" |
| 605 |
" 6: [0x7f55716857a0; memsz: 78] flags: 0x4; PT_TLS\n" |
| 606 |
" 7: [0x7f557145b99c; memsz: 544c] flags: 0x4; PT_GNU_EH_FRAME\n" |
| 607 |
" 8: [0x7f55712ce000; memsz: 0] flags: 0x6; PT_GNU_STACK\n" |
| 608 |
" 9: [0x7f55716857a0; memsz: 3860] flags: 0x4; PT_GNU_RELRO\n" |
| 609 |
"Name: \"/lib64/ld-linux-x86-64.so.2\" (7 segments)\n" |
| 610 |
" 0: [0x7f557168f000; memsz: 20828] flags: 0x5; PT_LOAD\n" |
| 611 |
" 1: [0x7f55718afba0; memsz: 15a8] flags: 0x6; PT_LOAD\n" |
| 612 |
" 2: [0x7f55718afe10; memsz: 190] flags: 0x6; PT_DYNAMIC\n" |
| 613 |
" 3: [0x7f557168f1c8; memsz: 24] flags: 0x4; PT_NOTE\n" |
| 614 |
" 4: [0x7f55716acec4; memsz: 604] flags: 0x4; PT_GNU_EH_FRAME\n" |
| 615 |
" 5: [0x7f557168f000; memsz: 0] flags: 0x6; PT_GNU_STACK\n" |
| 616 |
" 6: [0x7f55718afba0; memsz: 460] flags: 0x4; PT_GNU_RELRO\n" |
| 617 |
|
| 618 |
#. type: SS |
| 619 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 620 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 621 |
#, no-wrap |
| 622 |
msgid "Program source" |
| 623 |
msgstr "مصدر البرنامج" |
| 624 |
|
| 625 |
#. type: Plain text |
| 626 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 627 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 628 |
#, no-wrap |
| 629 |
msgid "" |
| 630 |
"#define _GNU_SOURCE\n" |
| 631 |
"#include E<lt>link.hE<gt>\n" |
| 632 |
"#include E<lt>stdint.hE<gt>\n" |
| 633 |
"#include E<lt>stdio.hE<gt>\n" |
| 634 |
"#include E<lt>stdlib.hE<gt>\n" |
| 635 |
"\\&\n" |
| 636 |
"static int\n" |
| 637 |
"callback(struct dl_phdr_info *info, size_t size, void *data)\n" |
| 638 |
"{\n" |
| 639 |
" char *type;\n" |
| 640 |
" int p_type;\n" |
| 641 |
"\\&\n" |
| 642 |
" printf(\"Name: \\[rs]\"%s\\[rs]\" (%d segments)\\[rs]n\", info-E<gt>dlpi_name,\n" |
| 643 |
" info-E<gt>dlpi_phnum);\n" |
| 644 |
"\\&\n" |
| 645 |
" for (size_t j = 0; j E<lt> info-E<gt>dlpi_phnum; j++) {\n" |
| 646 |
" p_type = info-E<gt>dlpi_phdr[j].p_type;\n" |
| 647 |
" type = (p_type == PT_LOAD) ? \"PT_LOAD\" :\n" |
| 648 |
" (p_type == PT_DYNAMIC) ? \"PT_DYNAMIC\" :\n" |
| 649 |
" (p_type == PT_INTERP) ? \"PT_INTERP\" :\n" |
| 650 |
" (p_type == PT_NOTE) ? \"PT_NOTE\" :\n" |
| 651 |
" (p_type == PT_INTERP) ? \"PT_INTERP\" :\n" |
| 652 |
" (p_type == PT_PHDR) ? \"PT_PHDR\" :\n" |
| 653 |
" (p_type == PT_TLS) ? \"PT_TLS\" :\n" |
| 654 |
" (p_type == PT_GNU_EH_FRAME) ? \"PT_GNU_EH_FRAME\" :\n" |
| 655 |
" (p_type == PT_GNU_STACK) ? \"PT_GNU_STACK\" :\n" |
| 656 |
" (p_type == PT_GNU_RELRO) ? \"PT_GNU_RELRO\" : NULL;\n" |
| 657 |
"\\&\n" |
| 658 |
" printf(\" %2zu: [%14p; memsz:%7jx] flags: %#jx; \", j,\n" |
| 659 |
" (void *) (info-E<gt>dlpi_addr + info-E<gt>dlpi_phdr[j].p_vaddr),\n" |
| 660 |
" (uintmax_t) info-E<gt>dlpi_phdr[j].p_memsz,\n" |
| 661 |
" (uintmax_t) info-E<gt>dlpi_phdr[j].p_flags);\n" |
| 662 |
" if (type != NULL)\n" |
| 663 |
" printf(\"%s\\[rs]n\", type);\n" |
| 664 |
" else\n" |
| 665 |
" printf(\"[other (%#x)]\\[rs]n\", p_type);\n" |
| 666 |
" }\n" |
| 667 |
"\\&\n" |
| 668 |
" return 0;\n" |
| 669 |
"}\n" |
| 670 |
"\\&\n" |
| 671 |
"int\n" |
| 672 |
"main(void)\n" |
| 673 |
"{\n" |
| 674 |
" dl_iterate_phdr(callback, NULL);\n" |
| 675 |
"\\&\n" |
| 676 |
" exit(EXIT_SUCCESS);\n" |
| 677 |
"}\n" |
| 678 |
msgstr "" |
| 679 |
"#define _GNU_SOURCE\n" |
| 680 |
"#include E<lt>link.hE<gt>\n" |
| 681 |
"#include E<lt>stdint.hE<gt>\n" |
| 682 |
"#include E<lt>stdio.hE<gt>\n" |
| 683 |
"#include E<lt>stdlib.hE<gt>\n" |
| 684 |
"\\&\n" |
| 685 |
"static int\n" |
| 686 |
"callback(struct dl_phdr_info *info, size_t size, void *data)\n" |
| 687 |
"{\n" |
| 688 |
" char *type;\n" |
| 689 |
" int p_type;\n" |
| 690 |
"\\&\n" |
| 691 |
" printf(\"Name: \\[rs]\"%s\\[rs]\" (%d segments)\\[rs]n\", info-E<gt>dlpi_name,\n" |
| 692 |
" info-E<gt>dlpi_phnum);\n" |
| 693 |
"\\&\n" |
| 694 |
" for (size_t j = 0; j E<lt> info-E<gt>dlpi_phnum; j++) {\n" |
| 695 |
" p_type = info-E<gt>dlpi_phdr[j].p_type;\n" |
| 696 |
" type = (p_type == PT_LOAD) ? \"PT_LOAD\" :\n" |
| 697 |
" (p_type == PT_DYNAMIC) ? \"PT_DYNAMIC\" :\n" |
| 698 |
" (p_type == PT_INTERP) ? \"PT_INTERP\" :\n" |
| 699 |
" (p_type == PT_NOTE) ? \"PT_NOTE\" :\n" |
| 700 |
" (p_type == PT_INTERP) ? \"PT_INTERP\" :\n" |
| 701 |
" (p_type == PT_PHDR) ? \"PT_PHDR\" :\n" |
| 702 |
" (p_type == PT_TLS) ? \"PT_TLS\" :\n" |
| 703 |
" (p_type == PT_GNU_EH_FRAME) ? \"PT_GNU_EH_FRAME\" :\n" |
| 704 |
" (p_type == PT_GNU_STACK) ? \"PT_GNU_STACK\" :\n" |
| 705 |
" (p_type == PT_GNU_RELRO) ? \"PT_GNU_RELRO\" : NULL;\n" |
| 706 |
"\\&\n" |
| 707 |
" printf(\" %2zu: [%14p; memsz:%7jx] flags: %#jx; \", j,\n" |
| 708 |
" (void *) (info-E<gt>dlpi_addr + info-E<gt>dlpi_phdr[j].p_vaddr),\n" |
| 709 |
" (uintmax_t) info-E<gt>dlpi_phdr[j].p_memsz,\n" |
| 710 |
" (uintmax_t) info-E<gt>dlpi_phdr[j].p_flags);\n" |
| 711 |
" if (type != NULL)\n" |
| 712 |
" printf(\"%s\\[rs]n\", type);\n" |
| 713 |
" else\n" |
| 714 |
" printf(\"[other (%#x)]\\[rs]n\", p_type);\n" |
| 715 |
" }\n" |
| 716 |
"\\&\n" |
| 717 |
" return 0;\n" |
| 718 |
"}\n" |
| 719 |
"\\&\n" |
| 720 |
"int\n" |
| 721 |
"main(void)\n" |
| 722 |
"{\n" |
| 723 |
" dl_iterate_phdr(callback, NULL);\n" |
| 724 |
"\\&\n" |
| 725 |
" exit(EXIT_SUCCESS);\n" |
| 726 |
"}\n" |
| 727 |
|
| 728 |
#. SRC END |
| 729 |
#. type: SH |
| 730 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 731 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 732 |
#, no-wrap |
| 733 |
msgid "SEE ALSO" |
| 734 |
msgstr "انظر أيضًا" |
| 735 |
|
| 736 |
#. type: Plain text |
| 737 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 738 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 739 |
msgid "" |
| 740 |
"B<ldd>(1), B<objdump>(1), B<readelf>(1), B<dladdr>(3), B<dlopen>(3), " |
| 741 |
"B<elf>(5), B<ld.so>(8)" |
| 742 |
msgstr "" |
| 743 |
"B<ldd>(1), B<objdump>(1), B<readelf>(1), B<dladdr>(3), B<dlopen>(3), " |
| 744 |
"B<elf>(5), B<ld.so>(8)" |
| 745 |
|
| 746 |
#. type: Plain text |
| 747 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 748 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 749 |
msgid "" |
| 750 |
"I<Executable and Linking Format Specification>, available at various " |
| 751 |
"locations online." |
| 752 |
msgstr "I<مواصفات تنسيق التنفيذ والربط>، متوفرة في مواقع متعددة على الإنترنت." |
| 753 |
|
| 754 |
#. type: TH |
| 755 |
#: debian-trixie |
| 756 |
#, no-wrap |
| 757 |
msgid "2024-06-15" |
| 758 |
msgstr "15 يونيو 2024" |
| 759 |
|
| 760 |
#. type: TH |
| 761 |
#: debian-trixie |
| 762 |
#, no-wrap |
| 763 |
msgid "Linux man-pages 6.9.1" |
| 764 |
msgstr "صفحات دليل لينكس 6.9.1" |
| 765 |
|
| 766 |
#. type: Plain text |
| 767 |
#: debian-trixie |
| 768 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 769 |
msgstr "مكتبة سي المعيارية (I<libc>، I<-lc>)" |
| 770 |
|
| 771 |
#. type: Plain text |
| 772 |
#: debian-trixie |
| 773 |
#, no-wrap |
| 774 |
msgid "" |
| 775 |
"B<int dl_iterate_phdr(>\n" |
| 776 |
"B< int (*>I<callback>B<)(struct dl_phdr_info *>I<info>B<,>\n" |
| 777 |
"B< size_t >I<size>B<, void *>I<data>B<),>\n" |
| 778 |
"B< void *>I<data>B<);>\n" |
| 779 |
msgstr "" |
| 780 |
"B<int dl_iterate_phdr(>\n" |
| 781 |
"B< int (*>I<callback>B<)(struct dl_phdr_info *>I<info>B<,>\n" |
| 782 |
"B< size_t >I<size>B<, void *>I<data>B<),>\n" |
| 783 |
"B< void *>I<data>B<);>\n" |
| 784 |
|
| 785 |
#. type: Plain text |
| 786 |
#: debian-trixie fedora-44 fedora-rawhide |
| 787 |
#, no-wrap |
| 788 |
msgid "" |
| 789 |
"struct dl_phdr_info {\n" |
| 790 |
" ElfW(Addr) dlpi_addr; /* Base address of object */\n" |
| 791 |
" const char *dlpi_name; /* (Null-terminated) name of\n" |
| 792 |
" object */\n" |
| 793 |
" const ElfW(Phdr) *dlpi_phdr; /* Pointer to array of\n" |
| 794 |
" ELF program headers\n" |
| 795 |
" for this object */\n" |
| 796 |
" ElfW(Half) dlpi_phnum; /* # of items in I<dlpi_phdr> */\n" |
| 797 |
"\\&\n" |
| 798 |
" /* The following fields were added in glibc 2.4, after the first\n" |
| 799 |
" version of this structure was available. Check the I<size>\n" |
| 800 |
" argument passed to the dl_iterate_phdr callback to determine\n" |
| 801 |
" whether or not each later member is available. */\n" |
| 802 |
"\\&\n" |
| 803 |
" unsigned long long dlpi_adds;\n" |
| 804 |
" /* Incremented when a new object may\n" |
| 805 |
" have been added */\n" |
| 806 |
" unsigned long long dlpi_subs;\n" |
| 807 |
" /* Incremented when an object may\n" |
| 808 |
" have been removed */\n" |
| 809 |
" size_t dlpi_tls_modid;\n" |
| 810 |
" /* If there is a PT_TLS segment, its module\n" |
| 811 |
" ID as used in TLS relocations, else zero */\n" |
| 812 |
" void *dlpi_tls_data;\n" |
| 813 |
" /* The address of the calling thread\\[aq]s instance\n" |
| 814 |
" of this module\\[aq]s PT_TLS segment, if it has\n" |
| 815 |
" one and it has been allocated in the calling\n" |
| 816 |
" thread, otherwise a null pointer */\n" |
| 817 |
"};\n" |
| 818 |
msgstr "" |
| 819 |
"struct dl_phdr_info {\n" |
| 820 |
" ElfW(Addr) dlpi_addr; /* العنوان الأساسي للكائن */\n" |
| 821 |
" const char *dlpi_name; /* اسم الكائن (مُنتهٍ بـ Null) */\n" |
| 822 |
" const ElfW(Phdr) *dlpi_phdr; /* مؤشر إلى مصفوفة ترويسات برنامج ELF لهذا الكائن */\n" |
| 823 |
" ElfW(Half) dlpi_phnum; /* عدد العناصر في I<dlpi_phdr> */\n" |
| 824 |
"\n" |
| 825 |
" /* أضيفت الحقول التالية في glibc 2.4، بعد توفر الإصدار الأول من هذه البنية.\n" |
| 826 |
" تحقق من وسيط الحجم (size) المُمرر إلى دالة استدعاء dl_iterate_phdr لتحديد\n" |
| 827 |
" ما إذا كان كل عضو لاحق متاحاً أم لا. */\n" |
| 828 |
"\n" |
| 829 |
" unsigned long long dlpi_adds;\n" |
| 830 |
" /* تُزاد عند احتمالية إضافة كائن جديد */\n" |
| 831 |
" unsigned long long dlpi_subs;\n" |
| 832 |
" /* تُزاد عند احتمالية إزالة كائن */\n" |
| 833 |
" size_t dlpi_tls_modid;\n" |
| 834 |
" /* إذا وُجد مقطع PT_TLS، فهذا هو معرف الوحدة الخاص به كما يُستخدم في عمليات إعادة التوطين (relocations) لـ TLS، وإلا فصفر */\n" |
| 835 |
" void *dlpi_tls_data;\n" |
| 836 |
" /* عنوان نسخة خيط المعالجة المستدعي من مقطع PT_TLS الخاص بهذه الوحدة، إذا كان موجوداً وتم تخصيصه في خيط المعالجة المستدعي، وإلا فمؤشر فارغ (null pointer) */\n" |
| 837 |
"};\n" |
| 838 |
|
| 839 |
#. type: Plain text |
| 840 |
#: debian-trixie fedora-44 fedora-rawhide |
| 841 |
#, no-wrap |
| 842 |
msgid "" |
| 843 |
"$ B<./a.out>\n" |
| 844 |
"Name: \"\" (9 segments)\n" |
| 845 |
" 0: [ 0x400040; memsz: 1f8] flags: 0x5; PT_PHDR\n" |
| 846 |
" 1: [ 0x400238; memsz: 1c] flags: 0x4; PT_INTERP\n" |
| 847 |
" 2: [ 0x400000; memsz: ac4] flags: 0x5; PT_LOAD\n" |
| 848 |
" 3: [ 0x600e10; memsz: 240] flags: 0x6; PT_LOAD\n" |
| 849 |
" 4: [ 0x600e28; memsz: 1d0] flags: 0x6; PT_DYNAMIC\n" |
| 850 |
" 5: [ 0x400254; memsz: 44] flags: 0x4; PT_NOTE\n" |
| 851 |
" 6: [ 0x400970; memsz: 3c] flags: 0x4; PT_GNU_EH_FRAME\n" |
| 852 |
" 7: [ (nil); memsz: 0] flags: 0x6; PT_GNU_STACK\n" |
| 853 |
" 8: [ 0x600e10; memsz: 1f0] flags: 0x4; PT_GNU_RELRO\n" |
| 854 |
"Name: \"linux-vdso.so.1\" (4 segments)\n" |
| 855 |
" 0: [0x7ffc6edd1000; memsz: e89] flags: 0x5; PT_LOAD\n" |
| 856 |
" 1: [0x7ffc6edd1360; memsz: 110] flags: 0x4; PT_DYNAMIC\n" |
| 857 |
" 2: [0x7ffc6edd17b0; memsz: 3c] flags: 0x4; PT_NOTE\n" |
| 858 |
" 3: [0x7ffc6edd17ec; memsz: 3c] flags: 0x4; PT_GNU_EH_FRAME\n" |
| 859 |
"Name: \"/lib64/libc.so.6\" (10 segments)\n" |
| 860 |
" 0: [0x7f55712ce040; memsz: 230] flags: 0x5; PT_PHDR\n" |
| 861 |
" 1: [0x7f557145b980; memsz: 1c] flags: 0x4; PT_INTERP\n" |
| 862 |
" 2: [0x7f55712ce000; memsz: 1b6a5c] flags: 0x5; PT_LOAD\n" |
| 863 |
" 3: [0x7f55716857a0; memsz: 9240] flags: 0x6; PT_LOAD\n" |
| 864 |
" 4: [0x7f5571688b80; memsz: 1f0] flags: 0x6; PT_DYNAMIC\n" |
| 865 |
" 5: [0x7f55712ce270; memsz: 44] flags: 0x4; PT_NOTE\n" |
| 866 |
" 6: [0x7f55716857a0; memsz: 78] flags: 0x4; PT_TLS\n" |
| 867 |
" 7: [0x7f557145b99c; memsz: 544c] flags: 0x4; PT_GNU_EH_FRAME\n" |
| 868 |
" 8: [0x7f55712ce000; memsz: 0] flags: 0x6; PT_GNU_STACK\n" |
| 869 |
" 9: [0x7f55716857a0; memsz: 3860] flags: 0x4; PT_GNU_RELRO\n" |
| 870 |
"Name: \"/lib64/ld-linux-x86-64.so.2\" (7 segments)\n" |
| 871 |
" 0: [0x7f557168f000; memsz: 20828] flags: 0x5; PT_LOAD\n" |
| 872 |
" 1: [0x7f55718afba0; memsz: 15a8] flags: 0x6; PT_LOAD\n" |
| 873 |
" 2: [0x7f55718afe10; memsz: 190] flags: 0x6; PT_DYNAMIC\n" |
| 874 |
" 3: [0x7f557168f1c8; memsz: 24] flags: 0x4; PT_NOTE\n" |
| 875 |
" 4: [0x7f55716acec4; memsz: 604] flags: 0x4; PT_GNU_EH_FRAME\n" |
| 876 |
" 5: [0x7f557168f000; memsz: 0] flags: 0x6; PT_GNU_STACK\n" |
| 877 |
" 6: [0x7f55718afba0; memsz: 460] flags: 0x4; PT_GNU_RELRO\n" |
| 878 |
msgstr "" |
| 879 |
"$ B<./a.out>\n" |
| 880 |
"Name: \"\" (9 segments)\n" |
| 881 |
" 0: [ 0x400040; memsz: 1f8] flags: 0x5; PT_PHDR\n" |
| 882 |
" 1: [ 0x400238; memsz: 1c] flags: 0x4; PT_INTERP\n" |
| 883 |
" 2: [ 0x400000; memsz: ac4] flags: 0x5; PT_LOAD\n" |
| 884 |
" 3: [ 0x600e10; memsz: 240] flags: 0x6; PT_LOAD\n" |
| 885 |
" 4: [ 0x600e28; memsz: 1d0] flags: 0x6; PT_DYNAMIC\n" |
| 886 |
" 5: [ 0x400254; memsz: 44] flags: 0x4; PT_NOTE\n" |
| 887 |
" 6: [ 0x400970; memsz: 3c] flags: 0x4; PT_GNU_EH_FRAME\n" |
| 888 |
" 7: [ (nil); memsz: 0] flags: 0x6; PT_GNU_STACK\n" |
| 889 |
" 8: [ 0x600e10; memsz: 1f0] flags: 0x4; PT_GNU_RELRO\n" |
| 890 |
"Name: \"linux-vdso.so.1\" (4 segments)\n" |
| 891 |
" 0: [0x7ffc6edd1000; memsz: e89] flags: 0x5; PT_LOAD\n" |
| 892 |
" 1: [0x7ffc6edd1360; memsz: 110] flags: 0x4; PT_DYNAMIC\n" |
| 893 |
" 2: [0x7ffc6edd17b0; memsz: 3c] flags: 0x4; PT_NOTE\n" |
| 894 |
" 3: [0x7ffc6edd17ec; memsz: 3c] flags: 0x4; PT_GNU_EH_FRAME\n" |
| 895 |
"Name: \"/lib64/libc.so.6\" (10 segments)\n" |
| 896 |
" 0: [0x7f55712ce040; memsz: 230] flags: 0x5; PT_PHDR\n" |
| 897 |
" 1: [0x7f557145b980; memsz: 1c] flags: 0x4; PT_INTERP\n" |
| 898 |
" 2: [0x7f55712ce000; memsz: 1b6a5c] flags: 0x5; PT_LOAD\n" |
| 899 |
" 3: [0x7f55716857a0; memsz: 9240] flags: 0x6; PT_LOAD\n" |
| 900 |
" 4: [0x7f5571688b80; memsz: 1f0] flags: 0x6; PT_DYNAMIC\n" |
| 901 |
" 5: [0x7f55712ce270; memsz: 44] flags: 0x4; PT_NOTE\n" |
| 902 |
" 6: [0x7f55716857a0; memsz: 78] flags: 0x4; PT_TLS\n" |
| 903 |
" 7: [0x7f557145b99c; memsz: 544c] flags: 0x4; PT_GNU_EH_FRAME\n" |
| 904 |
" 8: [0x7f55712ce000; memsz: 0] flags: 0x6; PT_GNU_STACK\n" |
| 905 |
" 9: [0x7f55716857a0; memsz: 3860] flags: 0x4; PT_GNU_RELRO\n" |
| 906 |
"Name: \"/lib64/ld-linux-x86-64.so.2\" (7 segments)\n" |
| 907 |
" 0: [0x7f557168f000; memsz: 20828] flags: 0x5; PT_LOAD\n" |
| 908 |
" 1: [0x7f55718afba0; memsz: 15a8] flags: 0x6; PT_LOAD\n" |
| 909 |
" 2: [0x7f55718afe10; memsz: 190] flags: 0x6; PT_DYNAMIC\n" |
| 910 |
" 3: [0x7f557168f1c8; memsz: 24] flags: 0x4; PT_NOTE\n" |
| 911 |
" 4: [0x7f55716acec4; memsz: 604] flags: 0x4; PT_GNU_EH_FRAME\n" |
| 912 |
" 5: [0x7f557168f000; memsz: 0] flags: 0x6; PT_GNU_STACK\n" |
| 913 |
" 6: [0x7f55718afba0; memsz: 460] flags: 0x4; PT_GNU_RELRO\n" |
| 914 |
|
| 915 |
#. type: TH |
| 916 |
#: fedora-44 fedora-rawhide |
| 917 |
#, no-wrap |
| 918 |
msgid "2024-12-13" |
| 919 |
msgstr "13 ديسمبر 2024" |
| 920 |
|
| 921 |
#. type: TH |
| 922 |
#: fedora-44 fedora-rawhide |
| 923 |
#, no-wrap |
| 924 |
msgid "Linux man-pages 6.13" |
| 925 |
msgstr "صفحات دليل لينكس 6.13" |
| 926 |
|
| 927 |
#. type: TH |
| 928 |
#: mageia-cauldron |
| 929 |
#, no-wrap |
| 930 |
msgid "Linux man-pages 6.17" |
| 931 |
msgstr "صفحات دليل لينكس 6.17" |
| 932 |
|
| 933 |
#. type: TH |
| 934 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 935 |
#, no-wrap |
| 936 |
msgid "Linux man-pages (unreleased)" |
| 937 |
msgstr "صفحات دليل لينكس (لم تصدر بعد)" |