Debian Codegraph @

po/ar/man3/mtrace.3.po

raw
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:32+0200\n"
9 "PO-Revision-Date: 2026-06-02 19:02+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 "mtrace"
25 msgstr "mtrace"
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 "mtrace, muntrace - malloc tracing"
51 msgstr "mtrace, muntrace - تتبع malloc"
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 "B<#include E<lt>mcheck.hE<gt>>\n"
78 msgstr "B<#include E<lt>mcheck.hE<gt>>\n"
79
80 #. type: Plain text
81 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
82 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
83 #, no-wrap
84 msgid ""
85 "B<void mtrace(void);>\n"
86 "B<void muntrace(void);>\n"
87 msgstr ""
88 "B<void mtrace(void);>\n"
89 "B<void muntrace(void);>\n"
90
91 #. type: SH
92 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
93 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
94 #, no-wrap
95 msgid "DESCRIPTION"
96 msgstr "الوصف"
97
98 #. type: Plain text
99 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
100 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
101 msgid ""
102 "The B<mtrace>() function installs hook functions for the memory-allocation "
103 "functions (B<malloc>(3), B<realloc>(3) B<memalign>(3), B<free>(3)). These "
104 "hook functions record tracing information about memory allocation and "
105 "deallocation. The tracing information can be used to discover memory leaks "
106 "and attempts to free nonallocated memory in a program."
107 msgstr ""
108 "الدالة B<mtrace>() تُثبّت دوال ربط لدوال تخصيص الذاكرة (B<malloc>(3), "
109 "B<realloc>(3) B<memalign>(3), B<free>(3)). تُسجّل دوال الربط هذه معلومات "
110 "تتبع حول تخصيص الذاكرة وإلغاء تخصيصها. يمكن استخدام معلومات التتبع لاكتشاف "
111 "تسريبات الذاكرة ومحاولات تحرير ذاكرة غير مخصصة في برنامج."
112
113 #. type: Plain text
114 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
115 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
116 msgid ""
117 "The B<muntrace>() function disables the hook functions installed by "
118 "B<mtrace>(), so that tracing information is no longer recorded for the "
119 "memory-allocation functions. If no hook functions were successfully "
120 "installed by B<mtrace>(), B<muntrace>() does nothing."
121 msgstr ""
122 "الدالة B<muntrace>() تُعطّل دوال الربط التي ثبّتها B<mtrace>()، بحيث لا تُسجّل "
123 "معلومات التتبع لدوال تخصيص الذاكرة بعد الآن. إذا لم تُثبّت دوال ربط بنجاح "
124 "بواسطة B<mtrace>()، فلا تفعل B<muntrace>() شيئًا."
125
126 #. type: Plain text
127 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
128 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
129 msgid ""
130 "When B<mtrace>() is called, it checks the value of the environment variable "
131 "B<MALLOC_TRACE>, which should contain the pathname of a file in which the "
132 "tracing information is to be recorded. If the pathname is successfully "
133 "opened, it is truncated to zero length."
134 msgstr ""
135 "عند استدعاء B<mtrace>()، تتحقق من قيمة متغير البيئة B<MALLOC_TRACE>، الذي "
136 "يجب أن يحتوي على اسم مسار ملف تُسجّل فيه معلومات التتبع. إذا فُتح اسم المسار "
137 "بنجاح، يُقتطع إلى طول صفري."
138
139 #. type: Plain text
140 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
141 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
142 msgid ""
143 "If B<MALLOC_TRACE> is not set, or the pathname it specifies is invalid or "
144 "not writable, then no hook functions are installed, and B<mtrace>() has no "
145 "effect. In set-user-ID and set-group-ID programs, B<MALLOC_TRACE> is "
146 "ignored, and B<mtrace>() has no effect."
147 msgstr ""
148 "إذا لم يُضبط B<MALLOC_TRACE>، أو كان اسم المسار الذي يُحدّده غير صالح أو غير "
149 "قابل للكتابة، فلا تُثبّت دوال ربط، ولا يكون لـ B<mtrace>() أي تأثير. في "
150 "برامج set-user-ID و set-group-ID، يُتجاهل B<MALLOC_TRACE>، ولا يكون لـ "
151 "B<mtrace>() أي تأثير."
152
153 #. type: SH
154 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
155 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
156 #, no-wrap
157 msgid "ATTRIBUTES"
158 msgstr "السمات"
159
160 #. type: Plain text
161 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
162 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
163 msgid ""
164 "For an explanation of the terms used in this section, see B<attributes>(7)."
165 msgstr ""
166 "للاطلاع على شرح للمصطلحات المستخدمة في هذا القسم، انظر B<attributes>(7)."
167
168 #. type: tbl table
169 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
170 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
171 #, no-wrap
172 msgid "Interface"
173 msgstr "الواجهة"
174
175 #. type: tbl table
176 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
177 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
178 #, no-wrap
179 msgid "Attribute"
180 msgstr "السمة"
181
182 #. type: tbl table
183 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
184 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
185 #, no-wrap
186 msgid "Value"
187 msgstr "القيمة"
188
189 #. type: tbl table
190 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
191 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
192 #, no-wrap
193 msgid ".na\n"
194 msgstr ".na\n"
195
196 #. type: tbl table
197 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
198 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
199 #, no-wrap
200 msgid ".nh\n"
201 msgstr ".nh\n"
202
203 #. type: tbl table
204 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
205 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
206 #, no-wrap
207 msgid ""
208 "B<mtrace>(),\n"
209 "B<muntrace>()"
210 msgstr ""
211 "B<mtrace>()،\n"
212 "B<muntrace>()"
213
214 #. type: tbl table
215 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
216 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
217 #, no-wrap
218 msgid "Thread safety"
219 msgstr "سلامة الخيوط"
220
221 #. type: tbl table
222 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
223 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
224 #, no-wrap
225 msgid "MT-Unsafe"
226 msgstr "غير آمن لتعدد الخيوط (MT-Unsafe)"
227
228 #. FIXME: The marking is different from that in the glibc manual,
229 #. markings in glibc manual are more detailed:
230 #. mtrace: MT-Unsafe env race:mtrace const:malloc_hooks init
231 #. muntrace: MT-Unsafe race:mtrace const:malloc_hooks locale
232 #. But there is something wrong in glibc manual, for example:
233 #. glibc manual says muntrace should have marking locale because it calls
234 #. fprintf(), but muntrace does not execute area which cause locale problem.
235 #. type: SH
236 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
237 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
238 #, no-wrap
239 msgid "STANDARDS"
240 msgstr "المعايير"
241
242 #. type: Plain text
243 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
244 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
245 msgid "GNU."
246 msgstr "GNU."
247
248 #. type: SH
249 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
250 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
251 #, no-wrap
252 msgid "NOTES"
253 msgstr "ملاحظات"
254
255 #. type: Plain text
256 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
257 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
258 msgid ""
259 "In normal usage, B<mtrace>() is called once at the start of execution of a "
260 "program, and B<muntrace>() is never called."
261 msgstr ""
262 "في الاستخدام العادي، تُستدعى B<mtrace>() مرة واحدة في بداية تنفيذ برنامج، "
263 "ولا تُستدعى B<muntrace>() أبدًا."
264
265 #. type: Plain text
266 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
267 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
268 msgid ""
269 "The tracing output produced after a call to B<mtrace>() is textual, but not "
270 "designed to be human readable. The GNU C library provides a Perl script, "
271 "B<mtrace>(1), that interprets the trace log and produces human-readable "
272 "output. For best results, the traced program should be compiled with "
273 "debugging enabled, so that line-number information is recorded in the "
274 "executable."
275 msgstr ""
276 "مخرجات التتبع الناتجة بعد استدعاء B<mtrace>() نصية، لكنها غير مصممة لتكون "
277 "قابلة للقراءة البشرية. توفر مكتبة GNU C سكربت Perl، B<mtrace>(1)، الذي يُفسّر "
278 "سجل التتبع ويُنتج مخرجات قابلة للقراءة البشرية. للحصول على أفضل النتائج، يجب "
279 "ترجمة البرنامج المُتتبّع مع تمكين التصحيح، بحيث تُسجّل معلومات أرقام الأسطر في "
280 "الملف التنفيذي."
281
282 #. type: Plain text
283 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
284 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
285 msgid ""
286 "The tracing performed by B<mtrace>() incurs a performance penalty (if "
287 "B<MALLOC_TRACE> points to a valid, writable pathname)."
288 msgstr ""
289 "التتبع الذي تُجريه B<mtrace>() يُسبّب عقوبة أداء (إذا كان B<MALLOC_TRACE> يُشير "
290 "إلى اسم مسار صالح وقابل للكتابة)."
291
292 #. type: SH
293 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
294 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
295 #, no-wrap
296 msgid "BUGS"
297 msgstr "العلل"
298
299 #. type: Plain text
300 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
301 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
302 msgid ""
303 "The line-number information produced by B<mtrace>(1) is not always precise: "
304 "the line number references may refer to the previous or following "
305 "(nonblank) line of the source code."
306 msgstr ""
307 "معلومات رقم السطر التي يُنتجها B<mtrace>(1) ليست دقيقة دائمًا: قد تُشير مراجع "
308 "رقم السطر إلى السطر السابق أو التالي (غير الفارغ) من شفرة المصدر."
309
310 #. type: SH
311 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
312 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
313 #, no-wrap
314 msgid "EXAMPLES"
315 msgstr "أمثلة"
316
317 #. type: Plain text
318 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
319 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
320 msgid ""
321 "The shell session below demonstrates the use of the B<mtrace>() function "
322 "and the B<mtrace>(1) command in a program that has memory leaks at two "
323 "different locations. The demonstration uses the following program:"
324 msgstr ""
325 "جلسة الصدفة أدناه تُوضّح استخدام الدالة B<mtrace>() والأمر B<mtrace>(1) في "
326 "برنامج به تسريبات ذاكرة في موقعين مختلفين. يستخدم العرض التوضيحي البرنامج "
327 "التالي:"
328
329 #. SRC BEGIN (t_mtrace.c)
330 #. type: Plain text
331 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
332 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
333 msgid "$ B<cat t_mtrace.c>"
334 msgstr "$ B<cat t_mtrace.c>"
335
336 #. type: Plain text
337 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
338 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
339 #, no-wrap
340 msgid ""
341 "#include E<lt>mcheck.hE<gt>\n"
342 "#include E<lt>stdio.hE<gt>\n"
343 "#include E<lt>stdlib.hE<gt>\n"
344 "\\&\n"
345 "int\n"
346 "main(void)\n"
347 "{\n"
348 " mtrace();\n"
349 "\\&\n"
350 " for (unsigned int j = 0; j E<lt> 2; j++)\n"
351 " malloc(100); /* Never freed--a memory leak */\n"
352 "\\&\n"
353 " calloc(16, 16); /* Never freed--a memory leak */\n"
354 " exit(EXIT_SUCCESS);\n"
355 "}\n"
356 msgstr ""
357 "#include E<lt>mcheck.hE<gt>\n"
358 "#include E<lt>stdio.hE<gt>\n"
359 "#include E<lt>stdlib.hE<gt>\n"
360 "\\&\n"
361 "int\n"
362 "main(void)\n"
363 "{\n"
364 " mtrace();\n"
365 "\\&\n"
366 " for (unsigned int j = 0; j E<lt> 2; j++)\n"
367 " malloc(100); /* لم يُحرّر أبدًا--تسريب ذاكرة */\n"
368 "\\&\n"
369 " calloc(16, 16); /* لم يُحرّر أبدًا--تسريب ذاكرة */\n"
370 " exit(EXIT_SUCCESS);\n"
371 "}\n"
372
373 #. type: Plain text
374 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
375 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
376 msgid ""
377 "When we run the program as follows, we see that B<mtrace>() diagnosed "
378 "memory leaks at two different locations in the program:"
379 msgstr ""
380 "عند تشغيل البرنامج كما يلي، نرى أن B<mtrace>() شخصت تسريبات ذاكرة في موقعين "
381 "مختلفين في البرنامج:"
382
383 #. type: Plain text
384 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
385 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
386 #, no-wrap
387 msgid ""
388 "$ B<cc -g t_mtrace.c -o t_mtrace>\n"
389 "$ B<export MALLOC_TRACE=/tmp/t>\n"
390 "$ B<./t_mtrace>\n"
391 "$ B<mtrace ./t_mtrace $MALLOC_TRACE>\n"
392 "Memory not freed:\n"
393 "-----------------\n"
394 " Address Size Caller\n"
395 "0x084c9378 0x64 at /home/cecilia/t_mtrace.c:12\n"
396 "0x084c93e0 0x64 at /home/cecilia/t_mtrace.c:12\n"
397 "0x084c9448 0x100 at /home/cecilia/t_mtrace.c:16\n"
398 msgstr ""
399 "$ B<cc -g t_mtrace.c -o t_mtrace>\n"
400 "$ B<export MALLOC_TRACE=/tmp/t>\n"
401 "$ B<./t_mtrace>\n"
402 "$ B<mtrace ./t_mtrace $MALLOC_TRACE>\n"
403 "ذاكرة غير محررة:\n"
404 "-----------------\n"
405 " العنوان الحجم المستدعي\n"
406 "0x084c9378 0x64 at /home/cecilia/t_mtrace.c:12\n"
407 "0x084c93e0 0x64 at /home/cecilia/t_mtrace.c:12\n"
408 "0x084c9448 0x100 at /home/cecilia/t_mtrace.c:16\n"
409
410 #. type: Plain text
411 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
412 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
413 msgid ""
414 "The first two messages about unfreed memory correspond to the two "
415 "B<malloc>(3) calls inside the I<for> loop. The final message corresponds "
416 "to the call to B<calloc>(3) (which in turn calls B<malloc>(3))."
417 msgstr ""
418 "الرسالتان الأوليتان حول الذاكرة غير المحررة تتوافقان مع استدعاءَي "
419 "B<malloc>(3) داخل حلقة I<for>. الرسالة الأخيرة تتوافق مع استدعاء "
420 "B<calloc>(3) (الذي يستدعي بدوره B<malloc>(3))."
421
422 #. type: SH
423 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
424 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
425 #, no-wrap
426 msgid "SEE ALSO"
427 msgstr "انظر أيضًا"
428
429 #. type: Plain text
430 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
431 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
432 msgid "B<mtrace>(1), B<malloc>(3), B<malloc_hook>(3), B<mcheck>(3)"
433 msgstr "B<mtrace>(1), B<malloc>(3), B<malloc_hook>(3), B<mcheck>(3)"
434
435 #. type: TH
436 #: debian-trixie
437 #, no-wrap
438 msgid "2024-05-02"
439 msgstr "2 مايو 2024"
440
441 #. type: TH
442 #: debian-trixie
443 #, no-wrap
444 msgid "Linux man-pages 6.9.1"
445 msgstr "صفحات دليل لينكس 6.9.1"
446
447 #. type: Plain text
448 #: debian-trixie
449 msgid "Standard C library (I<libc>, I<-lc>)"
450 msgstr "مكتبة سي المعيارية (I<libc>، I<-lc>)"
451
452 #. type: TH
453 #: fedora-44 fedora-rawhide
454 #, no-wrap
455 msgid "2024-07-23"
456 msgstr "23 يوليو 2024"
457
458 #. type: TH
459 #: fedora-44 fedora-rawhide
460 #, no-wrap
461 msgid "Linux man-pages 6.13"
462 msgstr "صفحات دليل لينكس 6.13"
463
464 #. type: TH
465 #: mageia-cauldron
466 #, no-wrap
467 msgid "Linux man-pages 6.17"
468 msgstr "صفحات دليل لينكس 6.17"
469
470 #. type: TH
471 #: opensuse-leap-16-1 opensuse-tumbleweed
472 #, no-wrap
473 msgid "Linux man-pages (unreleased)"
474 msgstr "صفحات دليل لينكس (لم تصدر بعد)"