Debian Codegraph @

po/ru/man3/flockfile.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 # Azamat Hackimov <[email protected]>, 2017.
5 # Dmitry Bolkhovskikh <[email protected]>, 2017.
6 # Yuri Kozlov <[email protected]>, 2011-2019.
7 # Иван Павлов <[email protected]>, 2017.
8 msgid ""
9 msgstr ""
10 "Project-Id-Version: manpages-l10n\n"
11 "POT-Creation-Date: 2026-06-05 06:24+0200\n"
12 "PO-Revision-Date: 2024-12-21 19:50+0300\n"
13 "Last-Translator: Yuri Kozlov <[email protected]>\n"
14 "Language-Team: Russian <[email protected]>\n"
15 "Language: ru\n"
16 "MIME-Version: 1.0\n"
17 "Content-Type: text/plain; charset=UTF-8\n"
18 "Content-Transfer-Encoding: 8bit\n"
19 "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
20 "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
21 "(n%100>=11 && n%100<=14)? 2 : 3);\n"
22 "X-Generator: Lokalize 2.0\n"
23
24 #. type: TH
25 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
26 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
27 #, no-wrap
28 msgid "flockfile"
29 msgstr ""
30
31 #. type: TH
32 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
33 #: opensuse-tumbleweed
34 #, no-wrap
35 msgid "2026-02-08"
36 msgstr "8 февраля 2026 г."
37
38 #. type: TH
39 #: archlinux debian-unstable
40 #, fuzzy, no-wrap
41 #| msgid "Linux man-pages 6.17"
42 msgid "Linux man-pages 6.18"
43 msgstr "Справочные страницы Linux 6.17"
44
45 #. type: SH
46 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
47 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
48 #, no-wrap
49 msgid "NAME"
50 msgstr "НАИМЕНОВАНИЕ"
51
52 #. type: Plain text
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 msgid "flockfile, ftrylockfile, funlockfile - lock FILE for stdio"
56 msgstr "flockfile, ftrylockfile, funlockfile - блокирует FILE для stdio"
57
58 #. type: SH
59 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
60 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
61 #, no-wrap
62 msgid "LIBRARY"
63 msgstr "БИБЛИОТЕКА"
64
65 #. type: Plain text
66 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
67 #: opensuse-leap-16-1 opensuse-tumbleweed
68 msgid "Standard C library (I<libc>,\\ I<-lc>)"
69 msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)"
70
71 #. type: SH
72 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
73 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
74 #, no-wrap
75 msgid "SYNOPSIS"
76 msgstr "СИНТАКСИС"
77
78 #. type: Plain text
79 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
80 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
81 #, no-wrap
82 msgid "B<#include E<lt>stdio.hE<gt>>\n"
83 msgstr "B<#include E<lt>stdio.hE<gt>>\n"
84
85 #. type: Plain text
86 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
87 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
88 #, no-wrap
89 msgid ""
90 "B<void flockfile(FILE *>I<filehandle>B<);>\n"
91 "B<int ftrylockfile(FILE *>I<filehandle>B<);>\n"
92 "B<void funlockfile(FILE *>I<filehandle>B<);>\n"
93 msgstr ""
94 "B<void flockfile(FILE *>I<filehandle>B<);>\n"
95 "B<int ftrylockfile(FILE *>I<filehandle>B<);>\n"
96 "B<void funlockfile(FILE *>I<filehandle>B<);>\n"
97
98 #. type: Plain text
99 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
100 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
101 msgid ""
102 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
103 msgstr ""
104 "Требования макроса тестирования свойств для glibc (см. "
105 "B<feature_test_macros>(7)):"
106
107 #. type: Plain text
108 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
109 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
110 msgid "All functions shown above:"
111 msgstr "Все функции, показанные выше:"
112
113 #. type: Plain text
114 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
115 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
116 #, fuzzy, no-wrap
117 #| msgid ""
118 #| "/* Since glibc 2.24: */ _POSIX_C_SOURCE\\ E<gt>=\\ 199309L\n"
119 #| " || /* Glibc versions E<lt>= 2.23: */ _POSIX_C_SOURCE\n"
120 #| " || /* Glibc versions E<lt>= 2.19: */ _BSD_SOURCE || _SVID_SOURCE\n"
121 msgid ""
122 " /* Since glibc 2.24: */ _POSIX_C_SOURCE E<gt>= 199309L\n"
123 " || /* glibc E<lt>= 2.23: */ _POSIX_C_SOURCE\n"
124 " || /* glibc E<lt>= 2.19: */ _BSD_SOURCE || _SVID_SOURCE\n"
125 msgstr ""
126 "/* начиная с glibc 2.24: */ _POSIX_C_SOURCE\\ E<gt>=\\ 199309L\n"
127 " || /* Glibc versions E<lt>= 2.23: */ _POSIX_C_SOURCE\n"
128 " || /* Glibc versions E<lt>= 2.19: */ _BSD_SOURCE || _SVID_SOURCE\n"
129
130 #. type: SH
131 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
132 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
133 #, no-wrap
134 msgid "DESCRIPTION"
135 msgstr "ОПИСАНИЕ"
136
137 #. type: Plain text
138 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
139 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
140 msgid ""
141 "The stdio functions are thread-safe. This is achieved by assigning to each "
142 "I<FILE> object a lockcount and (if the lockcount is nonzero) an owning "
143 "thread. For each library call, these functions wait until the I<FILE> "
144 "object is no longer locked by a different thread, then lock it, do the "
145 "requested I/O, and unlock the object again."
146 msgstr ""
147 "Функции stdio можно без опаски использовать в нитях. Это достигается "
148 "назначением каждому объекту I<FILE> счётчика блокировок и (если счётчик не "
149 "равен нулю) нити-владельца. При каждом библиотечном вызове эти функции ждут "
150 "разблокировки объекта I<FILE> другой нитью, блокируют его, а затем выполняют "
151 "заданную операцию ввода/вывода и разблокируют объект."
152
153 #. type: Plain text
154 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
155 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
156 msgid ""
157 "(Note: this locking has nothing to do with the file locking done by "
158 "functions like B<flock>(2) and B<lockf>(3).)"
159 msgstr ""
160 "(Замечание: блокировка не учитывается, если блокировка файла осуществлялась "
161 "функциями типа B<flock>(2) и B<lockf>(3).)"
162
163 #. type: Plain text
164 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
165 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
166 msgid ""
167 "All this is invisible to the C-programmer, but there may be two reasons to "
168 "wish for more detailed control. On the one hand, maybe a series of I/O "
169 "actions by one thread belongs together, and should not be interrupted by the "
170 "I/O of some other thread. On the other hand, maybe the locking overhead "
171 "should be avoided for greater efficiency."
172 msgstr ""
173 "Всё это прозрачно и незаметно для программиста на С, но всё же есть две "
174 "причины для более подробного изучения. Первая: возможны последовательности "
175 "операций ввода/вывода в одной нити, при этом другая нить не будет прерывать "
176 "ввод/вывод. Вторая: можно избежать чрезмерной нагрузки от блокировок."
177
178 #. type: Plain text
179 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
180 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
181 msgid ""
182 "To this end, a thread can explicitly lock the I<FILE> object, then do its "
183 "series of I/O actions, then unlock. This prevents other threads from coming "
184 "in between. If the reason for doing this was to achieve greater efficiency, "
185 "one does the I/O with the nonlocking versions of the stdio functions: with "
186 "B<getc_unlocked>(3) and B<putc_unlocked>(3) instead of B<getc>(3) and "
187 "B<putc>(3)."
188 msgstr ""
189 "С этой целью нить может явно блокировать объект I<FILE>, осуществить серию "
190 "операций ввода/вывода, а затем снять блокировку. При этом другие нити не "
191 "могут вклиниться между операциями. Если причиной для реализации всего этого "
192 "является повышение эффективности работы, то для ввода/вывод можно "
193 "использовать неблокирующие версии функций stdio: B<getc_unlocked>(3) и "
194 "B<putc_unlocked>(3) вместо B<getc>(3) и B<putc>(3)."
195
196 #. type: Plain text
197 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
198 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
199 msgid ""
200 "The B<flockfile>() function waits for I<*filehandle> to be no longer locked "
201 "by a different thread, then makes the current thread owner of "
202 "I<*filehandle>, and increments the lockcount."
203 msgstr ""
204 "Функция B<flockfile>() ожидает, пока I<*filehandle> не разблокируется другой "
205 "нитью, затем делает текущую нить владельцем I<*filehandle> и увеличивает "
206 "счётчик блокировок."
207
208 #. type: Plain text
209 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
210 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
211 msgid "The B<funlockfile>() function decrements the lock count."
212 msgstr "Функция B<funlockfile>() уменьшает счётчик блокировок."
213
214 #. type: Plain text
215 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
216 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
217 msgid ""
218 "The B<ftrylockfile>() function is a nonblocking version of B<flockfile>(). "
219 "It does nothing in case some other thread owns I<*filehandle>, and it "
220 "obtains ownership and increments the lockcount otherwise."
221 msgstr ""
222 "Функция B<ftrylockfile>() является неблокирующей версией B<flockfile>(). Она "
223 "ничего не делает в том случае, если другая нить владеет I<*filehandle>, в "
224 "противном случае устанавливает статус владельца и увеличивает счётчик "
225 "блокировок."
226
227 #. type: SH
228 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
229 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
230 #, no-wrap
231 msgid "RETURN VALUE"
232 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
233
234 #. type: Plain text
235 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
236 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
237 msgid ""
238 "The B<ftrylockfile>() function returns zero for success (the lock was "
239 "obtained), and nonzero for failure."
240 msgstr ""
241 "При успешном выполнении функция B<ftrylockfile>() возвращает ноль (была "
242 "получена блокировка) или ненулевое значение при ошибках."
243
244 #. type: SH
245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
246 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
247 #, no-wrap
248 msgid "ERRORS"
249 msgstr "ОШИБКИ"
250
251 #. type: Plain text
252 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
253 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
254 msgid "None."
255 msgstr "Нет."
256
257 #. type: SH
258 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
259 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
260 #, no-wrap
261 msgid "ATTRIBUTES"
262 msgstr "АТРИБУТЫ"
263
264 #. type: Plain text
265 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
266 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
267 msgid ""
268 "For an explanation of the terms used in this section, see B<attributes>(7)."
269 msgstr "Описание терминов данного раздела смотрите в B<attributes>(7)."
270
271 #. type: tbl table
272 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
273 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
274 #, no-wrap
275 msgid "Interface"
276 msgstr "Интерфейс"
277
278 #. type: tbl table
279 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
280 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
281 #, no-wrap
282 msgid "Attribute"
283 msgstr "Атрибут"
284
285 #. type: tbl table
286 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
287 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
288 #, no-wrap
289 msgid "Value"
290 msgstr "Значение"
291
292 #. type: tbl table
293 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
294 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
295 #, no-wrap
296 msgid ".na\n"
297 msgstr ".na\n"
298
299 #. type: tbl table
300 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
301 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
302 #, no-wrap
303 msgid ".nh\n"
304 msgstr ".nh\n"
305
306 #. type: tbl table
307 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
308 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
309 #, no-wrap
310 msgid ""
311 "B<flockfile>(),\n"
312 "B<ftrylockfile>(),\n"
313 "B<funlockfile>()"
314 msgstr ""
315 "B<flockfile>(),\n"
316 "B<ftrylockfile>(),\n"
317 "B<funlockfile>()"
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 "Thread safety"
324 msgstr "Безвредность в нитях"
325
326 #. type: tbl table
327 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
328 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
329 #, no-wrap
330 msgid "MT-Safe"
331 msgstr "MT-Safe"
332
333 #. type: SH
334 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
335 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
336 #, no-wrap
337 msgid "STANDARDS"
338 msgstr "СТАНДАРТЫ"
339
340 #. type: Plain text
341 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
342 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
343 msgid "POSIX.1-2008."
344 msgstr "POSIX.1-2008."
345
346 #. type: SH
347 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
348 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
349 #, no-wrap
350 msgid "HISTORY"
351 msgstr "ИСТОРИЯ"
352
353 #. type: Plain text
354 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
355 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
356 msgid "POSIX.1-2001."
357 msgstr "POSIX.1-2001."
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 "These functions are available when B<_POSIX_THREAD_SAFE_FUNCTIONS> is "
364 "defined."
365 msgstr "Эти функции доступны, если определено B<_POSIX_THREAD_SAFE_FUNCTIONS>."
366
367 #. type: SH
368 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
369 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
370 #, no-wrap
371 msgid "SEE ALSO"
372 msgstr "СМОТРИТЕ ТАКЖЕ"
373
374 #. type: Plain text
375 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
376 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
377 msgid "B<unlocked_stdio>(3)"
378 msgstr "B<unlocked_stdio>(3)"
379
380 #. type: TH
381 #: debian-trixie
382 #, no-wrap
383 msgid "2024-05-02"
384 msgstr "2 мая 2024 г."
385
386 #. type: TH
387 #: debian-trixie
388 #, no-wrap
389 msgid "Linux man-pages 6.9.1"
390 msgstr "Страницы руководства Linux 6.9.1"
391
392 #. type: Plain text
393 #: debian-trixie
394 msgid "Standard C library (I<libc>, I<-lc>)"
395 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
396
397 #. type: TH
398 #: fedora-44 fedora-rawhide
399 #, no-wrap
400 msgid "2024-07-23"
401 msgstr "23 июля 2024 г."
402
403 #. type: TH
404 #: fedora-44 fedora-rawhide
405 #, no-wrap
406 msgid "Linux man-pages 6.13"
407 msgstr "Страницы руководства Linux 6.13"
408
409 #. type: TH
410 #: mageia-cauldron
411 #, no-wrap
412 msgid "Linux man-pages 6.17"
413 msgstr "Страницы руководства Linux 6.17"
414
415 #. type: TH
416 #: opensuse-leap-16-1 opensuse-tumbleweed
417 #, no-wrap
418 msgid "Linux man-pages (unreleased)"
419 msgstr "Страницы руководства Linux (не выпущены)"