Debian Codegraph @

po/ru/man3/random_r.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 # Azamat Hackimov <[email protected]>, 2013-2014, 2016.
6 # Dmitriy S. Seregin <[email protected]>, 2013.
7 # Katrin Kutepova <[email protected]>, 2018.
8 # Lockal <[email protected]>, 2013.
9 # Yuri Kozlov <[email protected]>, 2011-2019.
10 # Баринов Владимир, 2016.
11 # Иван Павлов <[email protected]>, 2017,2019.
12 msgid ""
13 msgstr ""
14 "Project-Id-Version: manpages-l10n\n"
15 "POT-Creation-Date: 2026-06-05 06:39+0200\n"
16 "PO-Revision-Date: 2024-12-21 19:50+0300\n"
17 "Last-Translator: Yuri Kozlov <[email protected]>\n"
18 "Language-Team: Russian <[email protected]>\n"
19 "Language: ru\n"
20 "MIME-Version: 1.0\n"
21 "Content-Type: text/plain; charset=UTF-8\n"
22 "Content-Transfer-Encoding: 8bit\n"
23 "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
24 "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
25 "(n%100>=11 && n%100<=14)? 2 : 3);\n"
26 "X-Generator: Lokalize 2.0\n"
27
28 #. type: TH
29 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
30 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
31 #, no-wrap
32 msgid "random_r"
33 msgstr ""
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-trixie debian-unstable fedora-44 fedora-rawhide
58 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
59 msgid ""
60 "random_r, srandom_r, initstate_r, setstate_r - reentrant random number "
61 "generator"
62 msgstr ""
63 "random_r, srandom_r, initstate_r, setstate_r - реентерабельный генератор "
64 "случайных чисел"
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>stdlib.hE<gt>>\n"
91 msgstr "B<#include E<lt>stdlib.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 ""
98 #| "B<int initstate_r(unsigned int >I<seed>B<, char *>I<statebuf>B<,>\n"
99 #| "B< size_t >I<statelen>B<, struct random_data *>I<buf>B<);>\n"
100 msgid ""
101 "B<int random_r(struct random_data *restrict >I<buf>B<,>\n"
102 "B< int32_t *restrict >I<result>B<);>\n"
103 "B<int srandom_r(unsigned int >I<seed>B<, struct random_data *>I<buf>B<);>\n"
104 msgstr ""
105 "B<int initstate_r(unsigned int >I<seed>B<, char *>I<statebuf>B<,>\n"
106 "B< size_t >I<statelen>B<, struct random_data *>I<buf>B<);>\n"
107
108 #. type: Plain text
109 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
110 #: opensuse-tumbleweed
111 #, fuzzy, no-wrap
112 #| msgid ""
113 #| "B<int initstate_r(unsigned int >I<seed>B<, char *>I<statebuf>B<,>\n"
114 #| "B< size_t >I<statelen>B<, struct random_data *>I<buf>B<);>\n"
115 msgid ""
116 "B<int initstate_r(unsigned int >I<seed>B<,>\n"
117 "B< char >I<statebuf>B<[restrict .>I<statelen>B<], size_t >I<statelen>B<,>\n"
118 "B< struct random_data *restrict >I<buf>B<);>\n"
119 "B<int setstate_r(char *restrict >I<statebuf>B<,>\n"
120 "B< struct random_data *restrict >I<buf>B<);>\n"
121 msgstr ""
122 "B<int initstate_r(unsigned int >I<seed>B<, char *>I<statebuf>B<,>\n"
123 "B< size_t >I<statelen>B<, struct random_data *>I<buf>B<);>\n"
124
125 #. type: Plain text
126 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
127 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
128 msgid ""
129 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
130 msgstr ""
131 "Требования макроса тестирования свойств для glibc (см. "
132 "B<feature_test_macros>(7)):"
133
134 #. type: Plain text
135 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
136 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
137 msgid "B<random_r>(), B<srandom_r>(), B<initstate_r>(), B<setstate_r>():"
138 msgstr "B<random_r>(), B<srandom_r>(), B<initstate_r>(), B<setstate_r>():"
139
140 #. type: Plain text
141 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
142 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
143 #, no-wrap
144 msgid ""
145 " /* glibc E<gt>= 2.19: */ _DEFAULT_SOURCE\n"
146 " || /* glibc E<lt>= 2.19: */ _SVID_SOURCE || _BSD_SOURCE\n"
147 msgstr ""
148 " /* glibc E<gt>= 2.19: */ _DEFAULT_SOURCE\n"
149 " || /* glibc E<lt>= 2.19: */ _SVID_SOURCE || _BSD_SOURCE\n"
150
151 #. type: SH
152 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
153 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
154 #, no-wrap
155 msgid "DESCRIPTION"
156 msgstr "ОПИСАНИЕ"
157
158 #. type: Plain text
159 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
160 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
161 msgid ""
162 "These functions are the reentrant equivalents of the functions described in "
163 "B<random>(3). They are suitable for use in multithreaded programs where "
164 "each thread needs to obtain an independent, reproducible sequence of random "
165 "numbers."
166 msgstr ""
167 "Эти функции являются реентерабельными эквивалентами функций, которые описаны "
168 "в B<random>(3). Они подходят для использования в многонитевых программах, "
169 "где каждой нити необходимо получить независимую, воспроизводимую "
170 "последовательность случайных чисел."
171
172 #. type: Plain text
173 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
174 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
175 msgid ""
176 "The B<random_r>() function is like B<random>(3), except that instead of "
177 "using state information maintained in a global variable, it uses the state "
178 "information in the argument pointed to by I<buf>, which must have been "
179 "previously initialized by B<initstate_r>(). The generated random number is "
180 "returned in the argument I<result>."
181 msgstr ""
182 "Функция B<random_r>() подобна B<random>(3), но вместо использования "
183 "информации о состоянии, хранящейся в глобальный переменной, в ней "
184 "используется информация о состоянии в аргументе, указанном в I<buf>, который "
185 "должен быть проинициализирован ранее с помощью B<initstate_r>(). "
186 "Сгенерированное случайное число возвращается в аргументе I<result>."
187
188 #. type: Plain text
189 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
190 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
191 msgid ""
192 "The B<srandom_r>() function is like B<srandom>(3), except that it "
193 "initializes the seed for the random number generator whose state is "
194 "maintained in the object pointed to by I<buf>, which must have been "
195 "previously initialized by B<initstate_r>(), instead of the seed associated "
196 "with the global state variable."
197 msgstr ""
198 "Функция B<srandom_r>() подобна B<srandom>(3), но инициализирует семя для "
199 "генератора случайных чисел, чьё состояние хранится в объекте, на который "
200 "указывает I<buf> который должен быть проинициализирован ранее с помощью "
201 "B<initstate_r>(), а не связывает семя с глобальной переменной состояния."
202
203 #. type: Plain text
204 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
205 #: opensuse-tumbleweed
206 #, fuzzy
207 #| msgid ""
208 #| "The B<initstate_r>() function is like B<initstate>(3) except that it "
209 #| "initializes the state in the object pointed to by I<buf>, rather than "
210 #| "initializing the global state variable. Before calling this function, "
211 #| "the I<buf.state> field must be initialized to NULL. The "
212 #| "B<initstate_r>() function records a pointer to the I<statebuf> argument "
213 #| "inside the structure pointed to by I<buf>. Thus, I<statebuf> should not "
214 #| "be deallocated so long as I<buf> is still in use. (So, I<statebuf> "
215 #| "should typically be allocated as a static variable, or allocated on the "
216 #| "heap using B<malloc>(3) or similar.)"
217 msgid ""
218 "The B<initstate_r>() function is like B<initstate>(3), except that it "
219 "initializes the state in the object pointed to by I<buf>, rather than "
220 "initializing the global state variable. Before calling this function, the "
221 "I<buf.state> field must be initialized to NULL. The B<initstate_r>() "
222 "function records a pointer to the I<statebuf> argument inside the structure "
223 "pointed to by I<buf>. Thus, I<statebuf> should not be deallocated so long "
224 "as I<buf> is still in use. (So, I<statebuf> should typically be allocated "
225 "as a static variable, or allocated on the heap using B<malloc>(3) or "
226 "similar.)"
227 msgstr ""
228 "Функция B<initstate_r>() подобна B<initstate>(3), но инициализирует "
229 "состояние в объекте, на который указывает I<buf>, а не в глобальной "
230 "переменной состояния. Перед вызовом этой функции в поле I<buf.state> нужно "
231 "записать NULL. Функция B<initstate_r>() сохраняет указатель на аргумент "
232 "I<statebuf> внутри структуры, указанной в I<buf>. Таким образом, I<statebuf> "
233 "не должна освобождаться пока используется I<buf> (и I<statebuf> обычно "
234 "должна быть статической переменной или выделяться из кучи с помощью "
235 "B<malloc>(3) и подобных ей)."
236
237 #. type: Plain text
238 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
239 #: opensuse-tumbleweed
240 #, fuzzy
241 #| msgid ""
242 #| "The B<setstate_r>() function is like B<setstate>(3) except that it "
243 #| "modifies the state in the object pointed to by I<buf>, rather than "
244 #| "modifying the global state variable. I<state> must first have been "
245 #| "initialized using B<initstate_r>() or be the result of a previous call "
246 #| "of B<setstate_r>()."
247 msgid ""
248 "The B<setstate_r>() function is like B<setstate>(3), except that it "
249 "modifies the state in the object pointed to by I<buf>, rather than modifying "
250 "the global state variable. I<state> must first have been initialized using "
251 "B<initstate_r>() or be the result of a previous call of B<setstate_r>()."
252 msgstr ""
253 "Функция B<setstate_r>() подобна B<setstate>(3), но изменяет состояние в "
254 "объекте, на который указывает I<buf>, а не в глобальной переменной "
255 "состояния. Переменная I<state> сначала должна инициализироваться с помощью "
256 "B<initstate_r>() или быть результатом предшествующего вызова B<setstate_r>()."
257
258 #. type: SH
259 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
260 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
261 #, no-wrap
262 msgid "RETURN VALUE"
263 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
264
265 #. type: Plain text
266 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
267 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
268 #, fuzzy
269 #| msgid ""
270 #| "All of these functions return 0 on success. On error, -1 is returned, "
271 #| "with I<errno> set to indicate the cause of the error."
272 msgid ""
273 "All of these functions return 0 on success. On error, -1 is returned, with "
274 "I<errno> set to indicate the error."
275 msgstr ""
276 "При успешном выполнении все функции возвращают 0. В случае ошибки "
277 "возвращается -1, а I<errno> устанавливается в соответствующее значение."
278
279 #. type: SH
280 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
281 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
282 #, no-wrap
283 msgid "ERRORS"
284 msgstr "ОШИБКИ"
285
286 #. type: TP
287 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
288 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
289 #, no-wrap
290 msgid "B<EINVAL>"
291 msgstr "B<EINVAL>"
292
293 #. type: Plain text
294 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
295 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
296 msgid "A state array of less than 8 bytes was specified to B<initstate_r>()."
297 msgstr "Функции B<initstate_r>() передан массив состояния меньше 8 байт."
298
299 #. type: Plain text
300 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
301 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
302 msgid "The I<statebuf> or I<buf> argument to B<setstate_r>() was NULL."
303 msgstr "Аргумент I<statebuf> или I<buf> функции B<setstate_r>() равнялся NULL."
304
305 #. type: Plain text
306 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
307 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
308 msgid "The I<buf> or I<result> argument to B<random_r>() was NULL."
309 msgstr "Аргумент I<buf> или I<result> функции B<random_r>() равнялся NULL."
310
311 #. type: SH
312 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
313 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
314 #, no-wrap
315 msgid "ATTRIBUTES"
316 msgstr "АТРИБУТЫ"
317
318 #. type: Plain text
319 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
320 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
321 msgid ""
322 "For an explanation of the terms used in this section, see B<attributes>(7)."
323 msgstr "Описание терминов данного раздела смотрите в B<attributes>(7)."
324
325 #. type: tbl table
326 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
327 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
328 #, no-wrap
329 msgid "Interface"
330 msgstr "Интерфейс"
331
332 #. type: tbl table
333 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
334 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
335 #, no-wrap
336 msgid "Attribute"
337 msgstr "Атрибут"
338
339 #. type: tbl table
340 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
341 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
342 #, no-wrap
343 msgid "Value"
344 msgstr "Значение"
345
346 #. type: tbl table
347 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
348 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
349 #, no-wrap
350 msgid ".na\n"
351 msgstr ".na\n"
352
353 #. type: tbl table
354 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
355 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
356 #, no-wrap
357 msgid ".nh\n"
358 msgstr ".nh\n"
359
360 #. type: tbl table
361 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
362 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
363 #, fuzzy, no-wrap
364 #| msgid "B<random_r>(), B<srandom_r>(), B<initstate_r>(), B<setstate_r>():"
365 msgid ""
366 "B<random_r>(),\n"
367 "B<srandom_r>(),\n"
368 "B<initstate_r>(),\n"
369 "B<setstate_r>()"
370 msgstr "B<random_r>(), B<srandom_r>(), B<initstate_r>(), B<setstate_r>():"
371
372 #. type: tbl table
373 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
374 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
375 #, no-wrap
376 msgid "Thread safety"
377 msgstr "Безвредность в нитях"
378
379 #. type: tbl table
380 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
381 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
382 #, no-wrap
383 msgid "MT-Safe race:buf"
384 msgstr "MT-Safe race:buf"
385
386 #. type: SH
387 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
388 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
389 #, no-wrap
390 msgid "STANDARDS"
391 msgstr "СТАНДАРТЫ"
392
393 #. These functions appear to be on Tru64, but don't seem to be on
394 #. Solaris, HP-UX, or FreeBSD.
395 #. type: Plain text
396 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
397 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
398 msgid "GNU."
399 msgstr "GNU."
400
401 #. type: SH
402 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
403 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
404 #, no-wrap
405 msgid "BUGS"
406 msgstr "ПРОГРАММНЫЕ ОШИБКИ"
407
408 #. FIXME . https://sourceware.org/bugzilla/show_bug.cgi?id=3662
409 #. type: Plain text
410 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
411 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
412 msgid ""
413 "The B<initstate_r>() interface is confusing. It appears that the "
414 "I<random_data> type is intended to be opaque, but the implementation "
415 "requires the user to either initialize the I<buf.state> field to NULL or "
416 "zero out the entire structure before the call."
417 msgstr ""
418 "Интерфейс B<initstate_r>() запутывает. Он появился для того, чтобы сделать "
419 "тип I<random_data> скрытым, но реализация требует от пользователя перед "
420 "вызовом, или инициализировать поле I<buf.state> значением NULL, или обнулить "
421 "всю структуру."
422
423 #. type: SH
424 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
425 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
426 #, no-wrap
427 msgid "SEE ALSO"
428 msgstr "СМОТРИТЕ ТАКЖЕ"
429
430 #. type: Plain text
431 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
432 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
433 msgid "B<drand48>(3), B<rand>(3), B<random>(3)"
434 msgstr "B<drand48>(3), B<rand>(3), B<random>(3)"
435
436 #. type: TH
437 #: debian-trixie
438 #, no-wrap
439 msgid "2024-05-02"
440 msgstr "2 мая 2024 г."
441
442 #. type: TH
443 #: debian-trixie
444 #, no-wrap
445 msgid "Linux man-pages 6.9.1"
446 msgstr "Страницы руководства Linux 6.9.1"
447
448 #. type: Plain text
449 #: debian-trixie
450 msgid "Standard C library (I<libc>, I<-lc>)"
451 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
452
453 #. type: Plain text
454 #: debian-trixie fedora-44 fedora-rawhide
455 #, fuzzy, no-wrap
456 #| msgid ""
457 #| "B<int initstate_r(unsigned int >I<seed>B<, char *>I<statebuf>B<,>\n"
458 #| "B< size_t >I<statelen>B<, struct random_data *>I<buf>B<);>\n"
459 msgid ""
460 "B<int initstate_r(unsigned int >I<seed>B<, char >I<statebuf>B<[restrict .>I<statelen>B<],>\n"
461 "B< size_t >I<statelen>B<, struct random_data *restrict >I<buf>B<);>\n"
462 "B<int setstate_r(char *restrict >I<statebuf>B<,>\n"
463 "B< struct random_data *restrict >I<buf>B<);>\n"
464 msgstr ""
465 "B<int initstate_r(unsigned int >I<seed>B<, char *>I<statebuf>B<,>\n"
466 "B< size_t >I<statelen>B<, struct random_data *>I<buf>B<);>\n"
467
468 #. type: Plain text
469 #: debian-trixie fedora-44 fedora-rawhide
470 msgid ""
471 "The B<initstate_r>() function is like B<initstate>(3) except that it "
472 "initializes the state in the object pointed to by I<buf>, rather than "
473 "initializing the global state variable. Before calling this function, the "
474 "I<buf.state> field must be initialized to NULL. The B<initstate_r>() "
475 "function records a pointer to the I<statebuf> argument inside the structure "
476 "pointed to by I<buf>. Thus, I<statebuf> should not be deallocated so long "
477 "as I<buf> is still in use. (So, I<statebuf> should typically be allocated "
478 "as a static variable, or allocated on the heap using B<malloc>(3) or "
479 "similar.)"
480 msgstr ""
481 "Функция B<initstate_r>() подобна B<initstate>(3), но инициализирует "
482 "состояние в объекте, на который указывает I<buf>, а не в глобальной "
483 "переменной состояния. Перед вызовом этой функции в поле I<buf.state> нужно "
484 "записать NULL. Функция B<initstate_r>() сохраняет указатель на аргумент "
485 "I<statebuf> внутри структуры, указанной в I<buf>. Таким образом, I<statebuf> "
486 "не должна освобождаться пока используется I<buf> (и I<statebuf> обычно "
487 "должна быть статической переменной или выделяться из кучи с помощью "
488 "B<malloc>(3) и подобных ей)."
489
490 #. type: Plain text
491 #: debian-trixie fedora-44 fedora-rawhide
492 msgid ""
493 "The B<setstate_r>() function is like B<setstate>(3) except that it "
494 "modifies the state in the object pointed to by I<buf>, rather than modifying "
495 "the global state variable. I<state> must first have been initialized using "
496 "B<initstate_r>() or be the result of a previous call of B<setstate_r>()."
497 msgstr ""
498 "Функция B<setstate_r>() подобна B<setstate>(3), но изменяет состояние в "
499 "объекте, на который указывает I<buf>, а не в глобальной переменной "
500 "состояния. Переменная I<state> сначала должна инициализироваться с помощью "
501 "B<initstate_r>() или быть результатом предшествующего вызова B<setstate_r>()."
502
503 #. type: TH
504 #: fedora-44 fedora-rawhide
505 #, no-wrap
506 msgid "2024-07-23"
507 msgstr "23 июля 2024 г."
508
509 #. type: TH
510 #: fedora-44 fedora-rawhide
511 #, no-wrap
512 msgid "Linux man-pages 6.13"
513 msgstr "Страницы руководства Linux 6.13"
514
515 #. type: TH
516 #: mageia-cauldron
517 #, no-wrap
518 msgid "Linux man-pages 6.17"
519 msgstr "Страницы руководства Linux 6.17"
520
521 #. type: TH
522 #: opensuse-leap-16-1 opensuse-tumbleweed
523 #, no-wrap
524 msgid "Linux man-pages (unreleased)"
525 msgstr "Страницы руководства Linux (не выпущены)"