Debian Codegraph @

po/ar/man3/mcheck.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:30+0200\n"
9 "PO-Revision-Date: 2026-06-02 18:57+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 "mcheck"
25 msgstr "mcheck"
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 ""
51 "mcheck, mcheck_check_all, mcheck_pedantic, mprobe - heap consistency checking"
52 msgstr ""
53 "mcheck, mcheck_check_all, mcheck_pedantic, mprobe - التحقق من اتساق الكومة"
54
55 #. type: SH
56 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
57 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
58 #, no-wrap
59 msgid "LIBRARY"
60 msgstr "المكتبة"
61
62 #. type: Plain text
63 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
64 #: opensuse-leap-16-1 opensuse-tumbleweed
65 msgid "Standard C library (I<libc>,\\ I<-lc>)"
66 msgstr "مكتبة سي المعيارية (I<libc>،\\ I<-lc>)"
67
68 #. type: SH
69 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
70 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
71 #, no-wrap
72 msgid "SYNOPSIS"
73 msgstr "موجز"
74
75 #. type: Plain text
76 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
77 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
78 #, no-wrap
79 msgid "B<#include E<lt>mcheck.hE<gt>>\n"
80 msgstr "B<#include E<lt>mcheck.hE<gt>>\n"
81
82 #. type: Plain text
83 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
84 #: opensuse-tumbleweed
85 #, no-wrap
86 msgid ""
87 "B<int mcheck(typeof(void (enum mcheck_status >I<mstatus>B<)) *>I<f>B<);>\n"
88 "B<int mcheck_pedantic(>\n"
89 "B< typeof(void (enum mcheck_status >I<mstatus>B<)) *>I<f>B<);>\n"
90 "B<void mcheck_check_all(void);>\n"
91 msgstr ""
92 "B<int mcheck(typeof(void (enum mcheck_status >I<mstatus>B<)) *>I<f>B<);>\n"
93 "B<int mcheck_pedantic(>\n"
94 "B< typeof(void (enum mcheck_status >I<mstatus>B<)) *>I<f>B<);>\n"
95 "B<void mcheck_check_all(void);>\n"
96
97 #. type: Plain text
98 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
99 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
100 #, no-wrap
101 msgid "B<enum mcheck_status mprobe(void *>I<ptr>B<);>\n"
102 msgstr "B<enum mcheck_status mprobe(void *>I<ptr>B<);>\n"
103
104 #. type: SH
105 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
106 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
107 #, no-wrap
108 msgid "DESCRIPTION"
109 msgstr "الوصف"
110
111 #. type: Plain text
112 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
113 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
114 msgid ""
115 "The B<mcheck>() function installs a set of debugging hooks for the "
116 "B<malloc>(3) family of memory-allocation functions. These hooks cause "
117 "certain consistency checks to be performed on the state of the heap. The "
118 "checks can detect application errors such as freeing a block of memory more "
119 "than once or corrupting the bookkeeping data structures that immediately "
120 "precede a block of allocated memory."
121 msgstr ""
122 "تثبّت الدالة B<mcheck>() مجموعة من خطافات التصحيح لعائلة دوال تخصيص الذاكرة "
123 "B<malloc>(3). تتسبب هذه الخطافات في إجراء فحوصات اتساق معينة على حالة "
124 "الكومة. يمكن للفحوصات اكتشاف أخطاء التطبيق مثل تحرير كتلة ذاكرة أكثر من مرة "
125 "أو إفساد هياكل بيانات المحاسبة التي تسبق كتلة الذاكرة المخصصة مباشرة."
126
127 #. type: Plain text
128 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
129 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
130 msgid ""
131 "To be effective, the B<mcheck>() function must be called before the first "
132 "call to B<malloc>(3) or a related function. In cases where this is "
133 "difficult to ensure, linking the program with I<-lmcheck> inserts an "
134 "implicit call to B<mcheck>() (with a NULL argument) before the first call "
135 "to a memory-allocation function."
136 msgstr ""
137 "لكي تكون فعالة، يجب استدعاء الدالة B<mcheck>() قبل أول استدعاء لـ "
138 "B<malloc>(3) أو دالة ذات صلة. في الحالات التي يصعب فيها ضمان ذلك، يُدرج ربط "
139 "البرنامج بـ I<-lmcheck> استدعاءً ضمنيًا لـ B<mcheck>() (بوسيطة NULL) قبل أول "
140 "استدعاء لدالة تخصيص ذاكرة."
141
142 #. type: Plain text
143 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
144 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
145 msgid ""
146 "The B<mcheck_pedantic>() function is similar to B<mcheck>(), but performs "
147 "checks on all allocated blocks whenever one of the memory-allocation "
148 "functions is called. This can be very slow!"
149 msgstr ""
150 "الدالة B<mcheck_pedantic>() مشابهة لـ B<mcheck>()، ولكنها تجري فحوصات على "
151 "جميع الكتل المخصصة كلما تم استدعاء إحدى دوال تخصيص الذاكرة. قد يكون هذا "
152 "بطيئًا جدًا!"
153
154 #. type: Plain text
155 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
156 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
157 msgid ""
158 "The B<mcheck_check_all>() function causes an immediate check on all "
159 "allocated blocks. This call is effective only if B<mcheck>() is called "
160 "beforehand."
161 msgstr ""
162 "تتسبب الدالة B<mcheck_check_all>() في إجراء فحص فوري على جميع الكتل "
163 "المخصصة. يكون هذا الاستدعاء فعالاً فقط إذا تم استدعاء B<mcheck>() مسبقًا."
164
165 #. type: Plain text
166 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
167 #: opensuse-tumbleweed
168 msgid ""
169 "If the system detects an inconsistency in the heap, the caller-supplied "
170 "function pointed to by I<f> is invoked with a single argument, I<mstatus>, "
171 "that indicates what type of inconsistency was detected. If I<f> is NULL, a "
172 "default function prints an error message on I<stderr> and calls B<abort>(3)."
173 msgstr ""
174 "إذا اكتشف النظام عدم اتساق في الكومة، تُستدعى الدالة المقدمة من المتصل المشار "
175 "إليها بـ I<f> مع وسيطة واحدة، I<mstatus>، تشير إلى نوع عدم الاتساق الذي تم "
176 "اكتشافه. إذا كانت I<f> NULL، تطبع دالة مبدئية رسالة خطأ على I<stderr> "
177 "وتستدعي B<abort>(3)."
178
179 #. type: Plain text
180 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
181 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
182 msgid ""
183 "The B<mprobe>() function performs a consistency check on the block of "
184 "allocated memory pointed to by I<ptr>. The B<mcheck>() function should be "
185 "called beforehand (otherwise B<mprobe>() returns B<MCHECK_DISABLED>)."
186 msgstr ""
187 "تجري الدالة B<mprobe>() فحص اتساق على كتلة الذاكرة المخصصة المشار إليها بـ "
188 "I<ptr>. يجب استدعاء الدالة B<mcheck>() مسبقًا (وإلا تُرجع B<mprobe>() "
189 "B<MCHECK_DISABLED>)."
190
191 #. type: Plain text
192 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
193 #: opensuse-tumbleweed
194 msgid ""
195 "The following list describes the values returned by B<mprobe>() or passed "
196 "as the I<mstatus> argument when I<f> is invoked:"
197 msgstr ""
198 "تصف القائمة التالية القيم التي تُرجعها B<mprobe>() أو التي تُمرر كوسيطة "
199 "I<mstatus> عند استدعاء I<f>:"
200
201 #. type: TP
202 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
203 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
204 #, no-wrap
205 msgid "B<MCHECK_DISABLED> (B<mprobe>() only)"
206 msgstr "B<MCHECK_DISABLED> (B<mprobe>() فقط)"
207
208 #. type: Plain text
209 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
210 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
211 msgid ""
212 "B<mcheck>() was not called before the first memory allocation function was "
213 "called. Consistency checking is not possible."
214 msgstr ""
215 "لم تُستدع B<mcheck>() قبل استدعاء أول دالة تخصيص ذاكرة. فحص الاتساق غير "
216 "ممكن."
217
218 #. type: TP
219 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
220 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
221 #, no-wrap
222 msgid "B<MCHECK_OK> (B<mprobe>() only)"
223 msgstr "B<MCHECK_OK> (B<mprobe>() فقط)"
224
225 #. type: Plain text
226 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
227 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
228 msgid "No inconsistency detected."
229 msgstr "لم يُكتشف أي عدم اتساق."
230
231 #. type: TP
232 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
233 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
234 #, no-wrap
235 msgid "B<MCHECK_HEAD>"
236 msgstr "B<MCHECK_HEAD>"
237
238 #. type: Plain text
239 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
240 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
241 msgid "Memory preceding an allocated block was clobbered."
242 msgstr "تم إتلاف الذاكرة السابقة لكتلة مخصصة."
243
244 #. type: TP
245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
246 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
247 #, no-wrap
248 msgid "B<MCHECK_TAIL>"
249 msgstr "B<MCHECK_TAIL>"
250
251 #. type: Plain text
252 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
253 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
254 msgid "Memory following an allocated block was clobbered."
255 msgstr "تم إتلاف الذاكرة التالية لكتلة مخصصة."
256
257 #. type: TP
258 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
259 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
260 #, no-wrap
261 msgid "B<MCHECK_FREE>"
262 msgstr "B<MCHECK_FREE>"
263
264 #. type: Plain text
265 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
266 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
267 msgid "A block of memory was freed twice."
268 msgstr "تم تحرير كتلة ذاكرة مرتين."
269
270 #. type: SH
271 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
272 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
273 #, no-wrap
274 msgid "RETURN VALUE"
275 msgstr "قيمة الإرجاع"
276
277 #. type: Plain text
278 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
279 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
280 msgid ""
281 "B<mcheck>() and B<mcheck_pedantic>() return 0 on success, or -1 on error."
282 msgstr ""
283 "تُعيد B<mcheck>() و B<mcheck_pedantic>() القيمة 0 عند النجاح، أو -1 عند الخطأ."
284
285 #. type: SH
286 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
287 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
288 #, no-wrap
289 msgid "ATTRIBUTES"
290 msgstr "السمات"
291
292 #. type: Plain text
293 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
294 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
295 msgid ""
296 "For an explanation of the terms used in this section, see B<attributes>(7)."
297 msgstr ""
298 "للاطلاع على شرح للمصطلحات المستخدمة في هذا القسم، انظر B<attributes>(7)."
299
300 #. type: tbl table
301 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
302 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
303 #, no-wrap
304 msgid "Interface"
305 msgstr "الواجهة"
306
307 #. type: tbl table
308 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
309 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
310 #, no-wrap
311 msgid "Attribute"
312 msgstr "السمة"
313
314 #. type: tbl table
315 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
316 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
317 #, no-wrap
318 msgid "Value"
319 msgstr "القيمة"
320
321 #. type: tbl table
322 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
323 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
324 #, no-wrap
325 msgid ".na\n"
326 msgstr ".na\n"
327
328 #. type: tbl table
329 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
330 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
331 #, no-wrap
332 msgid ".nh\n"
333 msgstr ".nh\n"
334
335 #. type: tbl table
336 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
337 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
338 #, no-wrap
339 msgid ""
340 "B<mcheck>(),\n"
341 "B<mcheck_pedantic>(),\n"
342 "B<mcheck_check_all>(),\n"
343 "B<mprobe>()"
344 msgstr ""
345 "B<mcheck>(),\n"
346 "B<mcheck_pedantic>(),\n"
347 "B<mcheck_check_all>(),\n"
348 "B<mprobe>()"
349
350 #. type: tbl table
351 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
352 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
353 #, no-wrap
354 msgid "Thread safety"
355 msgstr "سلامة الخيوط"
356
357 #. type: tbl table
358 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
359 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
360 #, no-wrap
361 msgid ""
362 "MT-Unsafe race:mcheck\n"
363 "const:malloc_hooks"
364 msgstr ""
365 "MT-Unsafe race:mcheck\n"
366 "const:malloc_hooks"
367
368 #. type: SH
369 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
370 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
371 #, no-wrap
372 msgid "STANDARDS"
373 msgstr "المعايير"
374
375 #. type: Plain text
376 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
377 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
378 msgid "GNU."
379 msgstr "GNU."
380
381 #. type: SH
382 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
383 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
384 #, no-wrap
385 msgid "HISTORY"
386 msgstr "التاريخ"
387
388 #. type: TP
389 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
390 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
391 #, no-wrap
392 msgid "B<mcheck_pedantic>()"
393 msgstr "B<mcheck_pedantic>()"
394
395 #. type: TQ
396 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
397 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
398 #, no-wrap
399 msgid "B<mcheck_check_all>()"
400 msgstr "B<mcheck_check_all>()"
401
402 #. type: Plain text
403 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
404 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
405 msgid "glibc 2.2."
406 msgstr "glibc 2.2."
407
408 #. type: TP
409 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
410 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
411 #, no-wrap
412 msgid "B<mcheck>()"
413 msgstr "B<mcheck>()"
414
415 #. type: TQ
416 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
417 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
418 #, no-wrap
419 msgid "B<mprobe>()"
420 msgstr "B<mprobe>()"
421
422 #. type: Plain text
423 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
424 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
425 msgid "glibc 2.0."
426 msgstr "glibc 2.0."
427
428 #. type: SH
429 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
430 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
431 #, no-wrap
432 msgid "NOTES"
433 msgstr "ملاحظات"
434
435 #. But is MALLOC_CHECK_ slower?
436 #. type: Plain text
437 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
438 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
439 msgid ""
440 "Linking a program with I<-lmcheck> and using the B<MALLOC_CHECK_> "
441 "environment variable (described in B<mallopt>(3)) cause the same kinds of "
442 "errors to be detected. But, using B<MALLOC_CHECK_> does not require the "
443 "application to be relinked."
444 msgstr ""
445 "يُسبب وصل برنامج مع I<-lmcheck> واستخدام متغير البيئة B<MALLOC_CHECK_> "
446 "(الموصوف في B<mallopt>(3)) كشف نفس أنواع الأخطاء. لكن، استخدام "
447 "B<MALLOC_CHECK_> لا يتطلب إعادة وصل التطبيق."
448
449 #. type: SH
450 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
451 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
452 #, no-wrap
453 msgid "EXAMPLES"
454 msgstr "أمثلة"
455
456 #. type: Plain text
457 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
458 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
459 msgid ""
460 "The program below calls B<mcheck>() with a NULL argument and then frees the "
461 "same block of memory twice. The following shell session demonstrates what "
462 "happens when running the program:"
463 msgstr ""
464 "يستدعي البرنامج أدناه B<mcheck>() مع وسيط NULL ثم يُحرر نفس كتلة الذاكرة "
465 "مرتين. تُظهر جلسة الصدفة التالية ما يحدث عند تشغيل البرنامج:"
466
467 #. type: Plain text
468 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
469 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
470 #, no-wrap
471 msgid ""
472 "$B< ./a.out>\n"
473 "About to free\n"
474 "\\&\n"
475 "About to free a second time\n"
476 "block freed twice\n"
477 "Aborted (core dumped)\n"
478 msgstr ""
479 "$B< ./a.out>\n"
480 "About to free\n"
481 "\\&\n"
482 "About to free a second time\n"
483 "block freed twice\n"
484 "Aborted (core dumped)\n"
485
486 #. type: SS
487 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
488 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
489 #, no-wrap
490 msgid "Program source"
491 msgstr "مصدر البرنامج"
492
493 #. type: Plain text
494 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
495 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
496 #, no-wrap
497 msgid ""
498 "#include E<lt>mcheck.hE<gt>\n"
499 "#include E<lt>stdio.hE<gt>\n"
500 "#include E<lt>stdlib.hE<gt>\n"
501 "\\&\n"
502 "int\n"
503 "main(void)\n"
504 "{\n"
505 " char *p;\n"
506 "\\&\n"
507 " if (mcheck(NULL) != 0) {\n"
508 " fprintf(stderr, \"mcheck() failed\\[rs]n\");\n"
509 "\\&\n"
510 " exit(EXIT_FAILURE);\n"
511 " }\n"
512 "\\&\n"
513 " p = malloc(1000);\n"
514 "\\&\n"
515 " fprintf(stderr, \"About to free\\[rs]n\");\n"
516 " free(p);\n"
517 " fprintf(stderr, \"\\[rs]nAbout to free a second time\\[rs]n\");\n"
518 " free(p);\n"
519 "\\&\n"
520 " exit(EXIT_SUCCESS);\n"
521 "}\n"
522 msgstr ""
523 "#include E<lt>mcheck.hE<gt>\n"
524 "#include E<lt>stdio.hE<gt>\n"
525 "#include E<lt>stdlib.hE<gt>\n"
526 "\\&\n"
527 "int\n"
528 "main(void)\n"
529 "{\n"
530 " char *p;\n"
531 "\\&\n"
532 " if (mcheck(NULL) != 0) {\n"
533 " fprintf(stderr, \"mcheck() failed\\[rs]n\");\n"
534 "\\&\n"
535 " exit(EXIT_FAILURE);\n"
536 " }\n"
537 "\\&\n"
538 " p = malloc(1000);\n"
539 "\\&\n"
540 " fprintf(stderr, \"About to free\\[rs]n\");\n"
541 " free(p);\n"
542 " fprintf(stderr, \"\\[rs]nAbout to free a second time\\[rs]n\");\n"
543 " free(p);\n"
544 "\\&\n"
545 " exit(EXIT_SUCCESS);\n"
546 "}\n"
547
548 #. SRC END
549 #. type: SH
550 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
551 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
552 #, no-wrap
553 msgid "SEE ALSO"
554 msgstr "انظر أيضًا"
555
556 #. type: Plain text
557 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
558 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
559 msgid "B<malloc>(3), B<mallopt>(3), B<mtrace>(3)"
560 msgstr "B<malloc>(3)، B<mallopt>(3)، B<mtrace>(3)"
561
562 #. type: TH
563 #: debian-trixie
564 #, no-wrap
565 msgid "2024-06-15"
566 msgstr "15 يونيو 2024"
567
568 #. type: TH
569 #: debian-trixie
570 #, no-wrap
571 msgid "Linux man-pages 6.9.1"
572 msgstr "صفحات دليل لينكس 6.9.1"
573
574 #. type: Plain text
575 #: debian-trixie
576 msgid "Standard C library (I<libc>, I<-lc>)"
577 msgstr "مكتبة سي المعيارية (I<libc>، I<-lc>)"
578
579 #. type: Plain text
580 #: debian-trixie
581 #, no-wrap
582 msgid ""
583 "B<int mcheck(void (*>I<abortfunc>B<)(enum mcheck_status >I<mstatus>B<));>\n"
584 "B<int mcheck_pedantic(void (*>I<abortfunc>B<)(enum mcheck_status >I<mstatus>B<));>\n"
585 "B<void mcheck_check_all(void);>\n"
586 msgstr ""
587 "B<int mcheck(void (*>I<abortfunc>B<)(enum mcheck_status >I<mstatus>B<));>\n"
588 "B<int mcheck_pedantic(void (*>I<abortfunc>B<)(enum mcheck_status >I<mstatus>B<));>\n"
589 "B<void mcheck_check_all(void);>\n"
590
591 #. type: Plain text
592 #: debian-trixie fedora-44 fedora-rawhide
593 msgid ""
594 "If the system detects an inconsistency in the heap, the caller-supplied "
595 "function pointed to by I<abortfunc> is invoked with a single argument, "
596 "I<mstatus>, that indicates what type of inconsistency was detected. If "
597 "I<abortfunc> is NULL, a default function prints an error message on "
598 "I<stderr> and calls B<abort>(3)."
599 msgstr ""
600 "إذا كشف النظام عدم تناسق في الكومة، تُستدعى الدالة المقدمة من المستدعي المشار "
601 "إليها بواسطة I<abortfunc> مع وسيط واحد، I<mstatus>، الذي يُشير إلى نوع عدم "
602 "التناسق الذي كُشف. إذا كان I<abortfunc> هو NULL، تطبع دالة مبدئية رسالة خطأ "
603 "على I<stderr> وتستدعي B<abort>(3)."
604
605 #. type: Plain text
606 #: debian-trixie fedora-44 fedora-rawhide
607 msgid ""
608 "The following list describes the values returned by B<mprobe>() or passed "
609 "as the I<mstatus> argument when I<abortfunc> is invoked:"
610 msgstr ""
611 "تصف القائمة التالية القيم التي تُعيدها B<mprobe>() أو التي تُمرر كوسيط "
612 "I<mstatus> عند استدعاء I<abortfunc>:"
613
614 #. type: TH
615 #: fedora-44 fedora-rawhide
616 #, no-wrap
617 msgid "2024-12-13"
618 msgstr "13 ديسمبر 2024"
619
620 #. type: TH
621 #: fedora-44 fedora-rawhide
622 #, no-wrap
623 msgid "Linux man-pages 6.13"
624 msgstr "صفحات دليل لينكس 6.13"
625
626 #. type: Plain text
627 #: fedora-44 fedora-rawhide
628 #, no-wrap
629 msgid ""
630 "B<int mcheck(typeof(void (enum mcheck_status >I<mstatus>B<)) *>I<abortfunc>B<);>\n"
631 "B<int mcheck_pedantic(>\n"
632 "B< typeof(void (enum mcheck_status >I<mstatus>B<)) *>I<abortfunc>B<);>\n"
633 "B<void mcheck_check_all(void);>\n"
634 msgstr ""
635 "B<int mcheck(typeof(void (enum mcheck_status >I<mstatus>B<)) *>I<abortfunc>B<);>\n"
636 "B<int mcheck_pedantic(>\n"
637 "B< typeof(void (enum mcheck_status >I<mstatus>B<)) *>I<abortfunc>B<);>\n"
638 "B<void mcheck_check_all(void);>\n"
639
640 #. type: TH
641 #: mageia-cauldron
642 #, no-wrap
643 msgid "Linux man-pages 6.17"
644 msgstr "صفحات دليل لينكس 6.17"
645
646 #. type: TH
647 #: opensuse-leap-16-1 opensuse-tumbleweed
648 #, no-wrap
649 msgid "Linux man-pages (unreleased)"
650 msgstr "صفحات دليل لينكس (لم تصدر بعد)"