Debian Codegraph @

po/ru/man3/posix_memalign.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 # Alexey, 2016.
5 # Azamat Hackimov <[email protected]>, 2014-2017.
6 # kogamatranslator49 <[email protected]>, 2015.
7 # Darima Kogan <[email protected]>, 2014.
8 # Max Is <[email protected]>, 2016.
9 # Yuri Kozlov <[email protected]>, 2011-2019.
10 # Иван Павлов <[email protected]>, 2017.
11 msgid ""
12 msgstr ""
13 "Project-Id-Version: manpages-l10n\n"
14 "POT-Creation-Date: 2026-06-05 06:35+0200\n"
15 "PO-Revision-Date: 2024-12-21 19:50+0300\n"
16 "Last-Translator: Yuri Kozlov <[email protected]>\n"
17 "Language-Team: Russian <[email protected]>\n"
18 "Language: ru\n"
19 "MIME-Version: 1.0\n"
20 "Content-Type: text/plain; charset=UTF-8\n"
21 "Content-Transfer-Encoding: 8bit\n"
22 "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
23 "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
24 "(n%100>=11 && n%100<=14)? 2 : 3);\n"
25 "X-Generator: Lokalize 2.0\n"
26
27 #. type: TH
28 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
29 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
30 #, fuzzy, no-wrap
31 #| msgid "B<posix_memalign>()"
32 msgid "posix_memalign"
33 msgstr "B<posix_memalign>()"
34
35 #. type: TH
36 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
37 #: opensuse-tumbleweed
38 #, no-wrap
39 msgid "2026-02-08"
40 msgstr "8 февраля 2026 г."
41
42 #. type: TH
43 #: archlinux debian-unstable
44 #, fuzzy, no-wrap
45 #| msgid "Linux man-pages 6.17"
46 msgid "Linux man-pages 6.18"
47 msgstr "Справочные страницы Linux 6.17"
48
49 #. type: SH
50 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
51 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
52 #, no-wrap
53 msgid "NAME"
54 msgstr "НАИМЕНОВАНИЕ"
55
56 #. type: Plain text
57 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
58 #: opensuse-tumbleweed
59 #, fuzzy
60 #| msgid ""
61 #| "posix_memalign, aligned_alloc, memalign, valloc, pvalloc - allocate "
62 #| "aligned memory"
63 msgid "posix_memalign - allocate aligned memory"
64 msgstr ""
65 "posix_memalign, aligned_alloc, memalign, valloc, pvalloc - выделяет "
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>stdlib.hE<gt>>\n"
93 msgstr "B<#include E<lt>stdlib.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<void *memset(void >I<s>B<[.>I<n>B<], int >I<c>B<, size_t >I<n>B<);>\n"
100 msgid "B<int posix_memalign(void **>I<memptr>B<, size_t >I<alignment>B<, size_t >I<size>B<);>\n"
101 msgstr "B<void *memset(void >I<s>B<[.>I<n>B<], int >I<c>B<, size_t >I<n>B<);>\n"
102
103 #. type: Plain text
104 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
105 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
106 msgid ""
107 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
108 msgstr ""
109 "Требования макроса тестирования свойств для glibc (см. "
110 "B<feature_test_macros>(7)):"
111
112 #. type: Plain text
113 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
114 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
115 #, fuzzy
116 #| msgid "B<posix_memalign>()"
117 msgid "B<posix_memalign>():"
118 msgstr "B<posix_memalign>()"
119
120 #. type: Plain text
121 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
122 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
123 #, no-wrap
124 msgid " _POSIX_C_SOURCE E<gt>= 200112L\n"
125 msgstr " _POSIX_C_SOURCE E<gt>= 200112L\n"
126
127 #. type: SH
128 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
129 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
130 #, no-wrap
131 msgid "DESCRIPTION"
132 msgstr "ОПИСАНИЕ"
133
134 #. glibc does this:
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 ""
140 #| "The function B<posix_memalign>() allocates I<size> bytes and places the "
141 #| "address of the allocated memory in I<*memptr>. The address of the "
142 #| "allocated memory will be a multiple of I<alignment>, which must be a "
143 #| "power of two and a multiple of I<sizeof(void\\ *)>. If I<size> is 0, "
144 #| "then the value placed in I<*memptr> is either NULL, or a unique pointer "
145 #| "value that can later be successfully passed to B<free>(3)."
146 msgid ""
147 "B<posix_memalign>() allocates I<size> bytes and places the address of the "
148 "allocated memory in I<*memptr>. The address of the allocated memory will be "
149 "a multiple of I<alignment>, which must be a power of two and a multiple of "
150 "I<sizeof(void\\ *)>. This address can later be successfully passed to "
151 "B<free>(3). If I<size> is 0, then the value placed in I<*memptr> is either "
152 "NULL or a unique pointer value."
153 msgstr ""
154 "Функция B<posix_memalign>() выделяет I<size> байт и помещает адрес "
155 "выделенной памяти в I<*memptr>. Этот адрес будет кратен значению "
156 "I<alignment>, которое должно быть степенью двойки и кратно I<sizeof(void\\ "
157 "*)>. Если I<size> равно 0, то значение, помещаемое в I<*memptr>, равно NULL, "
158 "или является уникальным значением указателя, который позднее можно "
159 "передавать в B<free>(3)."
160
161 #. type: Plain text
162 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
163 #: opensuse-tumbleweed
164 #, fuzzy
165 #| msgid "For all of these functions, the memory is not zeroed."
166 msgid "The memory is not zeroed."
167 msgstr "Эти функции не обнуляют выделяемую память."
168
169 #. type: Plain text
170 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
171 #: opensuse-tumbleweed
172 msgid ""
173 "B<aligned_alloc>(3) is a standard function that provides the same "
174 "functionality, and has a more ergonomic prototype. Use that instead."
175 msgstr ""
176
177 #. type: SH
178 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
179 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
180 #, no-wrap
181 msgid "RETURN VALUE"
182 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
183
184 #. type: Plain text
185 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
186 #: opensuse-tumbleweed
187 #, fuzzy
188 #| msgid ""
189 #| "B<posix_memalign>() returns zero on success, or one of the error values "
190 #| "listed in the next section on failure. The value of I<errno> is not "
191 #| "set. On Linux (and other systems), B<posix_memalign>() does not modify "
192 #| "I<memptr> on failure. A requirement standardizing this behavior was "
193 #| "added in POSIX.1-2016."
194 msgid ""
195 "B<posix_memalign>() returns zero on success, or one of the error values "
196 "listed in the next section on failure. The value of I<errno> is not set."
197 msgstr ""
198 "При успешном выполнении функция B<posix_memalign>() возвращает ноль и одно "
199 "из значений, перечисленных в далее, при ошибке. Значение I<errno> не "
200 "изменяется. В Linux (и других системах) B<posix_memalign>() при ошибке не "
201 "изменяет I<memptr>. Требование стандартизации такого поведения было "
202 "добавлено в POSIX.1-2016."
203
204 #. type: SH
205 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
206 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
207 #, no-wrap
208 msgid "ERRORS"
209 msgstr "ОШИБКИ"
210
211 #. type: TP
212 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
213 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
214 #, no-wrap
215 msgid "B<EINVAL>"
216 msgstr "B<EINVAL>"
217
218 #. type: Plain text
219 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
220 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
221 msgid ""
222 "The I<alignment> argument was not a power of two, or was not a multiple of "
223 "I<sizeof(void\\ *)>."
224 msgstr ""
225 "Аргумент I<alignment> не является степенью двойки или не кратен "
226 "I<sizeof(void\\ *)>."
227
228 #. type: TP
229 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
230 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
231 #, no-wrap
232 msgid "B<ENOMEM>"
233 msgstr "B<ENOMEM>"
234
235 #. type: Plain text
236 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
237 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
238 msgid "Out of memory."
239 msgstr "Не хватает памяти."
240
241 #. type: SH
242 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
243 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
244 #, no-wrap
245 msgid "ATTRIBUTES"
246 msgstr "АТРИБУТЫ"
247
248 #. type: Plain text
249 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
250 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
251 msgid ""
252 "For an explanation of the terms used in this section, see B<attributes>(7)."
253 msgstr "Описание терминов данного раздела смотрите в B<attributes>(7)."
254
255 #. type: tbl table
256 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
257 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
258 #, no-wrap
259 msgid "Interface"
260 msgstr "Интерфейс"
261
262 #. type: tbl table
263 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
264 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
265 #, no-wrap
266 msgid "Attribute"
267 msgstr "Атрибут"
268
269 #. type: tbl table
270 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
271 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
272 #, no-wrap
273 msgid "Value"
274 msgstr "Значение"
275
276 #. type: tbl table
277 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
278 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
279 #, no-wrap
280 msgid ".na\n"
281 msgstr ".na\n"
282
283 #. type: tbl table
284 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
285 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
286 #, no-wrap
287 msgid ".nh\n"
288 msgstr ".nh\n"
289
290 #. #-#-#-#-# archlinux: posix_memalign.3.pot (PACKAGE VERSION) #-#-#-#-#
291 #. type: tbl table
292 #. #-#-#-#-# debian-trixie: posix_memalign.3.pot (PACKAGE VERSION) #-#-#-#-#
293 #. type: TP
294 #. #-#-#-#-# debian-unstable: posix_memalign.3.pot (PACKAGE VERSION) #-#-#-#-#
295 #. type: tbl table
296 #. #-#-#-#-# fedora-44: posix_memalign.3.pot (PACKAGE VERSION) #-#-#-#-#
297 #. type: TP
298 #. #-#-#-#-# fedora-rawhide: posix_memalign.3.pot (PACKAGE VERSION) #-#-#-#-#
299 #. type: TP
300 #. #-#-#-#-# mageia-cauldron: posix_memalign.3.pot (PACKAGE VERSION) #-#-#-#-#
301 #. type: tbl table
302 #. #-#-#-#-# opensuse-leap-16-1: posix_memalign.3.pot (PACKAGE VERSION) #-#-#-#-#
303 #. type: tbl table
304 #. #-#-#-#-# opensuse-tumbleweed: posix_memalign.3.pot (PACKAGE VERSION) #-#-#-#-#
305 #. type: tbl table
306 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
307 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
308 #, no-wrap
309 msgid "B<posix_memalign>()"
310 msgstr "B<posix_memalign>()"
311
312 #. type: tbl table
313 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
314 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
315 #, no-wrap
316 msgid "Thread safety"
317 msgstr "Безвредность в нитях"
318
319 #. type: tbl table
320 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
321 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
322 #, no-wrap
323 msgid "MT-Safe"
324 msgstr "MT-Safe"
325
326 #. type: SH
327 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
328 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
329 #, no-wrap
330 msgid "STANDARDS"
331 msgstr "СТАНДАРТЫ"
332
333 #. type: Plain text
334 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
335 #: opensuse-tumbleweed
336 msgid "POSIX.1-2024."
337 msgstr "POSIX.1-2024."
338
339 #. type: SH
340 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
341 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
342 #, no-wrap
343 msgid "HISTORY"
344 msgstr "ИСТОРИЯ"
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 #, fuzzy
350 #| msgid "glibc 2.1. C99, POSIX.1-2001."
351 msgid "glibc 2.1.91. POSIX.1d, POSIX.1-2001."
352 msgstr "glibc 2.1. C99, POSIX.1-2001."
353
354 #. type: SH
355 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
356 #: opensuse-tumbleweed
357 #, no-wrap
358 msgid "CAVEATS"
359 msgstr ""
360
361 #. http://austingroupbugs.net/view.php?id=520
362 #. type: Plain text
363 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
364 #: opensuse-tumbleweed
365 #, fuzzy
366 #| msgid ""
367 #| "B<posix_memalign>() returns zero on success, or one of the error values "
368 #| "listed in the next section on failure. The value of I<errno> is not "
369 #| "set. On Linux (and other systems), B<posix_memalign>() does not modify "
370 #| "I<memptr> on failure. A requirement standardizing this behavior was "
371 #| "added in POSIX.1-2016."
372 msgid ""
373 "On Linux (and other systems), B<posix_memalign>() does not modify I<memptr> "
374 "on failure. A requirement standardizing this behavior was added in "
375 "POSIX.1-2008 TC2."
376 msgstr ""
377 "При успешном выполнении функция B<posix_memalign>() возвращает ноль и одно "
378 "из значений, перечисленных в далее, при ошибке. Значение I<errno> не "
379 "изменяется. В Linux (и других системах) B<posix_memalign>() при ошибке не "
380 "изменяет I<memptr>. Требование стандартизации такого поведения было "
381 "добавлено в POSIX.1-2016."
382
383 #. type: SH
384 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
385 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
386 #, no-wrap
387 msgid "SEE ALSO"
388 msgstr "СМОТРИТЕ ТАКЖЕ"
389
390 #. type: Plain text
391 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
392 #: opensuse-tumbleweed
393 #, fuzzy
394 #| msgid "B<aligned_alloc>(),\n"
395 msgid "B<aligned_alloc>(3)"
396 msgstr "B<aligned_alloc>(),\n"
397
398 #. type: TH
399 #: debian-trixie
400 #, no-wrap
401 msgid "2024-05-02"
402 msgstr "2 мая 2024 г."
403
404 #. type: TH
405 #: debian-trixie
406 #, no-wrap
407 msgid "Linux man-pages 6.9.1"
408 msgstr "Страницы руководства Linux 6.9.1"
409
410 #. type: Plain text
411 #: debian-trixie fedora-44 fedora-rawhide
412 msgid ""
413 "posix_memalign, aligned_alloc, memalign, valloc, pvalloc - allocate aligned "
414 "memory"
415 msgstr ""
416 "posix_memalign, aligned_alloc, memalign, valloc, pvalloc - выделяет "
417 "выровненную область памяти"
418
419 #. type: Plain text
420 #: debian-trixie
421 msgid "Standard C library (I<libc>, I<-lc>)"
422 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
423
424 #. type: Plain text
425 #: debian-trixie fedora-44 fedora-rawhide
426 #, fuzzy, no-wrap
427 #| msgid ""
428 #| "B<int posix_memalign(void **>I<memptr>B<, size_t >I<alignment>B<, size_t >I<size>B<);>\n"
429 #| "B<void *aligned_alloc(size_t >I<alignment>B<, size_t >I<size>B<);>\n"
430 #| "B<void *valloc(size_t >I<size>B<);>\n"
431 msgid ""
432 "B<int posix_memalign(void **>I<memptr>B<, size_t >I<alignment>B<, size_t >I<size>B<);>\n"
433 "B<void *aligned_alloc(size_t >I<alignment>B<, size_t >I<size>B<);>\n"
434 "B<[[deprecated]] void *valloc(size_t >I<size>B<);>\n"
435 msgstr ""
436 "B<int posix_memalign(void **>I<memptr>B<, size_t >I<alignment>B<, size_t >I<size>B<);>\n"
437 "B<void *aligned_alloc(size_t >I<alignment>B<, size_t >I<size>B<);>\n"
438 "B<void *valloc(size_t >I<size>B<);>\n"
439
440 #. type: Plain text
441 #: debian-trixie fedora-44 fedora-rawhide
442 #, no-wrap
443 msgid "B<#include E<lt>malloc.hE<gt>>\n"
444 msgstr "B<#include E<lt>malloc.hE<gt>>\n"
445
446 #. type: Plain text
447 #: debian-trixie fedora-44 fedora-rawhide
448 #, fuzzy, no-wrap
449 #| msgid ""
450 #| "B<void *memalign(size_t >I<alignment>B<, size_t >I<size>B<);>\n"
451 #| "B<void *pvalloc(size_t >I<size>B<);>\n"
452 msgid ""
453 "B<[[deprecated]] void *memalign(size_t >I<alignment>B<, size_t >I<size>B<);>\n"
454 "B<[[deprecated]] void *pvalloc(size_t >I<size>B<);>\n"
455 msgstr ""
456 "B<void *memalign(size_t >I<alignment>B<, size_t >I<size>B<);>\n"
457 "B<void *pvalloc(size_t >I<size>B<);>\n"
458
459 #. type: Plain text
460 #: debian-trixie fedora-44 fedora-rawhide
461 #, fuzzy
462 #| msgid "B<aligned_alloc>(),\n"
463 msgid "B<aligned_alloc>():"
464 msgstr "B<aligned_alloc>(),\n"
465
466 #. type: Plain text
467 #: debian-trixie fedora-44 fedora-rawhide
468 #, fuzzy, no-wrap
469 #| msgid " _GNU_SOURCE\n"
470 msgid " _ISOC11_SOURCE\n"
471 msgstr " _GNU_SOURCE\n"
472
473 #. type: Plain text
474 #: debian-trixie fedora-44 fedora-rawhide
475 msgid "B<valloc>():"
476 msgstr "B<valloc>():"
477
478 #. || _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED
479 #. type: Plain text
480 #: debian-trixie fedora-44 fedora-rawhide
481 #, fuzzy, no-wrap
482 #| msgid ""
483 #| "(_XOPEN_SOURCE\\ E<gt>=\\ 500) && !(_POSIX_C_SOURCE\\ E<gt>=\\ 200112L)\n"
484 #| " || /* Glibc since 2.19: */ _DEFAULT_SOURCE\n"
485 #| " || /* Glibc versions E<lt>= 2.19: */ _SVID_SOURCE || _BSD_SOURCE\n"
486 msgid ""
487 " Since glibc 2.12:\n"
488 " (_XOPEN_SOURCE E<gt>= 500) && !(_POSIX_C_SOURCE E<gt>= 200112L)\n"
489 " || /* glibc E<gt>= 2.19: */ _DEFAULT_SOURCE\n"
490 " || /* glibc E<lt>= 2.19: */ _SVID_SOURCE || _BSD_SOURCE\n"
491 " Before glibc 2.12:\n"
492 " _BSD_SOURCE || _XOPEN_SOURCE E<gt>= 500\n"
493 msgstr ""
494 "(_XOPEN_SOURCE\\ E<gt>=\\ 500) && !(_POSIX_C_SOURCE\\ E<gt>=\\ 200112L)\n"
495 " || /* начиная с glibc 2.19: */ _DEFAULT_SOURCE\n"
496 " || /* в версии glibc E<lt>= 2.19: */ _SVID_SOURCE || _BSD_SOURCE\n"
497
498 #. The behavior of memalign() for size==0 is as for posix_memalign()
499 #. but no standards govern this.
500 #. type: Plain text
501 #: debian-trixie fedora-44 fedora-rawhide
502 msgid ""
503 "The obsolete function B<memalign>() allocates I<size> bytes and returns a "
504 "pointer to the allocated memory. The memory address will be a multiple of "
505 "I<alignment>, which must be a power of two."
506 msgstr ""
507 "Устаревшая функция B<memalign>() выделяет I<size> байт и возвращает "
508 "указатель на выделенную память. Адрес памяти будет кратен значению "
509 "I<alignment>, которое должны быть степенью двойки."
510
511 #. type: Plain text
512 #: debian-trixie fedora-44 fedora-rawhide
513 #, fuzzy
514 #| msgid ""
515 #| "The function B<aligned_alloc>() is the same as B<memalign>(), except for "
516 #| "the added restriction that I<size> should be a multiple of I<alignment>."
517 msgid ""
518 "B<aligned_alloc>() is the same as B<memalign>(), except for the added "
519 "restriction that I<alignment> must be a power of two."
520 msgstr ""
521 "Функция B<aligned_alloc>() подобна B<memalign>(), но добавляет ограничение "
522 "для значения I<size>, которое должно быть кратно I<alignment>."
523
524 #. type: Plain text
525 #: debian-trixie fedora-44 fedora-rawhide
526 msgid ""
527 "The obsolete function B<valloc>() allocates I<size> bytes and returns a "
528 "pointer to the allocated memory. The memory address will be a multiple of "
529 "the page size. It is equivalent to I<memalign(sysconf(_SC_PAGESIZE),size)>."
530 msgstr ""
531 "Устаревшая функция B<valloc>() выделяет I<size> байт и возвращает указатель "
532 "на выделенную память. Адрес памяти будет кратен размеру страницы. Она "
533 "эквивалентна вызову I<memalign(sysconf(_SC_PAGESIZE),size)>."
534
535 #. type: Plain text
536 #: debian-trixie fedora-44 fedora-rawhide
537 msgid ""
538 "The obsolete function B<pvalloc>() is similar to B<valloc>(), but rounds "
539 "the size of the allocation up to the next multiple of the system page size."
540 msgstr ""
541 "Устаревшая функция B<pvalloc>() подобна B<valloc>(), но округляет выделяемый "
542 "размер до следующего кратного значения системной страницы."
543
544 #. type: Plain text
545 #: debian-trixie fedora-44 fedora-rawhide
546 msgid "For all of these functions, the memory is not zeroed."
547 msgstr "Эти функции не обнуляют выделяемую память."
548
549 #. type: Plain text
550 #: debian-trixie fedora-44 fedora-rawhide
551 #, fuzzy
552 #| msgid ""
553 #| "B<aligned_alloc>(), B<memalign>(), B<valloc>(), and B<pvalloc>() return "
554 #| "a pointer to the allocated memory on success. On error, NULL is "
555 #| "returned, and I<errno> is set to indicate the cause of the error."
556 msgid ""
557 "B<aligned_alloc>(), B<memalign>(), B<valloc>(), and B<pvalloc>() return a "
558 "pointer to the allocated memory on success. On error, NULL is returned, and "
559 "I<errno> is set to indicate the error."
560 msgstr ""
561 "Функции B<aligned_alloc>(), B<memalign>(), B<valloc>() и B<pvalloc>() при "
562 "успешном выполнении возвращают указатель на выделенную память. При ошибке "
563 "возвращается NULL, а I<errno> присваивается номер ошибки."
564
565 #. http://austingroupbugs.net/view.php?id=520
566 #. type: Plain text
567 #: debian-trixie fedora-44 fedora-rawhide
568 #, fuzzy
569 #| msgid ""
570 #| "B<posix_memalign>() returns zero on success, or one of the error values "
571 #| "listed in the next section on failure. The value of I<errno> is not "
572 #| "set. On Linux (and other systems), B<posix_memalign>() does not modify "
573 #| "I<memptr> on failure. A requirement standardizing this behavior was "
574 #| "added in POSIX.1-2016."
575 msgid ""
576 "B<posix_memalign>() returns zero on success, or one of the error values "
577 "listed in the next section on failure. The value of I<errno> is not set. "
578 "On Linux (and other systems), B<posix_memalign>() does not modify I<memptr> "
579 "on failure. A requirement standardizing this behavior was added in "
580 "POSIX.1-2008 TC2."
581 msgstr ""
582 "При успешном выполнении функция B<posix_memalign>() возвращает ноль и одно "
583 "из значений, перечисленных в далее, при ошибке. Значение I<errno> не "
584 "изменяется. В Linux (и других системах) B<posix_memalign>() при ошибке не "
585 "изменяет I<memptr>. Требование стандартизации такого поведения было "
586 "добавлено в POSIX.1-2016."
587
588 #. type: tbl table
589 #: debian-trixie fedora-44 fedora-rawhide
590 #, fuzzy, no-wrap
591 #| msgid ""
592 #| "I<posix_fadvise>()\n"
593 #| "I<posix_fallocate>()\n"
594 #| "I<posix_memalign>()\n"
595 #| "I<posix_madvise>()\n"
596 msgid ""
597 "B<aligned_alloc>(),\n"
598 "B<memalign>(),\n"
599 "B<posix_memalign>()"
600 msgstr ""
601 "I<posix_fadvise>()\n"
602 "I<posix_fallocate>()\n"
603 "I<posix_memalign>()\n"
604 "I<posix_madvise>()\n"
605
606 #. type: tbl table
607 #: debian-trixie fedora-44 fedora-rawhide
608 #, fuzzy, no-wrap
609 #| msgid "B<valloc>(),\n"
610 msgid ""
611 "B<valloc>(),\n"
612 "B<pvalloc>()"
613 msgstr "B<valloc>(),\n"
614
615 #. type: tbl table
616 #: debian-trixie fedora-44 fedora-rawhide
617 #, no-wrap
618 msgid "MT-Unsafe init"
619 msgstr "MT-Unsafe init"
620
621 #. type: TP
622 #: debian-trixie fedora-44 fedora-rawhide
623 #, fuzzy, no-wrap
624 #| msgid "B<aligned_alloc>(),\n"
625 msgid "B<aligned_alloc>()"
626 msgstr "B<aligned_alloc>(),\n"
627
628 #. type: Plain text
629 #: debian-trixie fedora-44 fedora-rawhide
630 msgid "C11."
631 msgstr ""
632
633 #. type: Plain text
634 #: debian-trixie fedora-44 fedora-rawhide
635 msgid "POSIX.1-2008."
636 msgstr "POSIX.1-2008."
637
638 #. type: TP
639 #: debian-trixie fedora-44 fedora-rawhide
640 #, fuzzy, no-wrap
641 #| msgid "B<memalign>(),\n"
642 msgid "B<memalign>()"
643 msgstr "B<memalign>(),\n"
644
645 #. type: TP
646 #: debian-trixie fedora-44 fedora-rawhide
647 #, fuzzy, no-wrap
648 #| msgid "B<valloc>():"
649 msgid "B<valloc>()"
650 msgstr "B<valloc>():"
651
652 #. type: Plain text
653 #: debian-trixie fedora-44 fedora-rawhide
654 msgid "None."
655 msgstr "Отсутствуют."
656
657 #. type: TP
658 #: debian-trixie fedora-44 fedora-rawhide
659 #, no-wrap
660 msgid "B<pvalloc>()"
661 msgstr "B<pvalloc>()"
662
663 #. type: Plain text
664 #: debian-trixie fedora-44 fedora-rawhide
665 msgid "GNU."
666 msgstr "GNU."
667
668 #. type: Plain text
669 #: debian-trixie fedora-44 fedora-rawhide
670 #, fuzzy
671 #| msgid "glibc 2.1. C99, POSIX.1-2001."
672 msgid "glibc 2.16. C11."
673 msgstr "glibc 2.1. C99, POSIX.1-2001."
674
675 #. type: Plain text
676 #: debian-trixie fedora-44 fedora-rawhide
677 msgid "glibc 2.0. SunOS 4.1.3."
678 msgstr ""
679
680 #. type: Plain text
681 #: debian-trixie fedora-44 fedora-rawhide
682 #, fuzzy
683 #| msgid ""
684 #| "The function B<valloc>() appeared in 3.0BSD. It is documented as being "
685 #| "obsolete in 4.3BSD, and as legacy in SUSv2. It does not appear in "
686 #| "POSIX.1."
687 msgid ""
688 "glibc 2.0. 3.0BSD. Documented as obsolete in 4.3BSD, and as legacy in "
689 "SUSv2."
690 msgstr ""
691 "Функция B<valloc>() появилась из 3.0BSD. Она описана как устаревшая в 4.3BSD "
692 "и в SUSv2. Отсутствует в POSIX.1."
693
694 #. type: Plain text
695 #: debian-trixie fedora-44 fedora-rawhide
696 msgid "glibc 2.0."
697 msgstr "glibc 2.0."
698
699 #. type: SS
700 #: debian-trixie fedora-44 fedora-rawhide
701 #, no-wrap
702 msgid "Headers"
703 msgstr "Заголовки"
704
705 #. type: Plain text
706 #: debian-trixie fedora-44 fedora-rawhide
707 msgid ""
708 "Everybody agrees that B<posix_memalign>() is declared in "
709 "I<E<lt>stdlib.hE<gt>>."
710 msgstr "Функция B<posix_memalign>() везде объявлена в I<E<lt>stdlib.hE<gt>>."
711
712 #. type: Plain text
713 #: debian-trixie fedora-44 fedora-rawhide
714 msgid ""
715 "On some systems B<memalign>() is declared in I<E<lt>stdlib.hE<gt>> instead "
716 "of I<E<lt>malloc.hE<gt>>."
717 msgstr ""
718 "В некоторых системах B<memalign>() объявлена в I<E<lt>stdlib.hE<gt>>, а не в "
719 "I<E<lt>malloc.hE<gt>>."
720
721 #. Libc4,5 and
722 #. type: Plain text
723 #: debian-trixie fedora-44 fedora-rawhide
724 #, fuzzy
725 #| msgid ""
726 #| "According to SUSv2, B<valloc>() is declared in I<E<lt>stdlib.hE<gt>>. "
727 #| "Libc4,5 and glibc declare it in I<E<lt>malloc.hE<gt>>, and also in "
728 #| "I<E<lt>stdlib.hE<gt>> if suitable feature test macros are defined (see "
729 #| "above)."
730 msgid ""
731 "According to SUSv2, B<valloc>() is declared in I<E<lt>stdlib.hE<gt>>. "
732 "glibc declares it in I<E<lt>malloc.hE<gt>>, and also in "
733 "I<E<lt>stdlib.hE<gt>> if suitable feature test macros are defined (see "
734 "above)."
735 msgstr ""
736 "В SUSv2 функция B<valloc>() объявлена в I<E<lt>stdlib.hE<gt>>. В Libc4,5 и "
737 "glibc она объявлена в I<E<lt>malloc.hE<gt>>, а также в "
738 "I<E<lt>stdlib.hE<gt>>, если определены соответствующие макросы тестирования "
739 "свойств (смотрите выше)."
740
741 #. type: SH
742 #: debian-trixie fedora-44 fedora-rawhide
743 #, no-wrap
744 msgid "NOTES"
745 msgstr "ПРИМЕЧАНИЯ"
746
747 #. type: Plain text
748 #: debian-trixie fedora-44 fedora-rawhide
749 msgid ""
750 "On many systems there are alignment restrictions, for example, on buffers "
751 "used for direct block device I/O. POSIX specifies the "
752 "I<pathconf(path,_PC_REC_XFER_ALIGN)> call that tells what alignment is "
753 "needed. Now one can use B<posix_memalign>() to satisfy this requirement."
754 msgstr ""
755 "Во многих системах накладываются ограничения по выравниванию, например, на "
756 "буферы, используемые для прямого ввода-вывода в блочные устройства. В POSIX "
757 "определён вызов I<pathconf(path,_PC_REC_XFER_ALIGN)>, показывающий "
758 "необходимость выравнивания. В настоящее время можно использовать "
759 "B<posix_memalign>() для удовлетворения этого требования."
760
761 #. type: Plain text
762 #: debian-trixie fedora-44 fedora-rawhide
763 msgid ""
764 "B<posix_memalign>() verifies that I<alignment> matches the requirements "
765 "detailed above. B<memalign>() may not check that the I<alignment> argument "
766 "is correct."
767 msgstr ""
768 "Функция B<posix_memalign>() проверяет, что I<alignment> удовлетворяет "
769 "требованиям, описанным выше. Функция B<memalign>() может не проверять "
770 "корректность аргумента I<alignment>."
771
772 #. Other systems allow passing the result of
773 #. .IR valloc ()
774 #. to
775 #. .IR free (3),
776 #. but not to
777 #. .IR realloc (3).
778 #. type: Plain text
779 #: debian-trixie fedora-44 fedora-rawhide
780 msgid ""
781 "POSIX requires that memory obtained from B<posix_memalign>() can be freed "
782 "using B<free>(3). Some systems provide no way to reclaim memory allocated "
783 "with B<memalign>() or B<valloc>() (because one can pass to B<free>(3) "
784 "only a pointer obtained from B<malloc>(3), while, for example, "
785 "B<memalign>() would call B<malloc>(3) and then align the obtained value). "
786 "The glibc implementation allows memory obtained from any of these functions "
787 "to be reclaimed with B<free>(3)."
788 msgstr ""
789 "В POSIX требуется, чтобы память, полученная через B<posix_memalign>(), могла "
790 "освобождаться с помощью B<free>(3). В некоторых системах отсутствует "
791 "механизм освобождения памяти, выделенной B<memalign>() или B<valloc>() (так "
792 "как в них во B<free>(3) передаётся только указатель, полученный из "
793 "B<malloc>(3), но, например, B<memalign>() выполняет вызов B<malloc>(3) и "
794 "затем выравнивает полученное значение). Реализация glibc позволяет "
795 "освобождать память, полученную через эти функции, с помощью B<free>(3)."
796
797 #. type: Plain text
798 #: debian-trixie fedora-44 fedora-rawhide
799 msgid ""
800 "The glibc B<malloc>(3) always returns 8-byte aligned memory addresses, so "
801 "these functions are needed only if you require larger alignment values."
802 msgstr ""
803 "Функция glibc B<malloc>(3) всегда возвращает адреса памяти, выровненные по 8-"
804 "байтовой границе, поэтому данные функции требуются только, если нужны "
805 "значения с большим выравниванием."
806
807 #. type: Plain text
808 #: debian-trixie fedora-44 fedora-rawhide
809 msgid "B<brk>(2), B<getpagesize>(2), B<free>(3), B<malloc>(3)"
810 msgstr "B<brk>(2), B<getpagesize>(2), B<free>(3), B<malloc>(3)"
811
812 #. type: TH
813 #: fedora-44 fedora-rawhide
814 #, no-wrap
815 msgid "2024-07-23"
816 msgstr "23 июля 2024 г."
817
818 #. type: TH
819 #: fedora-44 fedora-rawhide
820 #, no-wrap
821 msgid "Linux man-pages 6.13"
822 msgstr "Страницы руководства Linux 6.13"
823
824 #. type: TH
825 #: mageia-cauldron
826 #, no-wrap
827 msgid "Linux man-pages 6.17"
828 msgstr "Страницы руководства Linux 6.17"
829
830 #. type: TH
831 #: opensuse-leap-16-1 opensuse-tumbleweed
832 #, no-wrap
833 msgid "Linux man-pages (unreleased)"
834 msgstr "Страницы руководства Linux (не выпущены)"