Debian Codegraph @

po/ru/man2/epoll_wait.2.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]>, 2012.
5 # Yuri Kozlov <[email protected]>, 2011-2019.
6 # Иван Павлов <[email protected]>, 2017.
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: manpages-l10n\n"
10 "POT-Creation-Date: 2026-06-05 06:23+0200\n"
11 "PO-Revision-Date: 2024-12-21 19:49+0300\n"
12 "Last-Translator: Yuri Kozlov <[email protected]>\n"
13 "Language-Team: Russian <[email protected]>\n"
14 "Language: ru\n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18 "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
19 "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
20 "(n%100>=11 && n%100<=14)? 2 : 3);\n"
21 "X-Generator: Lokalize 2.0\n"
22
23 #. type: TH
24 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
25 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
26 #, no-wrap
27 msgid "epoll_wait"
28 msgstr "epoll_wait"
29
30 #. type: TH
31 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
32 #: opensuse-tumbleweed
33 #, no-wrap
34 msgid "2026-02-08"
35 msgstr "8 февраля 2026 г."
36
37 #. type: TH
38 #: archlinux debian-unstable
39 #, fuzzy, no-wrap
40 #| msgid "Linux man-pages 6.17"
41 msgid "Linux man-pages 6.18"
42 msgstr "Справочные страницы Linux 6.17"
43
44 #. type: SH
45 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
46 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
47 #, no-wrap
48 msgid "NAME"
49 msgstr "НАИМЕНОВАНИЕ"
50
51 #. type: Plain text
52 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
53 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
54 msgid ""
55 "epoll_wait, epoll_pwait, epoll_pwait2 - wait for an I/O event on an epoll "
56 "file descriptor"
57 msgstr ""
58 "epoll_wait, epoll_pwait, epoll_pwait2 - ждать события ввода/вывода на "
59 "файловом дескрипторе epoll"
60
61 #. type: SH
62 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
63 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
64 #, no-wrap
65 msgid "LIBRARY"
66 msgstr "БИБЛИОТЕКА"
67
68 #. type: Plain text
69 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
70 #: opensuse-leap-16-1 opensuse-tumbleweed
71 msgid "Standard C library (I<libc>,\\ I<-lc>)"
72 msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)"
73
74 #. type: SH
75 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
76 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
77 #, no-wrap
78 msgid "SYNOPSIS"
79 msgstr "СИНТАКСИС"
80
81 #. type: Plain text
82 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
83 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
84 #, no-wrap
85 msgid "B<#include E<lt>sys/epoll.hE<gt>>\n"
86 msgstr "B<#include E<lt>sys/epoll.hE<gt>>\n"
87
88 #. type: Plain text
89 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
90 #: opensuse-tumbleweed
91 #, fuzzy, no-wrap
92 #| msgid ""
93 #| "B<int epoll_wait(int >I<epfd>B<, struct epoll_event *>I<events>B<,>\n"
94 #| "B< int >I<maxevents>B<, int >I<timeout>B<);>\n"
95 #| "B<int epoll_pwait(int >I<epfd>B<, struct epoll_event *>I<events>B<,>\n"
96 #| "B< int >I<maxevents>B<, int >I<timeout>B<,>\n"
97 #| "B< const sigset_t *_Nullable >I<sigmask>B<);>\n"
98 #| "B<int epoll_pwait2(int >I<epfd>B<, struct epoll_event *>I<events>B<,>\n"
99 #| "B< int >I<maxevents>B<, const struct timespec *_Nullable >I<timeout>B<,>\n"
100 #| "B< const sigset_t *_Nullable >I<sigmask>B<);>\n"
101 msgid ""
102 "B<int epoll_wait(>int n;\n"
103 "B< int >I<epfd>B<, struct epoll_event >I<events>B<[>I<n>B<], int >I<n>B<,>\n"
104 "B< int >I<timeout>B<);>\n"
105 "B<int epoll_pwait(>int n;\n"
106 "B< int >I<epfd>B<, struct epoll_event >I<events>B<[>I<n>B<], int >I<n>B<,>\n"
107 "B< int >I<timeout>B<,>\n"
108 "B< const sigset_t *_Nullable >I<sigmask>B<);>\n"
109 "B<int epoll_pwait2(>int n;\n"
110 "B< int >I<epfd>B<, struct epoll_event >I<events>B<[>I<n>B<], int >I<n>B<,>\n"
111 "B< const struct timespec *_Nullable >I<timeout>B<,>\n"
112 "B< const sigset_t *_Nullable >I<sigmask>B<);>\n"
113 msgstr ""
114 "B<int epoll_wait(int >I<epfd>B<, struct epoll_event *>I<events>B<,>\n"
115 "B< int >I<maxevents>B<, int >I<timeout>B<);>\n"
116 "B<int epoll_pwait(int >I<epfd>B<, struct epoll_event *>I<events>B<,>\n"
117 "B< int >I<maxevents>B<, int >I<timeout>B<,>\n"
118 "B< const sigset_t *_Nullable >I<sigmask>B<);>\n"
119 "B<int epoll_pwait2(int >I<epfd>B<, struct epoll_event *>I<events>B<,>\n"
120 "B< int >I<maxevents>B<, const struct timespec *_Nullable >I<timeout>B<,>\n"
121 "B< const sigset_t *_Nullable >I<sigmask>B<);>\n"
122
123 #. type: SH
124 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
125 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
126 #, no-wrap
127 msgid "DESCRIPTION"
128 msgstr "ОПИСАНИЕ"
129
130 #. type: Plain text
131 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
132 #: opensuse-tumbleweed
133 #, fuzzy
134 #| msgid ""
135 #| "The B<epoll_wait>() system call waits for events on the B<epoll>(7) "
136 #| "instance referred to by the file descriptor I<epfd>. The memory area "
137 #| "pointed to by I<events> will contain the events that will be available "
138 #| "for the caller. Up to I<maxevents> are returned by B<epoll_wait>(). The "
139 #| "I<maxevents> argument must be greater than zero."
140 msgid ""
141 "The B<epoll_wait>() system call waits for events on the B<epoll>(7) "
142 "instance referred to by the file descriptor I<epfd>. The buffer pointed to "
143 "by I<events> is used to return information from the ready list about file "
144 "descriptors in the interest list that have some events available. Up to "
145 "I<n> are returned by B<epoll_wait>(). The I<n> argument must be greater "
146 "than zero."
147 msgstr ""
148 "Системный вызов B<epoll_wait>() ожидает события на экземпляре B<epoll>(7), "
149 "на который указывает файловый дескриптор I<epfd>. Область памяти, на которую "
150 "указывает I<events>, будет содержать события, доступные для вызываемого. "
151 "Вызов B<epoll_wait>() может вернуть до I<maxevents> событий. Параметр "
152 "I<maxevents> должен быть больше нуля."
153
154 #. type: Plain text
155 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
156 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
157 msgid ""
158 "The I<timeout> argument specifies the number of milliseconds that "
159 "B<epoll_wait>() will block. Time is measured against the "
160 "B<CLOCK_MONOTONIC> clock."
161 msgstr ""
162 "В аргументе I<timeout> указывается количество миллисекунд, на которые будет "
163 "заблокирован B<epoll_wait>(). Время отслеживается по часам "
164 "B<CLOCK_MONOTONIC>."
165
166 #. type: Plain text
167 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
168 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
169 msgid "A call to B<epoll_wait>() will block until either:"
170 msgstr "Вызов B<epoll_wait>() будет заблокирован до тех пор, пока:"
171
172 #. type: IP
173 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
174 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
175 #, no-wrap
176 msgid "\\[bu]"
177 msgstr "\\[bu]"
178
179 #. type: Plain text
180 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
181 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
182 msgid "a file descriptor delivers an event;"
183 msgstr "событие не будет доставлено в файловый дескриптор;"
184
185 #. type: Plain text
186 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
187 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
188 msgid "the call is interrupted by a signal handler; or"
189 msgstr "вызов не прервётся обработчиком сигнала;"
190
191 #. type: Plain text
192 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
193 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
194 msgid "the timeout expires."
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 #| "Note that the I<timeout> interval will be rounded up to the system clock "
203 #| "granularity, and kernel scheduling delays mean that the blocking interval "
204 #| "may overrun by a small amount. Specifying a I<timeout> of -1 causes "
205 #| "B<epoll_wait>() to block indefinitely, while specifying a I<timeout> "
206 #| "equal to zero cause B<epoll_wait>() to return immediately, even if no "
207 #| "events are available."
208 msgid ""
209 "Note that the I<timeout> interval will be rounded up to the system clock "
210 "granularity, and kernel scheduling delays mean that the blocking interval "
211 "may overrun by a small amount. Specifying a I<timeout> of -1 causes "
212 "B<epoll_wait>() to block indefinitely, while specifying a I<timeout> equal "
213 "to zero causes B<epoll_wait>() to return immediately, even if no events are "
214 "available."
215 msgstr ""
216 "Заметим, что интервал I<timeout> будет округлён в соответствии с точностью "
217 "системных часов, а задержки ядерного планирования приведут к тому, что "
218 "интервал блокировки может быть немного больше. Если присвоить I<timeout> "
219 "значение -1, то B<epoll_wait>() блокируется навсегда; если значение "
220 "I<timeout> равно 0, то B<epoll_wait>() сразу завершает работу, даже если "
221 "никаких событий не произошло."
222
223 #. type: Plain text
224 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
225 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
226 msgid "The I<struct epoll_event> is described in B<epoll_event>(3type)."
227 msgstr "I<struct epoll_event> описан в B<epoll_event>(3type)."
228
229 #. type: Plain text
230 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
231 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
232 #, fuzzy
233 #| msgid ""
234 #| "The I<data> field of each returned structure contains the same data as "
235 #| "was specified in the most recent call to B<epoll_ctl>(2) "
236 #| "(B<EPOLL_CTL_ADD>, B<EPOLL_CTL_MOD>) for the corresponding open file "
237 #| "description. The I<events> field contains the returned event bit field."
238 msgid ""
239 "The I<data> field of each returned I<epoll_event> structure contains the "
240 "same data as was specified in the most recent call to B<epoll_ctl>(2) "
241 "(B<EPOLL_CTL_ADD>, B<EPOLL_CTL_MOD>) for the corresponding open file "
242 "descriptor."
243 msgstr ""
244 "Поле I<data> в каждой возвращаемой структуре содержит те же данные, которые "
245 "были указаны в самом последнем вызове B<epoll_ctl>(2) (B<EPOLL_CTL_ADD>, "
246 "B<EPOLL_CTL_MOD>) для соответствующего открытого описания файла. В поле "
247 "I<events> содержится битовое поле возвращаемого события."
248
249 #. type: Plain text
250 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
251 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
252 msgid ""
253 "The I<events> field is a bit mask that indicates the events that have "
254 "occurred for the corresponding open file description. See B<epoll_ctl>(2) "
255 "for a list of the bits that may appear in this mask."
256 msgstr ""
257
258 #. type: SS
259 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
260 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
261 #, no-wrap
262 msgid "epoll_pwait()"
263 msgstr "epoll_pwait()"
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 msgid ""
269 "The relationship between B<epoll_wait>() and B<epoll_pwait>() is analogous "
270 "to the relationship between B<select>(2) and B<pselect>(2): like "
271 "B<pselect>(2), B<epoll_pwait>() allows an application to safely wait until "
272 "either a file descriptor becomes ready or until a signal is caught."
273 msgstr ""
274 "Отношения между B<epoll_wait>() и B<epoll_pwait>() аналогичны родству "
275 "B<select>(2) и B<pselect>(2): как B<pselect>(2), B<epoll_pwait>() позволяет "
276 "приложению безопасно ждать, пока файловый дескриптор не станет готов или "
277 "пока не будет получен сигнал."
278
279 #. type: Plain text
280 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
281 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
282 msgid "The following B<epoll_pwait>() call:"
283 msgstr "Вызов B<epoll_pwait>():"
284
285 #. type: Plain text
286 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
287 #: opensuse-tumbleweed
288 #, fuzzy, no-wrap
289 #| msgid "ready = epoll_pwait(epfd, &events, maxevents, timeout, &sigmask);\n"
290 msgid "ready = epoll_pwait(epfd, &events, n, timeout, &sigmask);\n"
291 msgstr "ready = epoll_pwait(epfd, &events, maxevents, timeout, &sigmask);\n"
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 "is equivalent to I<atomically> executing the following calls:"
297 msgstr "эквивалентен I<атомарному> выполнению следующих вызовов:"
298
299 #. type: Plain text
300 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
301 #: opensuse-tumbleweed
302 #, fuzzy, no-wrap
303 #| msgid ""
304 #| "sigset_t origmask;\n"
305 #| "\\&\n"
306 #| "pthread_sigmask(SIG_SETMASK, &sigmask, &origmask);\n"
307 #| "ready = epoll_wait(epfd, &events, maxevents, timeout);\n"
308 #| "pthread_sigmask(SIG_SETMASK, &origmask, NULL);\n"
309 msgid ""
310 "sigset_t origmask;\n"
311 "\\&\n"
312 "pthread_sigmask(SIG_SETMASK, &sigmask, &origmask);\n"
313 "ready = epoll_wait(epfd, &events, n, timeout);\n"
314 "pthread_sigmask(SIG_SETMASK, &origmask, NULL);\n"
315 msgstr ""
316 "sigset_t origmask;\n"
317 "\\&\n"
318 "pthread_sigmask(SIG_SETMASK, &sigmask, &origmask);\n"
319 "ready = epoll_wait(epfd, &events, maxevents, timeout);\n"
320 "pthread_sigmask(SIG_SETMASK, &origmask, NULL);\n"
321
322 #. type: Plain text
323 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
324 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
325 msgid ""
326 "The I<sigmask> argument may be specified as NULL, in which case "
327 "B<epoll_pwait>() is equivalent to B<epoll_wait>()."
328 msgstr ""
329 "Аргумент I<sigmask> может быть равен NULL \\(em в этом случае "
330 "B<epoll_pwait>() эквивалентен B<epoll_wait>()."
331
332 #. type: SS
333 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
334 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
335 #, no-wrap
336 msgid "epoll_pwait2()"
337 msgstr "epoll_pwait2()"
338
339 #. type: Plain text
340 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
341 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
342 msgid ""
343 "The B<epoll_pwait2>() system call is equivalent to B<epoll_pwait>() except "
344 "for the I<timeout> argument. It takes an argument of type I<timespec> to be "
345 "able to specify nanosecond resolution timeout. This argument functions the "
346 "same as in B<pselect>(2) and B<ppoll>(2). If I<timeout> is NULL, then "
347 "B<epoll_pwait2>() can block indefinitely."
348 msgstr ""
349
350 #. type: SH
351 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
352 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
353 #, no-wrap
354 msgid "RETURN VALUE"
355 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
356
357 #. type: Plain text
358 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
359 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
360 #, fuzzy
361 #| msgid ""
362 #| "When successful, B<epoll_wait>() returns the number of file descriptors "
363 #| "ready for the requested I/O, or zero if no file descriptor became ready "
364 #| "during the requested I<timeout> milliseconds. When an error occurs, "
365 #| "B<epoll_wait>() returns -1 and I<errno> is set appropriately."
366 msgid ""
367 "On success, B<epoll_wait>() returns the number of file descriptors ready "
368 "for the requested I/O operation, or zero if no file descriptor became ready "
369 "during the requested I<timeout> milliseconds. On failure, B<epoll_wait>() "
370 "returns -1 and I<errno> is set to indicate the error."
371 msgstr ""
372 "При нормальном выполнении B<epoll_wait>() возвращает количество файловых "
373 "дескрипторов, готовых для запросов ввода-вывода, или ноль, если ни один "
374 "файловый дескриптор не стал готов за отведённые I<timeout> миллисекунд. При "
375 "возникновении ошибки B<epoll_wait>() возвращает -1 и устанавливает I<errno> "
376 "в соответствующее значение."
377
378 #. type: SH
379 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
380 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
381 #, no-wrap
382 msgid "ERRORS"
383 msgstr "ОШИБКИ"
384
385 #. type: TP
386 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
387 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
388 #, no-wrap
389 msgid "B<EBADF>"
390 msgstr "B<EBADF>"
391
392 #. type: Plain text
393 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
394 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
395 msgid "I<epfd> is not a valid file descriptor."
396 msgstr "Значение I<epfd> не является правильным файловым дескриптором."
397
398 #. type: TP
399 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
400 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
401 #, no-wrap
402 msgid "B<EFAULT>"
403 msgstr "B<EFAULT>"
404
405 #. type: Plain text
406 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
407 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
408 msgid ""
409 "The memory area pointed to by I<events> is not accessible with write "
410 "permissions."
411 msgstr "Память, указанная I<events>, недоступна на запись из-за прав доступа."
412
413 #. type: TP
414 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
415 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
416 #, no-wrap
417 msgid "B<EINTR>"
418 msgstr "B<EINTR>"
419
420 #. type: Plain text
421 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
422 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
423 msgid ""
424 "The call was interrupted by a signal handler before either (1) any of the "
425 "requested events occurred or (2) the I<timeout> expired; see B<signal>(7)."
426 msgstr ""
427 "Вызов был прерван обработчиком сигнала до возникновения любого из "
428 "запрошенных событий или истечения I<timeout>; см. B<signal>(7)."
429
430 #. type: TP
431 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
432 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
433 #, no-wrap
434 msgid "B<EINVAL>"
435 msgstr "B<EINVAL>"
436
437 #. type: Plain text
438 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
439 #: opensuse-tumbleweed
440 #, fuzzy
441 #| msgid ""
442 #| "I<epfd> is not an B<epoll> file descriptor, or I<maxevents> is less than "
443 #| "or equal to zero."
444 msgid ""
445 "I<epfd> is not an B<epoll> file descriptor, or I<n> is less than or equal to "
446 "zero."
447 msgstr ""
448 "I<epfd> не является файловым дескриптором B<epoll>, или I<maxevents> меньше "
449 "или равно нулю."
450
451 #. type: SH
452 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
453 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
454 #, no-wrap
455 msgid "STANDARDS"
456 msgstr "СТАНДАРТЫ"
457
458 #. type: Plain text
459 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
460 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
461 msgid "Linux."
462 msgstr "Linux."
463
464 #. type: SH
465 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
466 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
467 #, no-wrap
468 msgid "HISTORY"
469 msgstr "ИСТОРИЯ"
470
471 #. type: TP
472 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
473 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
474 #, no-wrap
475 msgid "B<epoll_wait>()"
476 msgstr "B<epoll_wait>()"
477
478 #. To be precise: Linux 2.5.44.
479 #. The interface should be finalized by Linux 2.5.66.
480 #. type: Plain text
481 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
482 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
483 msgid "Linux 2.6, glibc 2.3.2."
484 msgstr "Linux 2.6, glibc 2.3.2."
485
486 #. type: TP
487 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
488 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
489 #, no-wrap
490 msgid "B<epoll_pwait>()"
491 msgstr "B<epoll_pwait>()"
492
493 #. type: Plain text
494 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
495 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
496 msgid "Linux 2.6.19, glibc 2.6."
497 msgstr "Linux 2.6.19, glibc 2.6."
498
499 #. type: TP
500 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
501 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
502 #, no-wrap
503 msgid "B<epoll_pwait2>()"
504 msgstr "B<epoll_pwait2>()"
505
506 #. type: Plain text
507 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
508 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
509 msgid "Linux 5.11."
510 msgstr "Linux 5.11."
511
512 #. type: SH
513 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
514 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
515 #, no-wrap
516 msgid "NOTES"
517 msgstr "ПРИМЕЧАНИЯ"
518
519 #. type: Plain text
520 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
521 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
522 msgid ""
523 "While one thread is blocked in a call to B<epoll_wait>(), it is possible for "
524 "another thread to add a file descriptor to the waited-upon B<epoll> "
525 "instance. If the new file descriptor becomes ready, it will cause the "
526 "B<epoll_wait>() call to unblock."
527 msgstr ""
528 "Пока одна нить блокирована в вызове B<epoll_wait>(), в другой нити возможно "
529 "добавить файловый дескриптор, который будет ожидаться экземпляром B<epoll>. "
530 "Как только новый файловый дескриптор станет готовым, это разблокирует вызов "
531 "B<epoll_wait>()."
532
533 #. type: Plain text
534 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
535 #: opensuse-tumbleweed
536 #, fuzzy
537 #| msgid ""
538 #| "If more than I<maxevents> file descriptors are ready when "
539 #| "B<epoll_wait>() is called, then successive B<epoll_wait>() calls will "
540 #| "round robin through the set of ready file descriptors. This behavior "
541 #| "helps avoid starvation scenarios, where a process fails to notice that "
542 #| "additional file descriptors are ready because it focuses on a set of file "
543 #| "descriptors that are already known to be ready."
544 msgid ""
545 "If more than I<n> file descriptors are ready when B<epoll_wait>() is "
546 "called, then successive B<epoll_wait>() calls will round robin through the "
547 "set of ready file descriptors. This behavior helps avoid starvation "
548 "scenarios, where a process fails to notice that additional file descriptors "
549 "are ready because it focuses on a set of file descriptors that are already "
550 "known to be ready."
551 msgstr ""
552 "Если готово более I<maxevents> файловых дескрипторов при вызове "
553 "B<epoll_wait>(), то последующие вызовы B<epoll_wait>() циклически обработают "
554 "весь набор готовых файловых дескрипторов. Такое поведение помогает избежать "
555 "голодания — когда процесс не уведомляется, что дополнительные файловые "
556 "дескрипторы готовы, так как он нацелен на набор файловых дескрипторов, про "
557 "которые уже известно об их готовности."
558
559 #. type: Plain text
560 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
561 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
562 msgid ""
563 "Note that it is possible to call B<epoll_wait>() on an B<epoll> instance "
564 "whose interest list is currently empty (or whose interest list becomes empty "
565 "because file descriptors are closed or removed from the interest in another "
566 "thread). The call will block until some file descriptor is later added to "
567 "the interest list (in another thread) and that file descriptor becomes ready."
568 msgstr ""
569 "Заметим, что возможно вызвать B<epoll_wait>() для экземпляра B<epoll>, чей "
570 "список interest ещё пуст (или чей список interest станет пустым, так как "
571 "файловые дескрипторы закрыты или удалены из interest в другой нити). Вызов "
572 "будет заблокирован до тех пор, пока какой-нибудь файловый дескриптор не "
573 "будет добавлен в список interest (в другой нити) и этот файлоый дескриптор "
574 "не станет готовым."
575
576 #. type: SS
577 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
578 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
579 #, no-wrap
580 msgid "C library/kernel differences"
581 msgstr "Отличия между библиотекой C и ядром"
582
583 #. type: Plain text
584 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
585 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
586 #, fuzzy
587 #| msgid ""
588 #| "The raw B<epoll_pwait>() system call has a sixth argument, I<size_t "
589 #| "sigsetsize>, which specifies the size in bytes of the I<sigmask> "
590 #| "argument. The glibc B<epoll_pwait>() wrapper function specifies this "
591 #| "argument as a fixed value (equal to I<sizeof(sigset_t)>)."
592 msgid ""
593 "The raw B<epoll_pwait>() and B<epoll_pwait2>() system calls have a sixth "
594 "argument, I<size_t sigsetsize>, which specifies the size in bytes of the "
595 "I<sigmask> argument. The glibc B<epoll_pwait>() wrapper function specifies "
596 "this argument as a fixed value (equal to I<sizeof(sigset_t)>)."
597 msgstr ""
598 "Ядерный системный вызов B<epoll_pwait>() имеет шестой аргумент, I<size_t "
599 "sigsetsize>, в котором указывается размер аргумента I<sigmask> в байтах. В "
600 "обёрточной функции glibc B<epoll_pwait>() в этом аргументе передаётся "
601 "постоянная величина (равная I<sizeof(sigset_t)>)."
602
603 #. type: SH
604 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
605 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
606 #, no-wrap
607 msgid "BUGS"
608 msgstr "ПРОГРАММНЫЕ ОШИБКИ"
609
610 #. type: Plain text
611 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
612 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
613 #, fuzzy
614 #| msgid ""
615 #| "In kernels before 2.6.37, a I<timeout> value larger than approximately "
616 #| "I<LONG_MAX / HZ> milliseconds is treated as -1 (i.e., infinity). Thus, "
617 #| "for example, on a system where I<sizeof(long)> is 4 and the kernel I<HZ> "
618 #| "value is 1000, this means that timeouts greater than 35.79 minutes are "
619 #| "treated as infinity."
620 msgid ""
621 "Before Linux 2.6.37, a I<timeout> value larger than approximately "
622 "I<LONG_MAX / HZ> milliseconds is treated as -1 (i.e., infinity). Thus, for "
623 "example, on a system where I<sizeof(long)> is 4 and the kernel I<HZ> value "
624 "is 1000, this means that timeouts greater than 35.79 minutes are treated as "
625 "infinity."
626 msgstr ""
627 "В ядрах до версии 2.6.37, если значение I<timeout> больше чем "
628 "приблизительное I<LONG_MAX / HZ> секунд, то оно воспринимается как -1 (т.е., "
629 "бесконечность). То есть, например, в системе, где I<sizeof(long)> равно 4 и "
630 "значение ядра I<HZ> равно 1000, задержка более 35,79 минут считается "
631 "бесконечностью."
632
633 #. type: SH
634 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
635 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
636 #, no-wrap
637 msgid "SEE ALSO"
638 msgstr "СМОТРИТЕ ТАКЖЕ"
639
640 #. type: Plain text
641 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
642 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
643 msgid "B<epoll_create>(2), B<epoll_ctl>(2), B<epoll>(7)"
644 msgstr "B<epoll_create>(2), B<epoll_ctl>(2), B<epoll>(7)"
645
646 #. type: TH
647 #: debian-trixie
648 #, no-wrap
649 msgid "2024-05-02"
650 msgstr "2 мая 2024 г."
651
652 #. type: TH
653 #: debian-trixie
654 #, no-wrap
655 msgid "Linux man-pages 6.9.1"
656 msgstr "Страницы руководства Linux 6.9.1"
657
658 #. type: Plain text
659 #: debian-trixie
660 msgid "Standard C library (I<libc>, I<-lc>)"
661 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
662
663 #. type: Plain text
664 #: debian-trixie
665 #, no-wrap
666 msgid ""
667 "B<int epoll_wait(int >I<epfd>B<, struct epoll_event *>I<events>B<,>\n"
668 "B< int >I<maxevents>B<, int >I<timeout>B<);>\n"
669 "B<int epoll_pwait(int >I<epfd>B<, struct epoll_event *>I<events>B<,>\n"
670 "B< int >I<maxevents>B<, int >I<timeout>B<,>\n"
671 "B< const sigset_t *_Nullable >I<sigmask>B<);>\n"
672 "B<int epoll_pwait2(int >I<epfd>B<, struct epoll_event *>I<events>B<,>\n"
673 "B< int >I<maxevents>B<, const struct timespec *_Nullable >I<timeout>B<,>\n"
674 "B< const sigset_t *_Nullable >I<sigmask>B<);>\n"
675 msgstr ""
676 "B<int epoll_wait(int >I<epfd>B<, struct epoll_event *>I<events>B<,>\n"
677 "B< int >I<maxevents>B<, int >I<timeout>B<);>\n"
678 "B<int epoll_pwait(int >I<epfd>B<, struct epoll_event *>I<events>B<,>\n"
679 "B< int >I<maxevents>B<, int >I<timeout>B<,>\n"
680 "B< const sigset_t *_Nullable >I<sigmask>B<);>\n"
681 "B<int epoll_pwait2(int >I<epfd>B<, struct epoll_event *>I<events>B<,>\n"
682 "B< int >I<maxevents>B<, const struct timespec *_Nullable >I<timeout>B<,>\n"
683 "B< const sigset_t *_Nullable >I<sigmask>B<);>\n"
684
685 #. type: Plain text
686 #: debian-trixie fedora-44 fedora-rawhide
687 #, fuzzy
688 #| msgid ""
689 #| "The B<epoll_wait>() system call waits for events on the B<epoll>(7) "
690 #| "instance referred to by the file descriptor I<epfd>. The memory area "
691 #| "pointed to by I<events> will contain the events that will be available "
692 #| "for the caller. Up to I<maxevents> are returned by B<epoll_wait>(). The "
693 #| "I<maxevents> argument must be greater than zero."
694 msgid ""
695 "The B<epoll_wait>() system call waits for events on the B<epoll>(7) "
696 "instance referred to by the file descriptor I<epfd>. The buffer pointed to "
697 "by I<events> is used to return information from the ready list about file "
698 "descriptors in the interest list that have some events available. Up to "
699 "I<maxevents> are returned by B<epoll_wait>(). The I<maxevents> argument "
700 "must be greater than zero."
701 msgstr ""
702 "Системный вызов B<epoll_wait>() ожидает события на экземпляре B<epoll>(7), "
703 "на который указывает файловый дескриптор I<epfd>. Область памяти, на которую "
704 "указывает I<events>, будет содержать события, доступные для вызываемого. "
705 "Вызов B<epoll_wait>() может вернуть до I<maxevents> событий. Параметр "
706 "I<maxevents> должен быть больше нуля."
707
708 #. type: Plain text
709 #: debian-trixie fedora-44 fedora-rawhide
710 #, no-wrap
711 msgid "ready = epoll_pwait(epfd, &events, maxevents, timeout, &sigmask);\n"
712 msgstr "ready = epoll_pwait(epfd, &events, maxevents, timeout, &sigmask);\n"
713
714 #. type: Plain text
715 #: debian-trixie fedora-44 fedora-rawhide
716 #, no-wrap
717 msgid ""
718 "sigset_t origmask;\n"
719 "\\&\n"
720 "pthread_sigmask(SIG_SETMASK, &sigmask, &origmask);\n"
721 "ready = epoll_wait(epfd, &events, maxevents, timeout);\n"
722 "pthread_sigmask(SIG_SETMASK, &origmask, NULL);\n"
723 msgstr ""
724 "sigset_t origmask;\n"
725 "\\&\n"
726 "pthread_sigmask(SIG_SETMASK, &sigmask, &origmask);\n"
727 "ready = epoll_wait(epfd, &events, maxevents, timeout);\n"
728 "pthread_sigmask(SIG_SETMASK, &origmask, NULL);\n"
729
730 #. type: Plain text
731 #: debian-trixie fedora-44 fedora-rawhide
732 msgid ""
733 "I<epfd> is not an B<epoll> file descriptor, or I<maxevents> is less than or "
734 "equal to zero."
735 msgstr ""
736 "I<epfd> не является файловым дескриптором B<epoll>, или I<maxevents> меньше "
737 "или равно нулю."
738
739 #. type: Plain text
740 #: debian-trixie fedora-44 fedora-rawhide
741 msgid ""
742 "If more than I<maxevents> file descriptors are ready when B<epoll_wait>() "
743 "is called, then successive B<epoll_wait>() calls will round robin through "
744 "the set of ready file descriptors. This behavior helps avoid starvation "
745 "scenarios, where a process fails to notice that additional file descriptors "
746 "are ready because it focuses on a set of file descriptors that are already "
747 "known to be ready."
748 msgstr ""
749 "Если готово более I<maxevents> файловых дескрипторов при вызове "
750 "B<epoll_wait>(), то последующие вызовы B<epoll_wait>() циклически обработают "
751 "весь набор готовых файловых дескрипторов. Такое поведение помогает избежать "
752 "голодания — когда процесс не уведомляется, что дополнительные файловые "
753 "дескрипторы готовы, так как он нацелен на набор файловых дескрипторов, про "
754 "которые уже известно об их готовности."
755
756 #. type: TH
757 #: fedora-44 fedora-rawhide
758 #, no-wrap
759 msgid "2024-12-14"
760 msgstr "14 декабря 2024 г."
761
762 #. type: TH
763 #: fedora-44 fedora-rawhide
764 #, no-wrap
765 msgid "Linux man-pages 6.13"
766 msgstr "Страницы руководства Linux 6.13"
767
768 #. type: Plain text
769 #: fedora-44 fedora-rawhide
770 #, fuzzy, no-wrap
771 #| msgid ""
772 #| "B<int epoll_wait(int >I<epfd>B<, struct epoll_event *>I<events>B<,>\n"
773 #| "B< int >I<maxevents>B<, int >I<timeout>B<);>\n"
774 #| "B<int epoll_pwait(int >I<epfd>B<, struct epoll_event *>I<events>B<,>\n"
775 #| "B< int >I<maxevents>B<, int >I<timeout>B<,>\n"
776 #| "B< const sigset_t *_Nullable >I<sigmask>B<);>\n"
777 #| "B<int epoll_pwait2(int >I<epfd>B<, struct epoll_event *>I<events>B<,>\n"
778 #| "B< int >I<maxevents>B<, const struct timespec *_Nullable >I<timeout>B<,>\n"
779 #| "B< const sigset_t *_Nullable >I<sigmask>B<);>\n"
780 msgid ""
781 "B<int epoll_wait(int >I<epfd>B<, struct epoll_event >I<events>B<[.>I<maxevents>B<],>\n"
782 "B< int >I<maxevents>B<, int >I<timeout>B<);>\n"
783 "B<int epoll_pwait(int >I<epfd>B<, struct epoll_event >I<events>B<[.>I<maxevents>B<],>\n"
784 "B< int >I<maxevents>B<, int >I<timeout>B<,>\n"
785 "B< const sigset_t *_Nullable >I<sigmask>B<);>\n"
786 "B<int epoll_pwait2(int >I<epfd>B<, struct epoll_event >I<events>B<[.>I<maxevents>B<],>\n"
787 "B< int >I<maxevents>B<, const struct timespec *_Nullable >I<timeout>B<,>\n"
788 "B< const sigset_t *_Nullable >I<sigmask>B<);>\n"
789 msgstr ""
790 "B<int epoll_wait(int >I<epfd>B<, struct epoll_event *>I<events>B<,>\n"
791 "B< int >I<maxevents>B<, int >I<timeout>B<);>\n"
792 "B<int epoll_pwait(int >I<epfd>B<, struct epoll_event *>I<events>B<,>\n"
793 "B< int >I<maxevents>B<, int >I<timeout>B<,>\n"
794 "B< const sigset_t *_Nullable >I<sigmask>B<);>\n"
795 "B<int epoll_pwait2(int >I<epfd>B<, struct epoll_event *>I<events>B<,>\n"
796 "B< int >I<maxevents>B<, const struct timespec *_Nullable >I<timeout>B<,>\n"
797 "B< const sigset_t *_Nullable >I<sigmask>B<);>\n"
798
799 #. type: TH
800 #: mageia-cauldron
801 #, no-wrap
802 msgid "Linux man-pages 6.17"
803 msgstr "Страницы руководства Linux 6.17"
804
805 #. type: TH
806 #: opensuse-leap-16-1 opensuse-tumbleweed
807 #, no-wrap
808 msgid "Linux man-pages (unreleased)"
809 msgstr "Страницы руководства Linux (не выпущены)"