Debian Codegraph @

po/ru/man3/mallinfo.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<mallinfo>()"
35 msgid "mallinfo"
36 msgstr "B<mallinfo>()"
37
38 #. type: TH
39 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
40 #, no-wrap
41 msgid "2026-02-22"
42 msgstr "22 февраля 2026 г."
43
44 #. type: TH
45 #: archlinux debian-unstable
46 #, fuzzy, no-wrap
47 #| msgid "Linux man-pages 6.17"
48 msgid "Linux man-pages 6.18"
49 msgstr "Справочные страницы Linux 6.17"
50
51 #. type: SH
52 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
53 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
54 #, no-wrap
55 msgid "NAME"
56 msgstr "НАИМЕНОВАНИЕ"
57
58 #. type: Plain text
59 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
60 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
61 #, fuzzy
62 #| msgid "mallinfo - obtain memory allocation information"
63 msgid "mallinfo, mallinfo2 - obtain memory allocation information"
64 msgstr "mallinfo — возвращает информацию о выделении памяти"
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 "LIBRARY"
71 msgstr "БИБЛИОТЕКА"
72
73 #. type: Plain text
74 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
75 #: opensuse-leap-16-1 opensuse-tumbleweed
76 msgid "Standard C library (I<libc>,\\ I<-lc>)"
77 msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)"
78
79 #. type: SH
80 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
81 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
82 #, no-wrap
83 msgid "SYNOPSIS"
84 msgstr "СИНТАКСИС"
85
86 #. type: Plain text
87 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
88 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
89 #, no-wrap
90 msgid "B<#include E<lt>malloc.hE<gt>>\n"
91 msgstr "B<#include E<lt>malloc.hE<gt>>\n"
92
93 #. type: Plain text
94 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
95 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
96 #, fuzzy, no-wrap
97 #| msgid "B<struct mallinfo mallinfo(void);>"
98 msgid ""
99 "B<struct mallinfo mallinfo(void);>\n"
100 "B<struct mallinfo2 mallinfo2(void);>\n"
101 msgstr "B<struct mallinfo mallinfo(void);>"
102
103 #. type: SH
104 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
105 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
106 #, no-wrap
107 msgid "DESCRIPTION"
108 msgstr "ОПИСАНИЕ"
109
110 #. type: Plain text
111 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
112 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
113 msgid ""
114 "These functions return a copy of a structure containing information about "
115 "memory allocations performed by B<malloc>(3) and related functions. The "
116 "structure returned by each function contains the same fields. However, the "
117 "older function, B<mallinfo>(), is deprecated since the type used for the "
118 "fields is too small (see BUGS)."
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 #, fuzzy
125 #| msgid ""
126 #| "Note that not all allocations are visible to B<mallinfo>(); see BUGS and "
127 #| "consider using B<malloc_info>(3) instead."
128 msgid ""
129 "Note that not all allocations are visible to these functions; see BUGS and "
130 "consider using B<malloc_info>(3) instead."
131 msgstr ""
132 "Заметим, что не все приложения видимы в B<mallinfo>(); смотрите ДЕФЕКТЫ и "
133 "вместо неё используйте B<malloc_info>(3)."
134
135 #. type: Plain text
136 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
137 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
138 #, fuzzy
139 #| msgid "The returned structure is defined as follows:"
140 msgid ""
141 "The I<mallinfo2> structure returned by B<mallinfo2>() is defined as follows:"
142 msgstr "Возвращаемая структура определена следующим образом:"
143
144 #. type: Plain text
145 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
146 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
147 #, fuzzy, no-wrap
148 #| msgid ""
149 #| "struct mallinfo {\n"
150 #| " int arena; /* Non-mmapped space allocated (bytes) */\n"
151 #| " int ordblks; /* Number of free chunks */\n"
152 #| " int smblks; /* Number of free fastbin blocks */\n"
153 #| " int hblks; /* Number of mmapped regions */\n"
154 #| " int hblkhd; /* Space allocated in mmapped regions (bytes) */\n"
155 #| " int usmblks; /* Maximum total allocated space (bytes) */\n"
156 #| " int fsmblks; /* Space in freed fastbin blocks (bytes) */\n"
157 #| " int uordblks; /* Total allocated space (bytes) */\n"
158 #| " int fordblks; /* Total free space (bytes) */\n"
159 #| " int keepcost; /* Top-most, releasable space (bytes) */\n"
160 #| "};\n"
161 msgid ""
162 "struct mallinfo2 {\n"
163 " size_t arena; /* Non-mmapped space allocated (bytes) */\n"
164 " size_t ordblks; /* Number of free chunks */\n"
165 " size_t smblks; /* Number of free fastbin blocks */\n"
166 " size_t hblks; /* Number of mmapped regions */\n"
167 " size_t hblkhd; /* Space allocated in mmapped regions\n"
168 " (bytes) */\n"
169 " size_t usmblks; /* See below */\n"
170 " size_t fsmblks; /* Space in freed fastbin blocks (bytes) */\n"
171 " size_t uordblks; /* Total allocated space (bytes) */\n"
172 " size_t fordblks; /* Total free space (bytes) */\n"
173 " size_t keepcost; /* Top-most, releasable space (bytes) */\n"
174 "};\n"
175 msgstr ""
176 "struct mallinfo {\n"
177 " int arena; /* не размеченная область памяти выделенная под кучу (в байтах) */\n"
178 " int ordblks; /* Количество свободных блоков */\n"
179 " int smblks; /* Количество свободных блоков fastbin */\n"
180 " int hblks; /* Количество размеченных областей */\n"
181 " int hblkhd; /* Пространство, выделенное в размеченных областях (в байтах) */\n"
182 " int usmblks; /* Максимум общей выделенной области (в байтах) */\n"
183 " int fsmblks; /* Пространство в освобожденных fastbin блоках (в байтах) */\n"
184 " int uordblks; /* Общее выделенное пространство (в байтах) */\n"
185 " int fordblks; /* Общее свободное пространство (в байтах) */\n"
186 " int keepcost; /* Верхнее пространство, которое можно освободить (в байтах) */\n"
187 "};\n"
188
189 #. type: Plain text
190 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
191 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
192 msgid ""
193 "The I<mallinfo> structure returned by the deprecated B<mallinfo>() function "
194 "is exactly the same, except that the fields are typed as I<int>."
195 msgstr ""
196
197 #. type: Plain text
198 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
199 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
200 #, fuzzy
201 #| msgid ""
202 #| "The fields of the I<mallinfo> structure contain the following information:"
203 msgid "The structure fields contain the following information:"
204 msgstr "Поля структуры I<mallinfo> содержат следующую информацию:"
205
206 #. type: TP
207 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
208 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
209 #, no-wrap
210 msgid "I<arena>"
211 msgstr "I<arena>"
212
213 #. type: Plain text
214 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
215 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
216 msgid ""
217 "The total amount of memory allocated by means other than B<mmap>(2) (i.e., "
218 "memory allocated on the heap). This figure includes both in-use blocks and "
219 "blocks on the free list."
220 msgstr ""
221 "Общее количество памяти, выделенной способами отличными от B<mmap>(2) (т. "
222 "е., память, выделенная из кучи). Это значение включает используемые и "
223 "свободные блоки из списка."
224
225 #. type: TP
226 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
227 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
228 #, no-wrap
229 msgid "I<ordblks>"
230 msgstr "I<ordblks>"
231
232 #. type: Plain text
233 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
234 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
235 msgid "The number of ordinary (i.e., non-fastbin) free blocks."
236 msgstr "Количество обычных (т. е., не fastbin) свободных блоков."
237
238 #. type: TP
239 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
240 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
241 #, no-wrap
242 msgid "I<smblks>"
243 msgstr "I<smblks>"
244
245 #. the glibc info page wrongly says this field is unused
246 #. https://sourceware.org/bugzilla/show_bug.cgi?id=26746
247 #. type: Plain text
248 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
249 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
250 msgid "The number of fastbin free blocks (see B<mallopt>(3))."
251 msgstr "Количество свободных блоков fastbin (смотрите B<mallopt>(3))."
252
253 #. type: TP
254 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
255 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
256 #, no-wrap
257 msgid "I<hblks>"
258 msgstr "I<hblks>"
259
260 #. type: Plain text
261 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
262 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
263 msgid ""
264 "The number of blocks currently allocated using B<mmap>(2). (See the "
265 "discussion of B<M_MMAP_THRESHOLD> in B<mallopt>(3).)"
266 msgstr ""
267 "Количество блоков, выделенных с помощью B<mmap>(2) на настоящий момент "
268 "(смотрите описание B<M_MMAP_THRESHOLD> в B<mallopt>(3))."
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 "I<hblkhd>"
275 msgstr "I<hblkhd>"
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 "The number of bytes in blocks currently allocated using B<mmap>(2)."
281 msgstr ""
282 "Количество байт в блоках, выделенных с помощью B<mmap>(2) на настоящий "
283 "момент."
284
285 #. type: TP
286 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
287 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
288 #, no-wrap
289 msgid "I<usmblks>"
290 msgstr "I<usmblks>"
291
292 #. It seems to have been zero since at least as far back as glibc 2.15
293 #. type: Plain text
294 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
295 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
296 #, fuzzy
297 #| msgid ""
298 #| "The \"highwater mark\" for allocated space\\(emthat is, the maximum "
299 #| "amount of space that was ever allocated. This field is maintained only "
300 #| "in nonthreading environments."
301 msgid ""
302 "This field is unused, and is always 0. Historically, it was the \"highwater "
303 "mark\" for allocated space\\[em]that is, the maximum amount of space that "
304 "was ever allocated (in bytes); this field was maintained only in "
305 "nonthreading environments."
306 msgstr ""
307 "«Верхняя отметка» выделенного пространства, то есть максимальное количество "
308 "места, которое когда-либо выделялось. Это поле изменяется только в "
309 "окружениях без нитей."
310
311 #. type: TP
312 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
313 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
314 #, no-wrap
315 msgid "I<fsmblks>"
316 msgstr "I<fsmblks>"
317
318 #. the glibc info page wrongly says this field is unused
319 #. https://sourceware.org/bugzilla/show_bug.cgi?id=26746
320 #. type: Plain text
321 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
322 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
323 msgid "The total number of bytes in fastbin free blocks."
324 msgstr "Общее количество байт в свободных блоках fastbin."
325
326 #. type: TP
327 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
328 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
329 #, no-wrap
330 msgid "I<uordblks>"
331 msgstr "I<uordblks>"
332
333 #. type: Plain text
334 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
335 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
336 msgid "The total number of bytes used by in-use allocations."
337 msgstr "Общее количество байт, в используемой выделенной памяти."
338
339 #. type: TP
340 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
341 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
342 #, no-wrap
343 msgid "I<fordblks>"
344 msgstr "I<fordblks>"
345
346 #. type: Plain text
347 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
348 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
349 msgid "The total number of bytes in free blocks."
350 msgstr "Общее количество байт в свободных блоках."
351
352 #. type: TP
353 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
354 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
355 #, no-wrap
356 msgid "I<keepcost>"
357 msgstr "I<keepcost>"
358
359 #. type: Plain text
360 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
361 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
362 msgid ""
363 "The total amount of releasable free space at the top of the heap. This is "
364 "the maximum number of bytes that could ideally (i.e., ignoring page "
365 "alignment restrictions, and so on) be released by B<malloc_trim>(3)."
366 msgstr ""
367 "Общее количество освобождаемого свободного пространства сверху кучи. Это "
368 "значение является максимальным количеством байт, которое будет освобождено "
369 "B<malloc_trim>(3) в идеальном случае (т. е., без учёта ограничений по "
370 "выравниванию и т. п.)."
371
372 #. type: SH
373 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
374 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
375 #, no-wrap
376 msgid "ATTRIBUTES"
377 msgstr "АТРИБУТЫ"
378
379 #. type: Plain text
380 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
381 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
382 msgid ""
383 "For an explanation of the terms used in this section, see B<attributes>(7)."
384 msgstr "Описание терминов данного раздела смотрите в B<attributes>(7)."
385
386 #. type: tbl table
387 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
388 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
389 #, no-wrap
390 msgid "Interface"
391 msgstr "Интерфейс"
392
393 #. type: tbl table
394 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
395 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
396 #, no-wrap
397 msgid "Attribute"
398 msgstr "Атрибут"
399
400 #. type: tbl table
401 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
402 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
403 #, no-wrap
404 msgid "Value"
405 msgstr "Значение"
406
407 #. type: tbl table
408 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
409 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
410 #, no-wrap
411 msgid ".na\n"
412 msgstr ".na\n"
413
414 #. type: tbl table
415 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
416 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
417 #, no-wrap
418 msgid ".nh\n"
419 msgstr ".nh\n"
420
421 #. type: tbl table
422 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
423 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
424 #, fuzzy, no-wrap
425 #| msgid "B<malloc>(3), B<mallopt>(3)"
426 msgid ""
427 "B<mallinfo>(),\n"
428 "B<mallinfo2>()"
429 msgstr "B<malloc>(3), B<mallopt>(3)"
430
431 #. type: tbl table
432 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
433 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
434 #, no-wrap
435 msgid "Thread safety"
436 msgstr "Безвредность в нитях"
437
438 #. type: tbl table
439 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
440 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
441 #, no-wrap
442 msgid "MT-Unsafe init const:mallopt"
443 msgstr "MT-Unsafe init const:mallopt"
444
445 #. type: Plain text
446 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
447 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
448 #, fuzzy
449 #| msgid ""
450 #| "B<mallinfo>() would access some global internal objects. If modify them "
451 #| "with non-atomically, may get inconsistent results. The identifier "
452 #| "I<mallopt> in I<const:mallopt> mean that B<mallopt>() would modify the "
453 #| "global internal objects with atomics, that make sure B<mallinfo>() is "
454 #| "safe enough, others modify with non-atomically maybe not."
455 msgid ""
456 "B<mallinfo>()/ B<mallinfo2>() would access some global internal objects. "
457 "If modify them with non-atomically, may get inconsistent results. The "
458 "identifier I<mallopt> in I<const:mallopt> mean that B<mallopt>() would "
459 "modify the global internal objects with atomics, that make sure "
460 "B<mallinfo>()/ B<mallinfo2>() is safe enough, others modify with non-"
461 "atomically maybe not."
462 msgstr ""
463 "Функция B<mallinfo>() получила бы доступ к некоторым глобальным внутренним "
464 "переменным. Если изменять их не атомарно, то можно нарушить целостность "
465 "результатов. Идентификатор I<mallopt> в I<const:mallopt> означает, что "
466 "B<mallopt>() изменяла бы глобальные внутренние переменные атомарно, что "
467 "делает B<mallinfo>() достаточно безопасной, но другие изменения могут "
468 "выполняться не атомарно."
469
470 #. type: SH
471 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
472 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
473 #, no-wrap
474 msgid "STANDARDS"
475 msgstr "СТАНДАРТЫ"
476
477 #. type: Plain text
478 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
479 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
480 msgid "None."
481 msgstr "Отсутствуют."
482
483 #. type: SH
484 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
485 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
486 #, no-wrap
487 msgid "HISTORY"
488 msgstr "ИСТОРИЯ"
489
490 #. type: TP
491 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
492 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
493 #, no-wrap
494 msgid "B<mallinfo>()"
495 msgstr "B<mallinfo>()"
496
497 #. type: Plain text
498 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
499 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
500 msgid "glibc 2.0. SVID."
501 msgstr ""
502
503 #. type: TP
504 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
505 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
506 #, fuzzy, no-wrap
507 #| msgid "B<mallinfo>()"
508 msgid "B<mallinfo2>()"
509 msgstr "B<mallinfo>()"
510
511 #. commit e3960d1c57e57f33e0e846d615788f4ede73b945
512 #. type: Plain text
513 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
514 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
515 #, fuzzy
516 #| msgid "Since glibc 2.2.2:"
517 msgid "glibc 2.33."
518 msgstr "Начиная с glibc 2.2.2:"
519
520 #. type: SH
521 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
522 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
523 #, no-wrap
524 msgid "BUGS"
525 msgstr "ПРОГРАММНЫЕ ОШИБКИ"
526
527 #. FIXME . http://sourceware.org/bugzilla/show_bug.cgi?id=208
528 #. See the 24 Aug 2011 mail by Paul Pluzhnikov:
529 #. "[patch] Fix mallinfo() to accumulate results for all arenas"
530 #. on [email protected]
531 #. type: Plain text
532 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
533 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
534 msgid ""
535 "B<Information is returned for only the main memory allocation area.> "
536 "Allocations in other arenas are excluded. See B<malloc_stats>(3) and "
537 "B<malloc_info>(3) for alternatives that include information about other "
538 "arenas."
539 msgstr ""
540 "B<Информация возвращается только для главной области выделяемой памяти.> "
541 "Выделение в других областях не учитываются. Альтернативой, возвращаемой "
542 "информацию о других частях, являются B<malloc_stats>(3) и B<malloc_info>(3)."
543
544 #. type: Plain text
545 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
546 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
547 #, fuzzy
548 #| msgid ""
549 #| "The fields of the I<mallinfo> structure are typed as I<int>. However, "
550 #| "because some internal bookkeeping values may be of type I<long>, the "
551 #| "reported values may wrap around zero and thus be inaccurate."
552 msgid ""
553 "The fields of the I<mallinfo> structure that is returned by the older "
554 "B<mallinfo>() function are typed as I<int>. However, because some internal "
555 "bookkeeping values may be of type I<long>, the reported values may wrap "
556 "around zero and thus be inaccurate."
557 msgstr ""
558 "Поля структуры I<mallinfo> имеют тип I<int>. Однако, из-за того, что "
559 "некоторые внутренние значения поддержки (bookkeeping) могут иметь тип "
560 "I<long>, возвращаемые значения могут быть близкими к нулю и поэтому не точны."
561
562 #. type: SH
563 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
564 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
565 #, no-wrap
566 msgid "EXAMPLES"
567 msgstr "ПРИМЕРЫ"
568
569 #. type: Plain text
570 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
571 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
572 #, fuzzy
573 #| msgid ""
574 #| "The program below employs B<mallinfo>() to retrieve memory allocation "
575 #| "statistics before and after allocating and freeing some blocks of "
576 #| "memory. The statistics are displayed on standard output."
577 msgid ""
578 "The program below employs B<mallinfo2>() to retrieve memory allocation "
579 "statistics before and after allocating and freeing some blocks of memory. "
580 "The statistics are displayed on standard output."
581 msgstr ""
582 "Программа, представленная ниже, вызывает B<mallinfo>() для получения "
583 "статистики по выделенной памяти перед и после выделения и освобождения "
584 "нескольких блоков памяти. Статистика выдаётся в стандартный вывод."
585
586 #. type: Plain text
587 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
588 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
589 msgid ""
590 "The first two command-line arguments specify the number and size of blocks "
591 "to be allocated with B<malloc>(3)."
592 msgstr ""
593 "Первые два параметра командной строки определяют количество и размер блоков, "
594 "которые будут выделены с помощью B<malloc>(3)."
595
596 #. type: Plain text
597 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
598 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
599 msgid ""
600 "The remaining three arguments specify which of the allocated blocks should "
601 "be freed with B<free>(3). These three arguments are optional, and specify "
602 "(in order): the step size to be used in the loop that frees blocks (the "
603 "default is 1, meaning free all blocks in the range); the ordinal position of "
604 "the first block to be freed (default 0, meaning the first allocated block); "
605 "and a number one greater than the ordinal position of the last block to be "
606 "freed (default is one greater than the maximum block number). If these "
607 "three arguments are omitted, then the defaults cause all allocated blocks to "
608 "be freed."
609 msgstr ""
610 "В оставшихся трёх аргументах задаётся какие из выделенных блоков должны быть "
611 "освобождены с помощью B<free>(3). Эти аргументы необязательны и определяют "
612 "(по порядку): размер шага, используемый в цикле освобождения блоков (по "
613 "умолчанию 1, что приводит к освобождению всех блоков диапазона); порядковая "
614 "позиция первого освобождаемого блока (по умолчанию 0, то есть первый "
615 "выделенный блок); номер, на единицу больший порядковой позиции последнего "
616 "освобождаемого блока (по умолчанию, на единицу больше, чем максимальное "
617 "количество блоков). Если эти аргументы не указаны, то по умолчанию "
618 "освобождаются все выделенные блоки."
619
620 #. type: Plain text
621 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
622 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
623 msgid ""
624 "In the following example run of the program, 1000 allocations of 100 bytes "
625 "are performed, and then every second allocated block is freed:"
626 msgstr ""
627 "Пример запуска программы, где память выделяется 1000 раз по 100 байт, а "
628 "затем освобождается каждый второй выделенный блок:"
629
630 #. type: Plain text
631 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
632 #: opensuse-tumbleweed
633 #, no-wrap
634 msgid ""
635 "$B< ./a.out 1000 100 2>;\n"
636 "============== Before allocating blocks ==============\n"
637 "Total non-mmapped bytes (arena): 0\n"
638 "# of free chunks (ordblks): 1\n"
639 "# of free fastbin blocks (smblks): 0\n"
640 "# of mapped regions (hblks): 0\n"
641 "Bytes in mapped regions (hblkhd): 0\n"
642 "Max.\\& total allocated space (usmblks): 0\n"
643 "Free bytes held in fastbins (fsmblks): 0\n"
644 "Total allocated space (uordblks): 0\n"
645 "Total free space (fordblks): 0\n"
646 "Topmost releasable block (keepcost): 0\n"
647 "\\&\n"
648 "============== After allocating blocks ==============\n"
649 "Total non-mmapped bytes (arena): 135168\n"
650 "# of free chunks (ordblks): 1\n"
651 "# of free fastbin blocks (smblks): 0\n"
652 "# of mapped regions (hblks): 0\n"
653 "Bytes in mapped regions (hblkhd): 0\n"
654 "Max.\\& total allocated space (usmblks): 0\n"
655 "Free bytes held in fastbins (fsmblks): 0\n"
656 "Total allocated space (uordblks): 104000\n"
657 "Total free space (fordblks): 31168\n"
658 "Topmost releasable block (keepcost): 31168\n"
659 "\\&\n"
660 "============== After freeing blocks ==============\n"
661 "Total non-mmapped bytes (arena): 135168\n"
662 "# of free chunks (ordblks): 501\n"
663 "# of free fastbin blocks (smblks): 0\n"
664 "# of mapped regions (hblks): 0\n"
665 "Bytes in mapped regions (hblkhd): 0\n"
666 "Max.\\& total allocated space (usmblks): 0\n"
667 "Free bytes held in fastbins (fsmblks): 0\n"
668 "Total allocated space (uordblks): 52000\n"
669 "Total free space (fordblks): 83168\n"
670 "Topmost releasable block (keepcost): 31168\n"
671 msgstr ""
672
673 #. type: SS
674 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
675 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
676 #, no-wrap
677 msgid "Program source"
678 msgstr "Исходный код программы"
679
680 #. type: Plain text
681 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
682 #, no-wrap
683 msgid ""
684 "#include E<lt>malloc.hE<gt>\n"
685 "#include E<lt>stdlib.hE<gt>\n"
686 "#include E<lt>string.hE<gt>\n"
687 "\\&\n"
688 "#define streq(...) (strcmp(__VA_ARGS__) == 0)\n"
689 "\\&\n"
690 "static void\n"
691 "display_mallinfo2(void)\n"
692 "{\n"
693 " struct mallinfo2 mi;\n"
694 "\\&\n"
695 " mi = mallinfo2();\n"
696 "\\&\n"
697 " printf(\"Total non-mmapped bytes (arena): %zu\\[rs]n\", mi.arena);\n"
698 " printf(\"# of free chunks (ordblks): %zu\\[rs]n\", mi.ordblks);\n"
699 " printf(\"# of free fastbin blocks (smblks): %zu\\[rs]n\", mi.smblks);\n"
700 " printf(\"# of mapped regions (hblks): %zu\\[rs]n\", mi.hblks);\n"
701 " printf(\"Bytes in mapped regions (hblkhd): %zu\\[rs]n\", mi.hblkhd);\n"
702 " printf(\"Max.\\& total allocated space (usmblks): %zu\\[rs]n\", mi.usmblks);\n"
703 " printf(\"Free bytes held in fastbins (fsmblks): %zu\\[rs]n\", mi.fsmblks);\n"
704 " printf(\"Total allocated space (uordblks): %zu\\[rs]n\", mi.uordblks);\n"
705 " printf(\"Total free space (fordblks): %zu\\[rs]n\", mi.fordblks);\n"
706 " printf(\"Topmost releasable block (keepcost): %zu\\[rs]n\", mi.keepcost);\n"
707 "}\n"
708 "\\&\n"
709 "int\n"
710 "main(int argc, char *argv[])\n"
711 "{\n"
712 "#define MAX_ALLOCS 500000\n"
713 " char *alloc[MAX_ALLOCS];\n"
714 " size_t blockSize, numBlocks, freeBegin, freeEnd, freeStep;\n"
715 "\\&\n"
716 " if (argc E<lt> 3 || streq(argv[1], \"--help\")) {\n"
717 " fprintf(stderr, \"%s num-blocks block-size [free-step \"\n"
718 " \"[start-free [end-free]]]\\[rs]n\", argv[0]);\n"
719 " exit(EXIT_FAILURE);\n"
720 " }\n"
721 "\\&\n"
722 " numBlocks = atoi(argv[1]);\n"
723 " blockSize = atoi(argv[2]);\n"
724 " freeStep = (argc E<gt> 3) ? atoi(argv[3]) : 1;\n"
725 " freeBegin = (argc E<gt> 4) ? atoi(argv[4]) : 0;\n"
726 " freeEnd = (argc E<gt> 5) ? atoi(argv[5]) : numBlocks;\n"
727 "\\&\n"
728 " printf(\"============== Before allocating blocks ==============\\[rs]n\");\n"
729 " display_mallinfo2();\n"
730 "\\&\n"
731 " for (size_t j = 0; j E<lt> numBlocks; j++) {\n"
732 " if (numBlocks E<gt>= MAX_ALLOCS) {\n"
733 " fprintf(stderr, \"Too many allocations\\[rs]n\");\n"
734 " exit(EXIT_FAILURE);\n"
735 " }\n"
736 "\\&\n"
737 " alloc[j] = malloc(blockSize);\n"
738 " if (alloc[j] == NULL) {\n"
739 " perror(\"malloc\");\n"
740 " exit(EXIT_FAILURE);\n"
741 " }\n"
742 " }\n"
743 "\\&\n"
744 " printf(\"\\[rs]n============== After allocating blocks ==============\\[rs]n\");\n"
745 " display_mallinfo2();\n"
746 "\\&\n"
747 " for (size_t j = freeBegin; j E<lt> freeEnd; j += freeStep)\n"
748 " free(alloc[j]);\n"
749 "\\&\n"
750 " printf(\"\\[rs]n============== After freeing blocks ==============\\[rs]n\");\n"
751 " display_mallinfo2();\n"
752 "\\&\n"
753 " exit(EXIT_SUCCESS);\n"
754 "}\n"
755 msgstr ""
756
757 #. SRC END
758 #. type: SH
759 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
760 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
761 #, no-wrap
762 msgid "SEE ALSO"
763 msgstr "СМОТРИТЕ ТАКЖЕ"
764
765 #. type: Plain text
766 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
767 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
768 msgid ""
769 "B<mmap>(2), B<malloc>(3), B<malloc_info>(3), B<malloc_stats>(3), "
770 "B<malloc_trim>(3), B<mallopt>(3)"
771 msgstr ""
772 "B<mmap>(2), B<malloc>(3), B<malloc_info>(3), B<malloc_stats>(3), "
773 "B<malloc_trim>(3), B<mallopt>(3)"
774
775 #. type: TH
776 #: debian-trixie
777 #, no-wrap
778 msgid "2024-06-15"
779 msgstr "15 июня 2024 г."
780
781 #. type: TH
782 #: debian-trixie
783 #, no-wrap
784 msgid "Linux man-pages 6.9.1"
785 msgstr "Страницы руководства Linux 6.9.1"
786
787 #. type: Plain text
788 #: debian-trixie
789 msgid "Standard C library (I<libc>, I<-lc>)"
790 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
791
792 #. type: Plain text
793 #: debian-trixie fedora-44 fedora-rawhide
794 #, no-wrap
795 msgid ""
796 "$ B<./a.out 1000 100 2>\n"
797 "============== Before allocating blocks ==============\n"
798 "Total non-mmapped bytes (arena): 0\n"
799 "# of free chunks (ordblks): 1\n"
800 "# of free fastbin blocks (smblks): 0\n"
801 "# of mapped regions (hblks): 0\n"
802 "Bytes in mapped regions (hblkhd): 0\n"
803 "Max. total allocated space (usmblks): 0\n"
804 "Free bytes held in fastbins (fsmblks): 0\n"
805 "Total allocated space (uordblks): 0\n"
806 "Total free space (fordblks): 0\n"
807 "Topmost releasable block (keepcost): 0\n"
808 "\\&\n"
809 "============== After allocating blocks ==============\n"
810 "Total non-mmapped bytes (arena): 135168\n"
811 "# of free chunks (ordblks): 1\n"
812 "# of free fastbin blocks (smblks): 0\n"
813 "# of mapped regions (hblks): 0\n"
814 "Bytes in mapped regions (hblkhd): 0\n"
815 "Max. total allocated space (usmblks): 0\n"
816 "Free bytes held in fastbins (fsmblks): 0\n"
817 "Total allocated space (uordblks): 104000\n"
818 "Total free space (fordblks): 31168\n"
819 "Topmost releasable block (keepcost): 31168\n"
820 "\\&\n"
821 "============== After freeing blocks ==============\n"
822 "Total non-mmapped bytes (arena): 135168\n"
823 "# of free chunks (ordblks): 501\n"
824 "# of free fastbin blocks (smblks): 0\n"
825 "# of mapped regions (hblks): 0\n"
826 "Bytes in mapped regions (hblkhd): 0\n"
827 "Max. total allocated space (usmblks): 0\n"
828 "Free bytes held in fastbins (fsmblks): 0\n"
829 "Total allocated space (uordblks): 52000\n"
830 "Total free space (fordblks): 83168\n"
831 "Topmost releasable block (keepcost): 31168\n"
832 msgstr ""
833
834 #. type: Plain text
835 #: debian-trixie fedora-44 fedora-rawhide
836 #, no-wrap
837 msgid ""
838 "#include E<lt>malloc.hE<gt>\n"
839 "#include E<lt>stdlib.hE<gt>\n"
840 "#include E<lt>string.hE<gt>\n"
841 "\\&\n"
842 "static void\n"
843 "display_mallinfo2(void)\n"
844 "{\n"
845 " struct mallinfo2 mi;\n"
846 "\\&\n"
847 " mi = mallinfo2();\n"
848 "\\&\n"
849 " printf(\"Total non-mmapped bytes (arena): %zu\\[rs]n\", mi.arena);\n"
850 " printf(\"# of free chunks (ordblks): %zu\\[rs]n\", mi.ordblks);\n"
851 " printf(\"# of free fastbin blocks (smblks): %zu\\[rs]n\", mi.smblks);\n"
852 " printf(\"# of mapped regions (hblks): %zu\\[rs]n\", mi.hblks);\n"
853 " printf(\"Bytes in mapped regions (hblkhd): %zu\\[rs]n\", mi.hblkhd);\n"
854 " printf(\"Max. total allocated space (usmblks): %zu\\[rs]n\", mi.usmblks);\n"
855 " printf(\"Free bytes held in fastbins (fsmblks): %zu\\[rs]n\", mi.fsmblks);\n"
856 " printf(\"Total allocated space (uordblks): %zu\\[rs]n\", mi.uordblks);\n"
857 " printf(\"Total free space (fordblks): %zu\\[rs]n\", mi.fordblks);\n"
858 " printf(\"Topmost releasable block (keepcost): %zu\\[rs]n\", mi.keepcost);\n"
859 "}\n"
860 "\\&\n"
861 "int\n"
862 "main(int argc, char *argv[])\n"
863 "{\n"
864 "#define MAX_ALLOCS 2000000\n"
865 " char *alloc[MAX_ALLOCS];\n"
866 " size_t blockSize, numBlocks, freeBegin, freeEnd, freeStep;\n"
867 "\\&\n"
868 " if (argc E<lt> 3 || strcmp(argv[1], \"--help\") == 0) {\n"
869 " fprintf(stderr, \"%s num-blocks block-size [free-step \"\n"
870 " \"[start-free [end-free]]]\\[rs]n\", argv[0]);\n"
871 " exit(EXIT_FAILURE);\n"
872 " }\n"
873 "\\&\n"
874 " numBlocks = atoi(argv[1]);\n"
875 " blockSize = atoi(argv[2]);\n"
876 " freeStep = (argc E<gt> 3) ? atoi(argv[3]) : 1;\n"
877 " freeBegin = (argc E<gt> 4) ? atoi(argv[4]) : 0;\n"
878 " freeEnd = (argc E<gt> 5) ? atoi(argv[5]) : numBlocks;\n"
879 "\\&\n"
880 " printf(\"============== Before allocating blocks ==============\\[rs]n\");\n"
881 " display_mallinfo2();\n"
882 "\\&\n"
883 " for (size_t j = 0; j E<lt> numBlocks; j++) {\n"
884 " if (numBlocks E<gt>= MAX_ALLOCS) {\n"
885 " fprintf(stderr, \"Too many allocations\\[rs]n\");\n"
886 " exit(EXIT_FAILURE);\n"
887 " }\n"
888 "\\&\n"
889 " alloc[j] = malloc(blockSize);\n"
890 " if (alloc[j] == NULL) {\n"
891 " perror(\"malloc\");\n"
892 " exit(EXIT_FAILURE);\n"
893 " }\n"
894 " }\n"
895 "\\&\n"
896 " printf(\"\\[rs]n============== After allocating blocks ==============\\[rs]n\");\n"
897 " display_mallinfo2();\n"
898 "\\&\n"
899 " for (size_t j = freeBegin; j E<lt> freeEnd; j += freeStep)\n"
900 " free(alloc[j]);\n"
901 "\\&\n"
902 " printf(\"\\[rs]n============== After freeing blocks ==============\\[rs]n\");\n"
903 " display_mallinfo2();\n"
904 "\\&\n"
905 " exit(EXIT_SUCCESS);\n"
906 "}\n"
907 msgstr ""
908
909 #. type: TH
910 #: fedora-44 fedora-rawhide
911 #, no-wrap
912 msgid "2024-07-23"
913 msgstr "23 июля 2024 г."
914
915 #. type: TH
916 #: fedora-44 fedora-rawhide
917 #, no-wrap
918 msgid "Linux man-pages 6.13"
919 msgstr "Страницы руководства Linux 6.13"
920
921 #. type: TH
922 #: mageia-cauldron
923 #, no-wrap
924 msgid "2026-02-08"
925 msgstr "8 февраля 2026 г."
926
927 #. type: TH
928 #: mageia-cauldron
929 #, no-wrap
930 msgid "Linux man-pages 6.17"
931 msgstr "Страницы руководства Linux 6.17"
932
933 #. type: Plain text
934 #: mageia-cauldron
935 #, no-wrap
936 msgid ""
937 "#include E<lt>malloc.hE<gt>\n"
938 "#include E<lt>stdlib.hE<gt>\n"
939 "#include E<lt>string.hE<gt>\n"
940 "\\&\n"
941 "static void\n"
942 "display_mallinfo2(void)\n"
943 "{\n"
944 " struct mallinfo2 mi;\n"
945 "\\&\n"
946 " mi = mallinfo2();\n"
947 "\\&\n"
948 " printf(\"Total non-mmapped bytes (arena): %zu\\[rs]n\", mi.arena);\n"
949 " printf(\"# of free chunks (ordblks): %zu\\[rs]n\", mi.ordblks);\n"
950 " printf(\"# of free fastbin blocks (smblks): %zu\\[rs]n\", mi.smblks);\n"
951 " printf(\"# of mapped regions (hblks): %zu\\[rs]n\", mi.hblks);\n"
952 " printf(\"Bytes in mapped regions (hblkhd): %zu\\[rs]n\", mi.hblkhd);\n"
953 " printf(\"Max.\\& total allocated space (usmblks): %zu\\[rs]n\", mi.usmblks);\n"
954 " printf(\"Free bytes held in fastbins (fsmblks): %zu\\[rs]n\", mi.fsmblks);\n"
955 " printf(\"Total allocated space (uordblks): %zu\\[rs]n\", mi.uordblks);\n"
956 " printf(\"Total free space (fordblks): %zu\\[rs]n\", mi.fordblks);\n"
957 " printf(\"Topmost releasable block (keepcost): %zu\\[rs]n\", mi.keepcost);\n"
958 "}\n"
959 "\\&\n"
960 "int\n"
961 "main(int argc, char *argv[])\n"
962 "{\n"
963 "#define MAX_ALLOCS 500000\n"
964 " char *alloc[MAX_ALLOCS];\n"
965 " size_t blockSize, numBlocks, freeBegin, freeEnd, freeStep;\n"
966 "\\&\n"
967 " if (argc E<lt> 3 || strcmp(argv[1], \"--help\") == 0) {\n"
968 " fprintf(stderr, \"%s num-blocks block-size [free-step \"\n"
969 " \"[start-free [end-free]]]\\[rs]n\", argv[0]);\n"
970 " exit(EXIT_FAILURE);\n"
971 " }\n"
972 "\\&\n"
973 " numBlocks = atoi(argv[1]);\n"
974 " blockSize = atoi(argv[2]);\n"
975 " freeStep = (argc E<gt> 3) ? atoi(argv[3]) : 1;\n"
976 " freeBegin = (argc E<gt> 4) ? atoi(argv[4]) : 0;\n"
977 " freeEnd = (argc E<gt> 5) ? atoi(argv[5]) : numBlocks;\n"
978 "\\&\n"
979 " printf(\"============== Before allocating blocks ==============\\[rs]n\");\n"
980 " display_mallinfo2();\n"
981 "\\&\n"
982 " for (size_t j = 0; j E<lt> numBlocks; j++) {\n"
983 " if (numBlocks E<gt>= MAX_ALLOCS) {\n"
984 " fprintf(stderr, \"Too many allocations\\[rs]n\");\n"
985 " exit(EXIT_FAILURE);\n"
986 " }\n"
987 "\\&\n"
988 " alloc[j] = malloc(blockSize);\n"
989 " if (alloc[j] == NULL) {\n"
990 " perror(\"malloc\");\n"
991 " exit(EXIT_FAILURE);\n"
992 " }\n"
993 " }\n"
994 "\\&\n"
995 " printf(\"\\[rs]n============== After allocating blocks ==============\\[rs]n\");\n"
996 " display_mallinfo2();\n"
997 "\\&\n"
998 " for (size_t j = freeBegin; j E<lt> freeEnd; j += freeStep)\n"
999 " free(alloc[j]);\n"
1000 "\\&\n"
1001 " printf(\"\\[rs]n============== After freeing blocks ==============\\[rs]n\");\n"
1002 " display_mallinfo2();\n"
1003 "\\&\n"
1004 " exit(EXIT_SUCCESS);\n"
1005 "}\n"
1006 msgstr ""
1007
1008 #. type: TH
1009 #: opensuse-leap-16-1 opensuse-tumbleweed
1010 #, no-wrap
1011 msgid "Linux man-pages (unreleased)"
1012 msgstr "Страницы руководства Linux (не выпущены)"