Debian Codegraph @

po/ru/man3/sem_init.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 # Alexander Golubev <[email protected]>, 2018.
5 # Azamat Hackimov <[email protected]>, 2011, 2014-2016.
6 # Hotellook, 2014.
7 # Nikita <[email protected]>, 2014.
8 # Spiros Georgaras <[email protected]>, 2016.
9 # Vladislav <[email protected]>, 2015.
10 # Yuri Kozlov <[email protected]>, 2011-2019.
11 # Иван Павлов <[email protected]>, 2017.
12 msgid ""
13 msgstr ""
14 "Project-Id-Version: manpages-l10n\n"
15 "POT-Creation-Date: 2026-06-05 06:42+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 #, fuzzy, no-wrap
32 #| msgid "B<sem_init>()"
33 msgid "sem_init"
34 msgstr "B<sem_init>()"
35
36 #. type: TH
37 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
38 #: opensuse-tumbleweed
39 #, no-wrap
40 msgid "2026-02-08"
41 msgstr "8 февраля 2026 г."
42
43 #. type: TH
44 #: archlinux debian-unstable
45 #, fuzzy, no-wrap
46 #| msgid "Linux man-pages 6.17"
47 msgid "Linux man-pages 6.18"
48 msgstr "Справочные страницы Linux 6.17"
49
50 #. type: SH
51 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
52 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
53 #, no-wrap
54 msgid "NAME"
55 msgstr "НАИМЕНОВАНИЕ"
56
57 #. type: Plain text
58 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
59 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
60 msgid "sem_init - initialize an unnamed semaphore"
61 msgstr "sem_init - инициализирует безымянный семафор"
62
63 #. type: SH
64 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
65 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
66 #, no-wrap
67 msgid "LIBRARY"
68 msgstr "БИБЛИОТЕКА"
69
70 #. type: Plain text
71 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
72 #: opensuse-leap-16-1 opensuse-tumbleweed
73 msgid "POSIX threads library (I<libpthread>,\\ I<-lpthread>)"
74 msgstr "Библиотека потоков POSIX (I<libpthread>,\\ I<-lpthread>)"
75
76 #. type: SH
77 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
78 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
79 #, no-wrap
80 msgid "SYNOPSIS"
81 msgstr "СИНТАКСИС"
82
83 #. type: Plain text
84 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
85 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
86 #, no-wrap
87 msgid "B<#include E<lt>semaphore.hE<gt>>\n"
88 msgstr "B<#include E<lt>semaphore.hE<gt>>\n"
89
90 #. type: Plain text
91 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
92 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
93 #, no-wrap
94 msgid "B<int sem_init(sem_t *>I<sem>B<, int >I<pshared>B<, unsigned int >I<value>B<);>\n"
95 msgstr "B<int sem_init(sem_t *>I<sem>B<, int >I<pshared>B<, unsigned int >I<value>B<);>\n"
96
97 #. type: SH
98 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
99 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
100 #, no-wrap
101 msgid "DESCRIPTION"
102 msgstr "ОПИСАНИЕ"
103
104 #. type: Plain text
105 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
106 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
107 msgid ""
108 "B<sem_init>() initializes the unnamed semaphore at the address pointed to "
109 "by I<sem>. The I<value> argument specifies the initial value for the "
110 "semaphore."
111 msgstr ""
112 "Функция B<sem_init>() инициализирует безымянный семафор по адресу, "
113 "указанному в I<sem>. В аргументе I<value> задаётся начальное значение "
114 "семафора."
115
116 #. type: Plain text
117 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
118 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
119 msgid ""
120 "The I<pshared> argument indicates whether this semaphore is to be shared "
121 "between the threads of a process, or between processes."
122 msgstr ""
123 "Аргументом I<pshared> определяется, будет ли данный семафор доступен в нитях "
124 "процесса или в разных процессах."
125
126 #. type: Plain text
127 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
128 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
129 msgid ""
130 "If I<pshared> has the value 0, then the semaphore is shared between the "
131 "threads of a process, and should be located at some address that is visible "
132 "to all threads (e.g., a global variable, or a variable allocated dynamically "
133 "on the heap)."
134 msgstr ""
135 "Если значение I<pshared> равно 0, то семафор будет коллективно "
136 "использоваться в нитях процесса, и должен располагаться по адресу, который "
137 "доступен из всех нитей (например, глобальная переменная или динамически "
138 "выделенная из кучи переменная)."
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 msgid ""
144 "If I<pshared> is nonzero, then the semaphore is shared between processes, "
145 "and should be located in a region of shared memory (see B<shm_open>(3), "
146 "B<mmap>(2), and B<shmget>(2)). (Since a child created by B<fork>(2) "
147 "inherits its parent's memory mappings, it can also access the semaphore.) "
148 "Any process that can access the shared memory region can operate on the "
149 "semaphore using B<sem_post>(3), B<sem_wait>(3), and so on."
150 msgstr ""
151 "Если значение I<pshared> не равно нулю, то семафор будет коллективно "
152 "использоваться несколькими процессами, и должен располагаться в области "
153 "общей памяти (смотрите B<shm_open>(3), B<mmap>(2) и B<shmget>(2)) (так как "
154 "потомок, создаваемый B<fork>(2), наследует отображение памяти родителя, то "
155 "ему также доступен и семафор). Любой процесс, имеющий доступ к области общей "
156 "памяти, может обращаться к семафору с помощью B<sem_post>(3), B<sem_wait>(3) "
157 "и т. п. функций."
158
159 #. type: Plain text
160 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
161 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
162 msgid ""
163 "Initializing a semaphore that has already been initialized results in "
164 "undefined behavior."
165 msgstr ""
166 "Инициализация семафора, который уже был инициализирован, приводит к "
167 "непредсказуемым результатам."
168
169 #. type: SH
170 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
171 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
172 #, no-wrap
173 msgid "RETURN VALUE"
174 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
175
176 #. type: Plain text
177 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
178 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
179 msgid ""
180 "B<sem_init>() returns 0 on success; on error, -1 is returned, and I<errno> "
181 "is set to indicate the error."
182 msgstr ""
183 "При успешном выполнении B<sem_init>() возвращается 0; при ошибке "
184 "возвращается -1, а в I<errno> содержится код ошибки."
185
186 #. type: SH
187 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
188 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
189 #, no-wrap
190 msgid "ERRORS"
191 msgstr "ОШИБКИ"
192
193 #. type: TP
194 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
195 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
196 #, no-wrap
197 msgid "B<EINVAL>"
198 msgstr "B<EINVAL>"
199
200 #. type: Plain text
201 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
202 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
203 msgid "I<value> exceeds B<SEM_VALUE_MAX>."
204 msgstr "Значение I<value> превышает B<SEM_VALUE_MAX>."
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 "B<ENOSYS>"
211 msgstr "B<ENOSYS>"
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 "I<pshared> is nonzero, but the system does not support process-shared "
218 "semaphores (see B<sem_overview>(7))."
219 msgstr ""
220 "Значение I<pshared> не равно нулю, то система не поддерживает семафоры, "
221 "коллективно используемые процессами (смотрите B<sem_overview>(7))."
222
223 #. type: SH
224 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
225 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
226 #, no-wrap
227 msgid "ATTRIBUTES"
228 msgstr "АТРИБУТЫ"
229
230 #. type: Plain text
231 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
232 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
233 msgid ""
234 "For an explanation of the terms used in this section, see B<attributes>(7)."
235 msgstr "Описание терминов данного раздела смотрите в B<attributes>(7)."
236
237 #. type: tbl table
238 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
239 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
240 #, no-wrap
241 msgid "Interface"
242 msgstr "Интерфейс"
243
244 #. type: tbl table
245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
246 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
247 #, no-wrap
248 msgid "Attribute"
249 msgstr "Атрибут"
250
251 #. type: tbl table
252 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
253 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
254 #, no-wrap
255 msgid "Value"
256 msgstr "Значение"
257
258 #. type: tbl table
259 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
260 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
261 #, no-wrap
262 msgid ".na\n"
263 msgstr ".na\n"
264
265 #. type: tbl table
266 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
267 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
268 #, no-wrap
269 msgid ".nh\n"
270 msgstr ".nh\n"
271
272 #. type: tbl table
273 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
274 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
275 #, no-wrap
276 msgid "B<sem_init>()"
277 msgstr "B<sem_init>()"
278
279 #. type: tbl table
280 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
281 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
282 #, no-wrap
283 msgid "Thread safety"
284 msgstr "Безвредность в нитях"
285
286 #. type: tbl table
287 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
288 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
289 #, no-wrap
290 msgid "MT-Safe"
291 msgstr "MT-Safe"
292
293 #. type: SH
294 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
295 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
296 #, no-wrap
297 msgid "STANDARDS"
298 msgstr "СТАНДАРТЫ"
299
300 #. type: Plain text
301 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
302 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
303 msgid "POSIX.1-2008."
304 msgstr "POSIX.1-2008."
305
306 #. type: SH
307 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
308 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
309 #, no-wrap
310 msgid "HISTORY"
311 msgstr "ИСТОРИЯ"
312
313 #. type: Plain text
314 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
315 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
316 msgid "POSIX.1-2001."
317 msgstr "POSIX.1-2001."
318
319 #. type: Plain text
320 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
321 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
322 msgid ""
323 "Bizarrely, POSIX.1-2001 does not specify the value that should be returned "
324 "by a successful call to B<sem_init>(). POSIX.1-2008 rectifies this, "
325 "specifying the zero return on success."
326 msgstr ""
327 "Странно, но в POSIX.1-2001 не определено значение, которое должно "
328 "возвращаться при успешном выполнении вызова B<sem_init>(). В POSIX.1-2008 "
329 "это исправлено: при успешном выполнении должен возвращаться ноль."
330
331 #. type: SH
332 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
333 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
334 #, no-wrap
335 msgid "EXAMPLES"
336 msgstr "ПРИМЕРЫ"
337
338 #. type: Plain text
339 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
340 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
341 #, fuzzy
342 #| msgid "See B<sem_wait>(3)."
343 msgid "See B<shm_open>(3) and B<sem_wait>(3)."
344 msgstr "Смотрите B<sem_wait>(3)."
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 "SEE ALSO"
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 "B<sem_destroy>(3), B<sem_post>(3), B<sem_wait>(3), B<sem_overview>(7)"
357 msgstr "B<sem_destroy>(3), B<sem_post>(3), B<sem_wait>(3), B<sem_overview>(7)"
358
359 #. type: TH
360 #: debian-trixie
361 #, no-wrap
362 msgid "2024-05-02"
363 msgstr "2 мая 2024 г."
364
365 #. type: TH
366 #: debian-trixie
367 #, no-wrap
368 msgid "Linux man-pages 6.9.1"
369 msgstr "Страницы руководства Linux 6.9.1"
370
371 #. type: Plain text
372 #: debian-trixie
373 msgid "POSIX threads library (I<libpthread>, I<-lpthread>)"
374 msgstr "Библиотека потоков POSIX (I<libpthread>, I<-lpthread>)"
375
376 #. type: TH
377 #: fedora-44 fedora-rawhide
378 #, no-wrap
379 msgid "2024-07-23"
380 msgstr "23 июля 2024 г."
381
382 #. type: TH
383 #: fedora-44 fedora-rawhide
384 #, no-wrap
385 msgid "Linux man-pages 6.13"
386 msgstr "Страницы руководства Linux 6.13"
387
388 #. type: TH
389 #: mageia-cauldron
390 #, no-wrap
391 msgid "Linux man-pages 6.17"
392 msgstr "Страницы руководства Linux 6.17"
393
394 #. type: TH
395 #: opensuse-leap-16-1 opensuse-tumbleweed
396 #, no-wrap
397 msgid "Linux man-pages (unreleased)"
398 msgstr "Страницы руководства Linux (не выпущены)"