Debian Codegraph @

po/ru/man3/mcheck.3.po

raw
1 # Russian translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # aereiae <[email protected]>, 2014.
5 # Alexey <[email protected]>, 2015.
6 # Azamat Hackimov <[email protected]>, 2013-2017.
7 # Dmitriy S. Seregin <[email protected]>, 2013.
8 # Dmitry Bolkhovskikh <[email protected]>, 2017.
9 # ITriskTI <[email protected]>, 2013.
10 # Max Is <[email protected]>, 2016.
11 # Yuri Kozlov <[email protected]>, 2011-2019.
12 # Иван Павлов <[email protected]>, 2017.
13 # Малянов Евгений Викторович <[email protected]>, 2014.
14 msgid ""
15 msgstr ""
16 "Project-Id-Version: manpages-l10n\n"
17 "POT-Creation-Date: 2026-06-05 06:30+0200\n"
18 "PO-Revision-Date: 2024-12-21 19:50+0300\n"
19 "Last-Translator: Yuri Kozlov <[email protected]>\n"
20 "Language-Team: Russian <[email protected]>\n"
21 "Language: ru\n"
22 "MIME-Version: 1.0\n"
23 "Content-Type: text/plain; charset=UTF-8\n"
24 "Content-Transfer-Encoding: 8bit\n"
25 "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
26 "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
27 "(n%100>=11 && n%100<=14)? 2 : 3);\n"
28 "X-Generator: Lokalize 2.0\n"
29
30 #. type: TH
31 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
32 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
33 #, fuzzy, no-wrap
34 #| msgid "B<--check>"
35 msgid "mcheck"
36 msgstr "B<--check>"
37
38 #. type: TH
39 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
40 #: opensuse-tumbleweed
41 #, no-wrap
42 msgid "2026-02-08"
43 msgstr "8 февраля 2026 г."
44
45 #. type: TH
46 #: archlinux debian-unstable
47 #, fuzzy, no-wrap
48 #| msgid "Linux man-pages 6.17"
49 msgid "Linux man-pages 6.18"
50 msgstr "Справочные страницы Linux 6.17"
51
52 #. type: SH
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 #, no-wrap
56 msgid "NAME"
57 msgstr "НАИМЕНОВАНИЕ"
58
59 #. type: Plain text
60 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
61 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
62 msgid ""
63 "mcheck, mcheck_check_all, mcheck_pedantic, mprobe - heap consistency checking"
64 msgstr ""
65 "mcheck, mcheck_check_all, mcheck_pedantic, mprobe - проверяет целостность "
66 "кучи"
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 "LIBRARY"
73 msgstr "БИБЛИОТЕКА"
74
75 #. type: Plain text
76 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
77 #: opensuse-leap-16-1 opensuse-tumbleweed
78 msgid "Standard C library (I<libc>,\\ I<-lc>)"
79 msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)"
80
81 #. type: SH
82 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
83 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
84 #, no-wrap
85 msgid "SYNOPSIS"
86 msgstr "СИНТАКСИС"
87
88 #. type: Plain text
89 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
90 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
91 #, no-wrap
92 msgid "B<#include E<lt>mcheck.hE<gt>>\n"
93 msgstr "B<#include E<lt>mcheck.hE<gt>>\n"
94
95 #. type: Plain text
96 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
97 #: opensuse-tumbleweed
98 #, fuzzy, no-wrap
99 #| msgid "B<int mcheck_pedantic(void (*>I<abortfunc>B<)(enum mcheck_status >I<mstatus>B<));>\n"
100 msgid ""
101 "B<int mcheck(typeof(void (enum mcheck_status >I<mstatus>B<)) *>I<f>B<);>\n"
102 "B<int mcheck_pedantic(>\n"
103 "B< typeof(void (enum mcheck_status >I<mstatus>B<)) *>I<f>B<);>\n"
104 "B<void mcheck_check_all(void);>\n"
105 msgstr "B<int mcheck_pedantic(void (*>I<abortfunc>B<)(enum mcheck_status >I<mstatus>B<));>\n"
106
107 #. type: Plain text
108 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
109 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
110 #, no-wrap
111 msgid "B<enum mcheck_status mprobe(void *>I<ptr>B<);>\n"
112 msgstr "B<enum mcheck_status mprobe(void *>I<ptr>B<);>\n"
113
114 #. type: SH
115 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
116 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
117 #, no-wrap
118 msgid "DESCRIPTION"
119 msgstr "ОПИСАНИЕ"
120
121 #. type: Plain text
122 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
123 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
124 msgid ""
125 "The B<mcheck>() function installs a set of debugging hooks for the "
126 "B<malloc>(3) family of memory-allocation functions. These hooks cause "
127 "certain consistency checks to be performed on the state of the heap. The "
128 "checks can detect application errors such as freeing a block of memory more "
129 "than once or corrupting the bookkeeping data structures that immediately "
130 "precede a block of allocated memory."
131 msgstr ""
132 "Функция B<mcheck>() устанавливает набор отладочных ловушек (hooks) на "
133 "семейство функций выделения памяти B<malloc>(3). Эти ловушки выполняют "
134 "определённые проверки целостности состояния кучи. Проверками обнаруживаются "
135 "следующие ошибки приложения: многократное освобождение одного блока памяти, "
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 "To be effective, the B<mcheck>() function must be called before the first "
144 "call to B<malloc>(3) or a related function. In cases where this is "
145 "difficult to ensure, linking the program with I<-lmcheck> inserts an "
146 "implicit call to B<mcheck>() (with a NULL argument) before the first call "
147 "to a memory-allocation function."
148 msgstr ""
149 "Для эффективной работы функция B<mcheck>() должна вызываться перед первым "
150 "вызовом B<malloc>(3) или подобной функции. В случаях, когда это трудно "
151 "проверить, компоновка программы с параметром I<-lmcheck> вставляет неявный "
152 "вызов B<mcheck>() (с аргументом NULL) перед первым вызовом функции выделения "
153 "памяти."
154
155 #. type: Plain text
156 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
157 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
158 msgid ""
159 "The B<mcheck_pedantic>() function is similar to B<mcheck>(), but performs "
160 "checks on all allocated blocks whenever one of the memory-allocation "
161 "functions is called. This can be very slow!"
162 msgstr ""
163 "Функция B<mcheck_pedantic>() похожа на B<mcheck>(), но выполняет проверку "
164 "всех выделенных блоков каждый раз, когда вызывается функция выделения "
165 "памяти. Она может работать очень медленно!"
166
167 #. type: Plain text
168 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
169 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
170 msgid ""
171 "The B<mcheck_check_all>() function causes an immediate check on all "
172 "allocated blocks. This call is effective only if B<mcheck>() is called "
173 "beforehand."
174 msgstr ""
175 "Функция B<mcheck_check_all>() выполняет немедленную проверку всех выделенных "
176 "блоков. Этот вызов эффективно работает только, если перед этим была вызвана "
177 "B<mcheck>()."
178
179 #. type: Plain text
180 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
181 #: opensuse-tumbleweed
182 #, fuzzy
183 #| msgid ""
184 #| "If the system detects an inconsistency in the heap, the caller-supplied "
185 #| "function pointed to by I<abortfunc> is invoked with a single argument, "
186 #| "I<mstatus>, that indicates what type of inconsistency was detected. If "
187 #| "I<abortfunc> is NULL, a default function prints an error message on "
188 #| "I<stderr> and calls B<abort>(3)."
189 msgid ""
190 "If the system detects an inconsistency in the heap, the caller-supplied "
191 "function pointed to by I<f> is invoked with a single argument, I<mstatus>, "
192 "that indicates what type of inconsistency was detected. If I<f> is NULL, a "
193 "default function prints an error message on I<stderr> and calls B<abort>(3)."
194 msgstr ""
195 "Если система обнаруживает целостность кучи, то вызывается функция, которую "
196 "указал вызывающий в I<abortfunc> с единственным аргументом I<mstatus>, "
197 "который показывает, какой тип рассогласованности обнаружен. Если "
198 "I<abortfunc> равно NULL, то функция по умолчанию печатает сообщение об "
199 "ошибке в I<stderr> и вызывает B<abort>(3)."
200
201 #. type: Plain text
202 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
203 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
204 msgid ""
205 "The B<mprobe>() function performs a consistency check on the block of "
206 "allocated memory pointed to by I<ptr>. The B<mcheck>() function should be "
207 "called beforehand (otherwise B<mprobe>() returns B<MCHECK_DISABLED>)."
208 msgstr ""
209 "Функция B<mprobe>() выполняет проверку целостности блока выделенной памяти, "
210 "на который указывает I<ptr>. Перед этим должна вызываться функция "
211 "B<mcheck>() (в противном случае B<mprobe>() возвращает B<MCHECK_DISABLED>)."
212
213 #. type: Plain text
214 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
215 #: opensuse-tumbleweed
216 #, fuzzy
217 #| msgid ""
218 #| "The following list describes the values returned by B<mprobe>() or "
219 #| "passed as the I<mstatus> argument when I<abortfunc> is invoked:"
220 msgid ""
221 "The following list describes the values returned by B<mprobe>() or passed "
222 "as the I<mstatus> argument when I<f> is invoked:"
223 msgstr ""
224 "Далее перечислены значения, возвращаемые B<mprobe>() или передаваемые в "
225 "аргументе I<mstatus> при вызове I<abortfunc>:"
226
227 #. type: TP
228 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
229 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
230 #, no-wrap
231 msgid "B<MCHECK_DISABLED> (B<mprobe>() only)"
232 msgstr "B<MCHECK_DISABLED> (только B<mprobe>())"
233
234 #. type: Plain text
235 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
236 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
237 msgid ""
238 "B<mcheck>() was not called before the first memory allocation function was "
239 "called. Consistency checking is not possible."
240 msgstr ""
241 "Не вызвана функция B<mcheck>() до первого вызова функции выделения памяти. "
242 "Проверка несоответствий невозможна."
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_OK> (B<mprobe>() only)"
249 msgstr "B<MCHECK_OK> (только B<mprobe>())"
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 "No inconsistency detected."
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_HEAD>"
262 msgstr "B<MCHECK_HEAD>"
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 "Memory preceding an allocated block was clobbered."
268 msgstr "Память, предшествующая выделенному блоку, была затёрта."
269
270 #. type: TP
271 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
272 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
273 #, no-wrap
274 msgid "B<MCHECK_TAIL>"
275 msgstr "B<MCHECK_TAIL>"
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 "Memory following an allocated block was clobbered."
281 msgstr "Память после выделенного блока была затёрта."
282
283 #. type: TP
284 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
285 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
286 #, no-wrap
287 msgid "B<MCHECK_FREE>"
288 msgstr "B<MCHECK_FREE>"
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 "A block of memory was freed twice."
294 msgstr "Блок памяти был освобожден дважды."
295
296 #. type: SH
297 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
298 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
299 #, no-wrap
300 msgid "RETURN VALUE"
301 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
302
303 #. type: Plain text
304 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
305 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
306 msgid ""
307 "B<mcheck>() and B<mcheck_pedantic>() return 0 on success, or -1 on error."
308 msgstr ""
309 "При успешном выполнении B<mcheck>() и B<mcheck_pedantic>() возвращают 0, а "
310 "в случае ошибки возвращают -1."
311
312 #. type: SH
313 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
314 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
315 #, no-wrap
316 msgid "ATTRIBUTES"
317 msgstr "АТРИБУТЫ"
318
319 #. type: Plain text
320 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
321 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
322 msgid ""
323 "For an explanation of the terms used in this section, see B<attributes>(7)."
324 msgstr "Описание терминов данного раздела смотрите в B<attributes>(7)."
325
326 #. type: tbl table
327 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
328 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
329 #, no-wrap
330 msgid "Interface"
331 msgstr "Интерфейс"
332
333 #. type: tbl table
334 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
335 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
336 #, no-wrap
337 msgid "Attribute"
338 msgstr "Атрибут"
339
340 #. type: tbl table
341 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
342 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
343 #, no-wrap
344 msgid "Value"
345 msgstr "Значение"
346
347 #. type: tbl table
348 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
349 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
350 #, no-wrap
351 msgid ".na\n"
352 msgstr ".na\n"
353
354 #. type: tbl table
355 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
356 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
357 #, no-wrap
358 msgid ".nh\n"
359 msgstr ".nh\n"
360
361 #. type: tbl table
362 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
363 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
364 #, fuzzy, no-wrap
365 #| msgid ""
366 #| "B<mcheck>(),\n"
367 #| "B<mcheck_pedantic>(),\n"
368 msgid ""
369 "B<mcheck>(),\n"
370 "B<mcheck_pedantic>(),\n"
371 "B<mcheck_check_all>(),\n"
372 "B<mprobe>()"
373 msgstr ""
374 "B<mcheck>(),\n"
375 "B<mcheck_pedantic>(),\n"
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 "Thread safety"
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 #, fuzzy, no-wrap
388 #| msgid "MT-Unsafe race:mcheck\n"
389 msgid ""
390 "MT-Unsafe race:mcheck\n"
391 "const:malloc_hooks"
392 msgstr "MT-Unsafe race:mcheck\n"
393
394 #. type: SH
395 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
396 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
397 #, no-wrap
398 msgid "STANDARDS"
399 msgstr "СТАНДАРТЫ"
400
401 #. type: Plain text
402 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
403 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
404 msgid "GNU."
405 msgstr "GNU."
406
407 #. type: SH
408 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
409 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
410 #, no-wrap
411 msgid "HISTORY"
412 msgstr "ИСТОРИЯ"
413
414 #. type: TP
415 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
416 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
417 #, fuzzy, no-wrap
418 #| msgid ""
419 #| "B<mcheck>(),\n"
420 #| "B<mcheck_pedantic>(),\n"
421 msgid "B<mcheck_pedantic>()"
422 msgstr ""
423 "B<mcheck>(),\n"
424 "B<mcheck_pedantic>(),\n"
425
426 #. type: TQ
427 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
428 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
429 #, fuzzy, no-wrap
430 #| msgid ""
431 #| "B<mcheck_check_all>(),\n"
432 #| "B<mprobe>()"
433 msgid "B<mcheck_check_all>()"
434 msgstr ""
435 "B<mcheck_check_all>(),\n"
436 "B<mprobe>()"
437
438 #. type: Plain text
439 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
440 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
441 msgid "glibc 2.2."
442 msgstr "glibc 2.2."
443
444 #. type: TP
445 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
446 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
447 #, fuzzy, no-wrap
448 #| msgid "B<--check>"
449 msgid "B<mcheck>()"
450 msgstr "B<--check>"
451
452 #. type: TQ
453 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
454 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
455 #, fuzzy, no-wrap
456 #| msgid "B<grub-probe>(8)"
457 msgid "B<mprobe>()"
458 msgstr "B<grub-probe>(8)"
459
460 #. type: Plain text
461 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
462 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
463 msgid "glibc 2.0."
464 msgstr "glibc 2.0."
465
466 #. type: SH
467 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
468 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
469 #, no-wrap
470 msgid "NOTES"
471 msgstr "ПРИМЕЧАНИЯ"
472
473 #. But is MALLOC_CHECK_ slower?
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 ""
478 "Linking a program with I<-lmcheck> and using the B<MALLOC_CHECK_> "
479 "environment variable (described in B<mallopt>(3)) cause the same kinds of "
480 "errors to be detected. But, using B<MALLOC_CHECK_> does not require the "
481 "application to be relinked."
482 msgstr ""
483 "Компоновка программы с I<-lmcheck> и использование переменной окружения "
484 "B<MALLOC_CHECK_> (описана в B<mallopt>(3)) обнаруживают ошибки схожим "
485 "образом. Но при использовании B<MALLOC_CHECK_> не требуется "
486 "перекомпоновывать приложение."
487
488 #. type: SH
489 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
490 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
491 #, no-wrap
492 msgid "EXAMPLES"
493 msgstr "ПРИМЕРЫ"
494
495 #. type: Plain text
496 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
497 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
498 msgid ""
499 "The program below calls B<mcheck>() with a NULL argument and then frees the "
500 "same block of memory twice. The following shell session demonstrates what "
501 "happens when running the program:"
502 msgstr ""
503 "Программа, представленная ниже, вызывает B<mcheck>() с аргументом NULL и "
504 "затем освобождает один и тот же блок дважды. В следующем сеансе оболочки "
505 "показано что случается при запуске программы:"
506
507 #. type: Plain text
508 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
509 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
510 #, fuzzy, no-wrap
511 #| msgid ""
512 #| "About to free a second time\n"
513 #| "block freed twice\n"
514 #| "Aborted (core dumped)\n"
515 msgid ""
516 "$B< ./a.out>\n"
517 "About to free\n"
518 "\\&\n"
519 "About to free a second time\n"
520 "block freed twice\n"
521 "Aborted (core dumped)\n"
522 msgstr ""
523 "Освобождаем второй раз\n"
524 "блок освобождён дважды\n"
525 "Aborted (core dumped)\n"
526
527 #. type: SS
528 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
529 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
530 #, no-wrap
531 msgid "Program source"
532 msgstr "Исходный код программы"
533
534 #. type: Plain text
535 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
536 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
537 #, no-wrap
538 msgid ""
539 "#include E<lt>mcheck.hE<gt>\n"
540 "#include E<lt>stdio.hE<gt>\n"
541 "#include E<lt>stdlib.hE<gt>\n"
542 "\\&\n"
543 "int\n"
544 "main(void)\n"
545 "{\n"
546 " char *p;\n"
547 "\\&\n"
548 " if (mcheck(NULL) != 0) {\n"
549 " fprintf(stderr, \"mcheck() failed\\[rs]n\");\n"
550 "\\&\n"
551 " exit(EXIT_FAILURE);\n"
552 " }\n"
553 "\\&\n"
554 " p = malloc(1000);\n"
555 "\\&\n"
556 " fprintf(stderr, \"About to free\\[rs]n\");\n"
557 " free(p);\n"
558 " fprintf(stderr, \"\\[rs]nAbout to free a second time\\[rs]n\");\n"
559 " free(p);\n"
560 "\\&\n"
561 " exit(EXIT_SUCCESS);\n"
562 "}\n"
563 msgstr ""
564
565 #. SRC END
566 #. type: SH
567 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
568 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
569 #, no-wrap
570 msgid "SEE ALSO"
571 msgstr "СМОТРИТЕ ТАКЖЕ"
572
573 #. type: Plain text
574 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
575 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
576 msgid "B<malloc>(3), B<mallopt>(3), B<mtrace>(3)"
577 msgstr "B<malloc>(3), B<mallopt>(3), B<mtrace>(3)"
578
579 #. type: TH
580 #: debian-trixie
581 #, no-wrap
582 msgid "2024-06-15"
583 msgstr "15 июня 2024 г."
584
585 #. type: TH
586 #: debian-trixie
587 #, no-wrap
588 msgid "Linux man-pages 6.9.1"
589 msgstr "Страницы руководства Linux 6.9.1"
590
591 #. type: Plain text
592 #: debian-trixie
593 msgid "Standard C library (I<libc>, I<-lc>)"
594 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
595
596 #. type: Plain text
597 #: debian-trixie
598 #, fuzzy, no-wrap
599 #| msgid "B<int mcheck_pedantic(void (*>I<abortfunc>B<)(enum mcheck_status >I<mstatus>B<));>\n"
600 msgid ""
601 "B<int mcheck(void (*>I<abortfunc>B<)(enum mcheck_status >I<mstatus>B<));>\n"
602 "B<int mcheck_pedantic(void (*>I<abortfunc>B<)(enum mcheck_status >I<mstatus>B<));>\n"
603 "B<void mcheck_check_all(void);>\n"
604 msgstr "B<int mcheck_pedantic(void (*>I<abortfunc>B<)(enum mcheck_status >I<mstatus>B<));>\n"
605
606 #. type: Plain text
607 #: debian-trixie fedora-44 fedora-rawhide
608 msgid ""
609 "If the system detects an inconsistency in the heap, the caller-supplied "
610 "function pointed to by I<abortfunc> is invoked with a single argument, "
611 "I<mstatus>, that indicates what type of inconsistency was detected. If "
612 "I<abortfunc> is NULL, a default function prints an error message on "
613 "I<stderr> and calls B<abort>(3)."
614 msgstr ""
615 "Если система обнаруживает целостность кучи, то вызывается функция, которую "
616 "указал вызывающий в I<abortfunc> с единственным аргументом I<mstatus>, "
617 "который показывает, какой тип рассогласованности обнаружен. Если "
618 "I<abortfunc> равно NULL, то функция по умолчанию печатает сообщение об "
619 "ошибке в I<stderr> и вызывает B<abort>(3)."
620
621 #. type: Plain text
622 #: debian-trixie fedora-44 fedora-rawhide
623 msgid ""
624 "The following list describes the values returned by B<mprobe>() or passed "
625 "as the I<mstatus> argument when I<abortfunc> is invoked:"
626 msgstr ""
627 "Далее перечислены значения, возвращаемые B<mprobe>() или передаваемые в "
628 "аргументе I<mstatus> при вызове I<abortfunc>:"
629
630 #. type: TH
631 #: fedora-44 fedora-rawhide
632 #, no-wrap
633 msgid "2024-12-13"
634 msgstr "13 декабря 2024 г."
635
636 #. type: TH
637 #: fedora-44 fedora-rawhide
638 #, no-wrap
639 msgid "Linux man-pages 6.13"
640 msgstr "Страницы руководства Linux 6.13"
641
642 #. type: Plain text
643 #: fedora-44 fedora-rawhide
644 #, fuzzy, no-wrap
645 #| msgid "B<int mcheck_pedantic(void (*>I<abortfunc>B<)(enum mcheck_status >I<mstatus>B<));>\n"
646 msgid ""
647 "B<int mcheck(typeof(void (enum mcheck_status >I<mstatus>B<)) *>I<abortfunc>B<);>\n"
648 "B<int mcheck_pedantic(>\n"
649 "B< typeof(void (enum mcheck_status >I<mstatus>B<)) *>I<abortfunc>B<);>\n"
650 "B<void mcheck_check_all(void);>\n"
651 msgstr "B<int mcheck_pedantic(void (*>I<abortfunc>B<)(enum mcheck_status >I<mstatus>B<));>\n"
652
653 #. type: TH
654 #: mageia-cauldron
655 #, no-wrap
656 msgid "Linux man-pages 6.17"
657 msgstr "Страницы руководства Linux 6.17"
658
659 #. type: TH
660 #: opensuse-leap-16-1 opensuse-tumbleweed
661 #, no-wrap
662 msgid "Linux man-pages (unreleased)"
663 msgstr "Страницы руководства Linux (не выпущены)"