Debian Codegraph @

po/ru/man2/accept.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 # Dmitry Bolkhovskikh <[email protected]>, 2017.
5 # Yuri Kozlov <[email protected]>, 2012-2019.
6 # Aleksandr Felda <[email protected]>, 2024.
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: manpages-l10n 4.23.1\n"
10 "POT-Creation-Date: 2026-06-05 06:17+0200\n"
11 "PO-Revision-Date: 2024-12-21 19:49+0300\n"
12 "Last-Translator: Aleksandr Felda <[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 "X-Generator: Poedit 3.2.2\n"
19
20 #. type: TH
21 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
22 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
23 #, no-wrap
24 msgid "accept"
25 msgstr "accept"
26
27 #. type: TH
28 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
29 #: opensuse-tumbleweed
30 #, no-wrap
31 msgid "2025-10-29"
32 msgstr "29 октября 2025 г."
33
34 #. type: TH
35 #: archlinux debian-unstable
36 #, fuzzy, no-wrap
37 #| msgid "Linux man-pages 6.17"
38 msgid "Linux man-pages 6.18"
39 msgstr "Справочные страницы Linux 6.17"
40
41 #. type: SH
42 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
43 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
44 #, no-wrap
45 msgid "NAME"
46 msgstr "НАИМЕНОВАНИЕ"
47
48 #. type: Plain text
49 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
50 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
51 msgid "accept, accept4 - accept a connection on a socket"
52 msgstr "accept, accept4 - принять соединение через сокет"
53
54 #. type: SH
55 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
56 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
57 #, no-wrap
58 msgid "LIBRARY"
59 msgstr "БИБЛИОТЕКА"
60
61 #. type: Plain text
62 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
63 #: opensuse-leap-16-1 opensuse-tumbleweed
64 msgid "Standard C library (I<libc>,\\ I<-lc>)"
65 msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)"
66
67 #. type: SH
68 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
69 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
70 #, no-wrap
71 msgid "SYNOPSIS"
72 msgstr "СИНТАКСИС"
73
74 #. type: Plain text
75 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
76 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
77 #, no-wrap
78 msgid "B<#include E<lt>sys/socket.hE<gt>>\n"
79 msgstr "B<#include E<lt>sys/socket.hE<gt>>\n"
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 ""
86 "B<int accept(int >I<sockfd>B<, struct sockaddr *_Nullable restrict >I<addr>B<,>\n"
87 "B< socklen_t *_Nullable restrict >I<addrlen>B<);>\n"
88 msgstr ""
89 "B<int accept(int >I<sockfd>B<, struct sockaddr *_Nullable restrict >I<addr>B<,>\n"
90 "B< socklen_t *_Nullable restrict >I<addrlen>B<);>\n"
91
92 #. type: Plain text
93 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
94 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
95 #, no-wrap
96 msgid ""
97 "B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n"
98 "B<#include E<lt>sys/socket.hE<gt>>\n"
99 msgstr ""
100 "B<#define _GNU_SOURCE> /* Смотрите feature_test_macros(7) */\n"
101 "B<#include E<lt>sys/socket.hE<gt>>\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 #, no-wrap
107 msgid ""
108 "B<int accept4(int >I<sockfd>B<, struct sockaddr *_Nullable restrict >I<addr>B<,>\n"
109 "B< socklen_t *_Nullable restrict >I<addrlen>B<, int >I<flags>B<);>\n"
110 msgstr ""
111 "B<int accept4(int >I<sockfd>B<, struct sockaddr *_Nullable restrict >I<addr>B<,>\n"
112 "B< socklen_t *_Nullable restrict >I<addrlen>B<, int >I<flags>B<);>\n"
113
114 #. type: SH
115 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
116 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
117 #, no-wrap
118 msgid "DESCRIPTION"
119 msgstr "ОПИСАНИЕ"
120
121 #. type: Plain text
122 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
123 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
124 msgid ""
125 "The B<accept>() system call is used with connection-based socket types "
126 "(B<SOCK_STREAM>, B<SOCK_SEQPACKET>). It extracts the first connection "
127 "request on the queue of pending connections for the listening socket, "
128 "I<sockfd>, creates a new connected socket, and returns a new file descriptor "
129 "referring to that socket. The newly created socket is not in the listening "
130 "state. The original socket I<sockfd> is unaffected by this call."
131 msgstr ""
132 "Системный вызов B<accept>() используется с типами сокетов, основанными на "
133 "соединении (B<SOCK_STREAM>, B<SOCK_SEQPACKET>).Он извлекает первый запрос на "
134 "соединение из очереди ожидающих соединений для прослушивающего сокета, "
135 "I<sockfd>, создаёт новый подключенный сокет и возвращает новый файловый "
136 "дескриптор, указывающий на сокет. Новый сокет более не находится в слушающем "
137 "состоянии. Исходный сокет I<sockfd> не изменяется при этом вызове."
138
139 #. type: Plain text
140 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
141 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
142 msgid ""
143 "The argument I<sockfd> is a socket that has been created with B<socket>(2), "
144 "bound to a local address with B<bind>(2), and is listening for connections "
145 "after a B<listen>(2)."
146 msgstr ""
147 "Аргумент I<sockfd> - сокет, который был создан с помощью B<socket>(2), "
148 "привязанный к локальному адресу с помощью B<bind>(2) и прослушивающий "
149 "соединения после B<listen>(2)."
150
151 #. type: Plain text
152 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
153 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
154 msgid ""
155 "The argument I<addr> is a pointer to a I<sockaddr> structure. This "
156 "structure is filled in with the address of the peer socket, as known to the "
157 "communications layer. The exact format of the address returned I<addr> is "
158 "determined by the socket's address family (see B<socket>(2) and the "
159 "respective protocol man pages). When I<addr> is NULL, nothing is filled in; "
160 "in this case, I<addrlen> is not used, and should also be NULL."
161 msgstr ""
162 "Аргумент I<addr> - указатель на структуру I<sockaddr>. Эта структура "
163 "заполняется адресом равноправного сокета, который известен коммуникационному "
164 "уровню.Точный формат адреса, возвращаемого в параметре I<addr>, определяется "
165 "семейством адресов сокета (смотрите B<socket>(2) и страницу руководства "
166 "соответствующего протокола). Если I<addr> равен NULL, то ничего не "
167 "помещается; в этом случае I<addrlen> не используется и также должен быть "
168 "NULL."
169
170 #. type: Plain text
171 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
172 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
173 msgid ""
174 "The I<addrlen> argument is a value-result argument: the caller must "
175 "initialize it to contain the size (in bytes) of the structure pointed to by "
176 "I<addr>; on return it will contain the actual size of the peer address."
177 msgstr ""
178 "С помощью аргумента I<addrlen> осуществляется возврат результата: вызывающая "
179 "сторона должна указать в нём размер (в байтах) структуры, на которую "
180 "указывает I<addr>; при возврате он будет содержать фактический размер "
181 "равноправного адреса."
182
183 #. type: Plain text
184 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
185 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
186 msgid ""
187 "The returned address is truncated if the buffer provided is too small; in "
188 "this case, I<addrlen> will return a value greater than was supplied to the "
189 "call."
190 msgstr ""
191 "Возвращаемый адрес урежется, если предоставленный буфер окажется слишком "
192 "маленьким; в этом случае в I<addrlen> будет возвращено значение большее чем "
193 "было в вызове."
194
195 #. type: Plain text
196 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
197 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
198 msgid ""
199 "If no pending connections are present on the queue, and the socket is not "
200 "marked as nonblocking, B<accept>() blocks the caller until a connection is "
201 "present. If the socket is marked nonblocking and no pending connections are "
202 "present on the queue, B<accept>() fails with the error B<EAGAIN> or "
203 "B<EWOULDBLOCK>."
204 msgstr ""
205 "Если в очереди нет ожидающих запросов на соединение и сокет не помечен как "
206 "неблокирующий, то B<accept>() заблокирует вызвавшую программу до появления "
207 "соединения. Если сокет помечен как неблокирующий, а в очереди нет запросов "
208 "на соединение, то B<accept>() завершится с ошибкой B<EAGAIN> или "
209 "B<EWOULDBLOCK>."
210
211 #. type: Plain text
212 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
213 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
214 msgid ""
215 "In order to be notified of incoming connections on a socket, you can use "
216 "B<select>(2), B<poll>(2), or B<epoll>(7). A readable event will be "
217 "delivered when a new connection is attempted and you may then call "
218 "B<accept>() to get a socket for that connection. Alternatively, you can "
219 "set the socket to deliver B<SIGIO> when activity occurs on a socket; see "
220 "B<socket>(7) for details."
221 msgstr ""
222 "Для того, чтобы получать уведомления о входящих соединениях через сокет, "
223 "можно использовать B<select>(2), B<poll>(2) или B<epoll>(7). При попытке "
224 "нового соединения будет выдано сообщение о чтении, после чего вы сможете "
225 "вызвать B<accept>(), чтобы получить сокет для этого соединения. Можно также "
226 "настроить сокет так, чтобы он посылал сигнал B<SIGIO>, когда на нём "
227 "происходит какая-либо активность; более подробно смотрите в B<socket>(7)."
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 msgid ""
233 "If I<flags> is 0, then B<accept4>() is the same as B<accept>(). The "
234 "following values can be bitwise ORed in I<flags> to obtain different "
235 "behavior:"
236 msgstr ""
237 "Если значение I<flags> равно 0, то вызов B<accept4>() равнозначен "
238 "B<accept>(). К следующим значениям в I<flags> может быть применена операция "
239 "поразрядного логического ИЛИ для получения различного поведения:"
240
241 #. type: TP
242 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
243 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
244 #, no-wrap
245 msgid "B<SOCK_NONBLOCK>"
246 msgstr "B<SOCK_NONBLOCK>"
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 "Set the B<O_NONBLOCK> file status flag on the open file description (see "
253 "B<open>(2)) referred to by the new file descriptor. Using this flag saves "
254 "extra calls to B<fcntl>(2) to achieve the same result."
255 msgstr ""
256 "Устанавливает флаг состояния файла B<O_NONBLOCK> для нового открытого "
257 "файлового описания (смотрите B<open>(2)), на которое ссылается новый "
258 "файловый дескриптор. Использование данного флага делает ненужными "
259 "дополнительные вызовы B<fcntl>(2) для достижения того же результата."
260
261 #. type: TP
262 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
263 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
264 #, no-wrap
265 msgid "B<SOCK_CLOEXEC>"
266 msgstr "B<SOCK_CLOEXEC>"
267
268 #. type: Plain text
269 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
270 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
271 msgid ""
272 "Set the close-on-exec (B<FD_CLOEXEC>) flag on the new file descriptor. See "
273 "the description of the B<O_CLOEXEC> flag in B<open>(2) for reasons why this "
274 "may be useful."
275 msgstr ""
276 "Устанавливает флаг close-on-exec (B<FD_CLOEXEC>) для нового открытого "
277 "файлового дескриптора. Смотрите описание флага B<O_CLOEXEC> в B<open>(2) для "
278 "того, чтобы узнать как это может пригодиться."
279
280 #. type: SH
281 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
282 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
283 #, no-wrap
284 msgid "RETURN VALUE"
285 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
286
287 #. type: Plain text
288 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
289 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
290 msgid ""
291 "On success, these system calls return a file descriptor for the accepted "
292 "socket (a nonnegative integer). On error, -1 is returned, I<errno> is set "
293 "to indicate the error, and I<addrlen> is left unchanged."
294 msgstr ""
295 "При успешном выполнении эти системные вызовы возвращают файловый дескриптор "
296 "для принятого сокета (неотрицательное целое число). В случае ошибки "
297 "возвращается -1, I<errno>, которое является сообщением об ошибке, а значение "
298 "I<addrlen> не изменяется."
299
300 #. type: SS
301 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
302 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
303 #, no-wrap
304 msgid "Error handling"
305 msgstr "Обработка ошибок"
306
307 #. type: Plain text
308 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
309 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
310 msgid ""
311 "Linux B<accept>() (and B<accept4>()) passes already-pending network errors "
312 "on the new socket as an error code from B<accept>(). This behavior differs "
313 "from other BSD socket implementations. For reliable operation the "
314 "application should detect the network errors defined for the protocol after "
315 "B<accept>() and treat them like B<EAGAIN> by retrying. In the case of TCP/"
316 "IP, these are B<ENETDOWN>, B<EPROTO>, B<ENOPROTOOPT>, B<EHOSTDOWN>, "
317 "B<ENONET>, B<EHOSTUNREACH>, B<EOPNOTSUPP>, and B<ENETUNREACH>."
318 msgstr ""
319 "В реализации Linux B<accept>() (и B<accept4>()) передаёт уже ожидающие "
320 "сетевые ошибки на новый сокет, как код ошибки из вызова B<accept>(). Это "
321 "поведение отличается от других реализаций BSD-сокетов. Для надёжной работы "
322 "приложения должны отслеживать сетевые ошибки, которые могут появиться при "
323 "работе B<accept>() с протоколом и обрабатывать их как B<EAGAIN> повторно "
324 "выполняя вызов. В случае TCP/IP такими ошибками являются B<ENETDOWN>, "
325 "B<EPROTO>, B<ENOPROTOOPT>, B<EHOSTDOWN>, B<ENONET>, B<EHOSTUNREACH>, "
326 "B<EOPNOTSUPP> и B<ENETUNREACH>."
327
328 #. type: SH
329 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
330 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
331 #, no-wrap
332 msgid "ERRORS"
333 msgstr "ОШИБКИ"
334
335 #. type: TP
336 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
337 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
338 #, no-wrap
339 msgid "B<EAGAIN> or B<EWOULDBLOCK>"
340 msgstr "B<EAGAIN> или B<EWOULDBLOCK>"
341
342 #. Actually EAGAIN on Linux
343 #. type: Plain text
344 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
345 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
346 msgid ""
347 "The socket is marked nonblocking and no connections are present to be "
348 "accepted. POSIX.1-2001 and POSIX.1-2008 allow either error to be returned "
349 "for this case, and do not require these constants to have the same value, so "
350 "a portable application should check for both possibilities."
351 msgstr ""
352 "Сокет помечен как неблокирующий и нет ни одного соединения, которое можно "
353 "было бы принять. В POSIX.1-2001 и POSIX.1-2008 допускается в этих случаях "
354 "возвращение ошибки, но не требуется, чтобы эти константы имели одинаковое "
355 "значение, поэтому переносимое приложение должно проверять обе возможности."
356
357 #. type: TP
358 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
359 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
360 #, no-wrap
361 msgid "B<EBADF>"
362 msgstr "B<EBADF>"
363
364 #. type: Plain text
365 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
366 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
367 msgid "I<sockfd> is not an open file descriptor."
368 msgstr "Значение I<sockfd> не является открытым файловым дескриптором."
369
370 #. type: TP
371 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
372 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
373 #, no-wrap
374 msgid "B<ECONNABORTED>"
375 msgstr "B<ECONNABORTED>"
376
377 #. type: Plain text
378 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
379 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
380 msgid "A connection has been aborted."
381 msgstr "Соединение было прервано."
382
383 #. type: TP
384 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
385 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
386 #, no-wrap
387 msgid "B<EFAULT>"
388 msgstr "B<EFAULT>"
389
390 #. type: Plain text
391 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
392 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
393 msgid ""
394 "The I<addr> argument is not in a writable part of the user address space."
395 msgstr ""
396 "Аргумент I<addr> не находится в пользовательском пространстве адресов с "
397 "возможностью записи."
398
399 #. type: TP
400 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
401 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
402 #, no-wrap
403 msgid "B<EINTR>"
404 msgstr "B<EINTR>"
405
406 #. type: Plain text
407 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
408 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
409 msgid ""
410 "The system call was interrupted by a signal that was caught before a valid "
411 "connection arrived; see B<signal>(7)."
412 msgstr ""
413 "Системный вызов был прерван сигналом, который был перехвачен до того, как "
414 "было установлено действительное соединение; смотрите B<signal>(7)."
415
416 #. type: TP
417 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
418 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
419 #, no-wrap
420 msgid "B<EINVAL>"
421 msgstr "B<EINVAL>"
422
423 #. type: Plain text
424 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
425 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
426 msgid ""
427 "Socket is not listening for connections, or I<addrlen> is invalid (e.g., is "
428 "negative)."
429 msgstr ""
430 "Сокет не слушает соединения или недопустимое значение I<addrlen> (например, "
431 "отрицательное)."
432
433 #. type: Plain text
434 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
435 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
436 msgid "(B<accept4>()) invalid value in I<flags>."
437 msgstr "(B<accept4>()) недопустимое значение в I<flags>."
438
439 #. type: TP
440 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
441 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
442 #, no-wrap
443 msgid "B<EMFILE>"
444 msgstr "B<EMFILE>"
445
446 #. type: Plain text
447 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
448 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
449 msgid ""
450 "The per-process limit on the number of open file descriptors has been "
451 "reached."
452 msgstr ""
453 "Было достигнуто ограничение по количеству открытых файловых дескрипторов на "
454 "процесс."
455
456 #. type: TP
457 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
458 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
459 #, no-wrap
460 msgid "B<ENFILE>"
461 msgstr "B<ENFILE>"
462
463 #. type: Plain text
464 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
465 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
466 msgid ""
467 "The system-wide limit on the total number of open files has been reached."
468 msgstr "Достигнуто максимальное количество открытых файлов в системе."
469
470 #. type: TP
471 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
472 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
473 #, no-wrap
474 msgid "B<ENOBUFS>"
475 msgstr "B<ENOBUFS>"
476
477 #. type: TQ
478 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
479 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
480 #, no-wrap
481 msgid "B<ENOMEM>"
482 msgstr "B<ENOMEM>"
483
484 #. type: Plain text
485 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
486 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
487 msgid ""
488 "Not enough free memory. This often means that the memory allocation is "
489 "limited by the socket buffer limits, not by the system memory."
490 msgstr ""
491 "Не хватает свободной памяти. Это зачастую означает, что выделение памяти "
492 "ограничено размерами буфера сокетов, а не системной памятью."
493
494 #. type: TP
495 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
496 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
497 #, no-wrap
498 msgid "B<ENOTSOCK>"
499 msgstr "B<ENOTSOCK>"
500
501 #. type: Plain text
502 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
503 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
504 msgid "The file descriptor I<sockfd> does not refer to a socket."
505 msgstr "Файловый дескриптор I<sockfd> указывает не на каталог."
506
507 #. type: TP
508 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
509 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
510 #, no-wrap
511 msgid "B<EOPNOTSUPP>"
512 msgstr "B<EOPNOTSUPP>"
513
514 #. type: Plain text
515 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
516 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
517 msgid "The referenced socket is not of type B<SOCK_STREAM>."
518 msgstr "Указанный сокет не относится к типу B<SOCK_STREAM>."
519
520 #. type: TP
521 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
522 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
523 #, no-wrap
524 msgid "B<EPERM>"
525 msgstr "B<EPERM>"
526
527 #. type: Plain text
528 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
529 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
530 msgid "Firewall rules forbid connection."
531 msgstr "Правила межсетевого экрана запрещают соединение."
532
533 #. type: TP
534 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
535 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
536 #, no-wrap
537 msgid "B<EPROTO>"
538 msgstr "B<EPROTO>"
539
540 #. type: Plain text
541 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
542 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
543 msgid "Protocol error."
544 msgstr "Ошибка протокола."
545
546 #. type: Plain text
547 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
548 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
549 msgid ""
550 "In addition, network errors for the new socket and as defined for the "
551 "protocol may be returned. Various Linux kernels can return other errors "
552 "such as B<ENOSR>, B<ESOCKTNOSUPPORT>, B<EPROTONOSUPPORT>, B<ETIMEDOUT>. The "
553 "value B<ERESTARTSYS> may be seen during a trace."
554 msgstr ""
555 "Кроме того, могут быть возвращены сетевые ошибки для нового сокета и в "
556 "соответствии с определениями протокола. Различные ядра Linux могут "
557 "возвращать другие ошибки, например, B<ENOSR>, B<ESOCKTNOSUPPORT>, "
558 "B<EPROTONOSUPPORT>, B<ETIMEDOUT>. Значение ошибки B<ERESTARTSYS> можно "
559 "увидеть при трассировке."
560
561 #. type: SH
562 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
563 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
564 #, no-wrap
565 msgid "VERSIONS"
566 msgstr "ВЕРСИИ"
567
568 #. Some testing seems to show that Tru64 5.1 and HP-UX 11 also
569 #. do not inherit file status flags -- MTK Jun 05
570 #. type: Plain text
571 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
572 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
573 msgid ""
574 "On Linux, the new socket returned by B<accept>() does I<not> inherit file "
575 "status flags such as B<O_NONBLOCK> and B<O_ASYNC> from the listening "
576 "socket. This behavior differs from the canonical BSD sockets "
577 "implementation. Portable programs should not rely on inheritance or "
578 "noninheritance of file status flags and always explicitly set all required "
579 "flags on the socket returned from B<accept>()."
580 msgstr ""
581 "В Linux новый сокет, возвращаемый B<accept>(), I<not> не наследует флагов "
582 "состояния файла, таких как B<O_NONBLOCK> и B<O_ASYNC> из прослушивающего "
583 "сокета. Это поведение отличается от канонической реализации сокетов BSD. "
584 "Переносимые программы не должны полагаться на наследование флагов состояния "
585 "файла или их отсутствие, а всегда должны устанавливать на сокете, полученном "
586 "от B<accept>(), все требуемые флаги."
587
588 #. type: SH
589 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
590 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
591 #, no-wrap
592 msgid "STANDARDS"
593 msgstr "СТАНДАРТЫ"
594
595 #. type: Plain text
596 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
597 #: opensuse-tumbleweed
598 msgid "POSIX.1-2024."
599 msgstr "POSIX.1-2024."
600
601 #. type: SH
602 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
603 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
604 #, no-wrap
605 msgid "HISTORY"
606 msgstr "ИСТОРИЯ"
607
608 #. type: TP
609 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
610 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
611 #, no-wrap
612 msgid "B<accept>()"
613 msgstr "B<accept>()"
614
615 #. The BSD man page documents five possible error returns
616 #. (EBADF, ENOTSOCK, EOPNOTSUPP, EWOULDBLOCK, EFAULT).
617 #. POSIX.1-2001 documents errors
618 #. EAGAIN, EBADF, ECONNABORTED, EINTR, EINVAL, EMFILE,
619 #. ENFILE, ENOBUFS, ENOMEM, ENOTSOCK, EOPNOTSUPP, EPROTO, EWOULDBLOCK.
620 #. In addition, SUSv2 documents EFAULT and ENOSR.
621 #. type: Plain text
622 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
623 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
624 msgid "POSIX.1-2001, SVr4, 4.4BSD (B<accept>() first appeared in 4.2BSD)."
625 msgstr "POSIX.1-2001, SVr4, 4.4BSD (B<accept>() впервые появился в BSD 4.2 )."
626
627 #. type: TP
628 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
629 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
630 #, no-wrap
631 msgid "B<accept4>()"
632 msgstr "B<accept4>()"
633
634 #. type: Plain text
635 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
636 #: opensuse-tumbleweed
637 #, fuzzy
638 #| msgid "POSIX.1-2008. Linux 2.6.16, glibc 2.4."
639 msgid "POSIX.1-2024. Linux 2.6.28, glibc 2.10."
640 msgstr "POSIX.1-2008. Linux 2.6.16, glibc 2.4."
641
642 #. type: SH
643 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
644 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
645 #, no-wrap
646 msgid "NOTES"
647 msgstr "ПРИМЕЧАНИЯ"
648
649 #. type: Plain text
650 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
651 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
652 msgid ""
653 "There may not always be a connection waiting after a B<SIGIO> is delivered "
654 "or B<select>(2), B<poll>(2), or B<epoll>(7) return a readability event "
655 "because the connection might have been removed by an asynchronous network "
656 "error or another thread before B<accept>() is called. If this happens, "
657 "then the call will block waiting for the next connection to arrive. To "
658 "ensure that B<accept>() never blocks, the passed socket I<sockfd> needs to "
659 "have the B<O_NONBLOCK> flag set (see B<socket>(7))."
660 msgstr ""
661 "После доставки B<SIGIO> не всегда может быть установлено ожидающее "
662 "соединение или B<select>(2), B<poll>(2) или B<epoll>(7) вернут событие "
663 "доступности чтения, так как подключение может быть удалено из-за асинхронной "
664 "сетевой ошибкой или другой поток был вызван раньше B<accept>(). Если это "
665 "случилось, то вызов блокируется, ожидая прибытия следующего подключения. "
666 "Чтобы гарантировать, что функция B<accept>() никогда не блокируется, для "
667 "переданного сокета I<sockfd> должен быть установлен флаг B<O_NONBLOCK> (см. "
668 "B<socket>(7))."
669
670 #. type: Plain text
671 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
672 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
673 msgid ""
674 "For certain protocols which require an explicit confirmation, such as "
675 "DECnet, B<accept>() can be thought of as merely dequeuing the next "
676 "connection request and not implying confirmation. Confirmation can be "
677 "implied by a normal read or write on the new file descriptor, and rejection "
678 "can be implied by closing the new socket. Currently, only DECnet has these "
679 "semantics on Linux."
680 msgstr ""
681 "Для определённых протоколов, которые требуют явного подтверждения, например, "
682 "DECnet, B<accept>() можно рассматривать просто как извлечение из очереди "
683 "следующего запроса на соединение, не подразумевающее подтверждения. "
684 "Подтверждение, в свою очередь, произойдет при следующем чтении или записи в "
685 "новом файловом дескрипторе, а отказ от соединения может произойти при "
686 "закрытии нового сокета. В настоящее время, под Linux такую семантику имеет "
687 "только DECnet."
688
689 #. type: SS
690 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
691 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
692 #, no-wrap
693 msgid "The socklen_t type"
694 msgstr "Тип socklen_t"
695
696 #. such as Linux libc4 and libc5, SunOS 4, SGI
697 #. SunOS 5 has 'size_t *'
698 #. type: Plain text
699 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
700 #: opensuse-tumbleweed
701 #, fuzzy
702 #| msgid ""
703 #| "In the original BSD sockets implementation (and on other older systems) "
704 #| "the third argument of B<accept>() was declared as an I<int\\ *>. A "
705 #| "POSIX.1g draft standard wanted to change it into a I<size_t\\ *>C; later "
706 #| "POSIX standards and glibc 2.x have I<socklen_t\\ * >."
707 msgid ""
708 "In the original BSD sockets implementation (and on other older systems) the "
709 "third argument of B<accept>() was declared as an I<int\\ *>. A POSIX.1g "
710 "draft standard wanted to change it into a I<size_t\\ *>; later POSIX "
711 "standards and glibc 2.x have I<socklen_t\\ * >."
712 msgstr ""
713 "В первоначальной реализации сокетов в BSD (и в других системах) третий "
714 "аргумент B<accept>() объявлялся как I<int\\ *>. В стандарте черновика "
715 "POSIX.1g захотели изменить его на I<size_t\\ *>. В поздних версиях стандарта "
716 "POSIX и в glibc 2.x используется I<socklen_t\\ *>."
717
718 #. type: SH
719 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
720 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
721 #, no-wrap
722 msgid "EXAMPLES"
723 msgstr "ПРИМЕРЫ"
724
725 #. type: Plain text
726 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
727 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
728 msgid "See B<bind>(2)."
729 msgstr "См. B<bind>(2)."
730
731 #. type: SH
732 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
733 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
734 #, no-wrap
735 msgid "SEE ALSO"
736 msgstr "СМОТРИТЕ ТАКЖЕ"
737
738 #. type: Plain text
739 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
740 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
741 msgid ""
742 "B<bind>(2), B<connect>(2), B<listen>(2), B<select>(2), B<socket>(2), "
743 "B<socket>(7)"
744 msgstr ""
745 "B<bind>(2), B<connect>(2), B<listen>(2), B<select>(2), B<socket>(2), "
746 "B<socket>(7)"
747
748 #. type: TH
749 #: debian-trixie
750 #, no-wrap
751 msgid "2024-05-02"
752 msgstr "2 мая 2024 г."
753
754 #. type: TH
755 #: debian-trixie
756 #, no-wrap
757 msgid "Linux man-pages 6.9.1"
758 msgstr "Страницы руководства Linux 6.9.1"
759
760 #. type: Plain text
761 #: debian-trixie
762 msgid "Standard C library (I<libc>, I<-lc>)"
763 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
764
765 #. type: Plain text
766 #: debian-trixie fedora-44 fedora-rawhide
767 msgid "POSIX.1-2008."
768 msgstr "POSIX.1-2008."
769
770 #. type: Plain text
771 #: debian-trixie fedora-44 fedora-rawhide
772 msgid "Linux."
773 msgstr "Linux."
774
775 #. type: Plain text
776 #: debian-trixie fedora-44 fedora-rawhide
777 msgid "Linux 2.6.28, glibc 2.10."
778 msgstr "Linux 2.6.28, glibc 2.10."
779
780 #. such as Linux libc4 and libc5, SunOS 4, SGI
781 #. SunOS 5 has 'size_t *'
782 #. type: Plain text
783 #: debian-trixie fedora-44 fedora-rawhide
784 msgid ""
785 "In the original BSD sockets implementation (and on other older systems) the "
786 "third argument of B<accept>() was declared as an I<int\\ *>. A POSIX.1g "
787 "draft standard wanted to change it into a I<size_t\\ *>C; later POSIX "
788 "standards and glibc 2.x have I<socklen_t\\ * >."
789 msgstr ""
790 "В первоначальной реализации сокетов в BSD (и в других системах) третий "
791 "аргумент B<accept>() объявлялся как I<int\\ *>. В стандарте черновика "
792 "POSIX.1g захотели изменить его на I<size_t\\ *>. В поздних версиях стандарта "
793 "POSIX и в glibc 2.x используется I<socklen_t\\ *>."
794
795 #. type: TH
796 #: fedora-44 fedora-rawhide
797 #, no-wrap
798 msgid "2024-07-23"
799 msgstr "23 июля 2024 г."
800
801 #. type: TH
802 #: fedora-44 fedora-rawhide
803 #, no-wrap
804 msgid "Linux man-pages 6.13"
805 msgstr "Страницы руководства Linux 6.13"
806
807 #. type: TH
808 #: mageia-cauldron
809 #, no-wrap
810 msgid "Linux man-pages 6.17"
811 msgstr "Страницы руководства Linux 6.17"
812
813 #. type: TH
814 #: opensuse-leap-16-1 opensuse-tumbleweed
815 #, no-wrap
816 msgid "Linux man-pages (unreleased)"
817 msgstr "Страницы руководства Linux (не выпущены)"