Debian Codegraph @

po/ru/man2/send.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 # 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:49+0300\n"
17 "Last-Translator: Yuri Kozlov <[email protected]>\n"
18 "Language-Team: Russian <[email protected]>\n"
19 "Language: ru\n"
20 "MIME-Version: 1.0\n"
21 "Content-Type: text/plain; charset=UTF-8\n"
22 "Content-Transfer-Encoding: 8bit\n"
23 "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
24 "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
25 "(n%100>=11 && n%100<=14)? 2 : 3);\n"
26 "X-Generator: Lokalize 2.0\n"
27
28 #. type: TH
29 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
30 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
31 #, no-wrap
32 msgid "send"
33 msgstr "send"
34
35 #. type: TH
36 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
37 #: opensuse-tumbleweed
38 #, no-wrap
39 msgid "2025-10-29"
40 msgstr "29 октября 2025 г."
41
42 #. type: TH
43 #: archlinux debian-unstable
44 #, fuzzy, no-wrap
45 #| msgid "Linux man-pages 6.17"
46 msgid "Linux man-pages 6.18"
47 msgstr "Справочные страницы Linux 6.17"
48
49 #. type: SH
50 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
51 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
52 #, no-wrap
53 msgid "NAME"
54 msgstr "НАИМЕНОВАНИЕ"
55
56 #. type: Plain text
57 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
58 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
59 msgid "send, sendto, sendmsg - send a message on a socket"
60 msgstr "send, sendto, sendmsg - отправляет сообщения в сокет"
61
62 #. type: SH
63 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
64 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
65 #, no-wrap
66 msgid "LIBRARY"
67 msgstr "БИБЛИОТЕКА"
68
69 #. type: Plain text
70 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
71 #: opensuse-leap-16-1 opensuse-tumbleweed
72 msgid "Standard C library (I<libc>,\\ I<-lc>)"
73 msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)"
74
75 #. type: SH
76 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
77 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
78 #, no-wrap
79 msgid "SYNOPSIS"
80 msgstr "СИНТАКСИС"
81
82 #. type: Plain text
83 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
84 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
85 #, no-wrap
86 msgid "B<#include E<lt>sys/socket.hE<gt>>\n"
87 msgstr "B<#include E<lt>sys/socket.hE<gt>>\n"
88
89 #. type: Plain text
90 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
91 #: opensuse-tumbleweed
92 #, fuzzy, no-wrap
93 #| msgid ""
94 #| "B<ssize_t send(int >I<sockfd>B<, const void *>I<buf>B<, size_t >I<len>B<, int >I<flags>B<);>\n"
95 #| "B<ssize_t sendto(int >I<sockfd>B<, const void *>I<buf>B<, size_t >I<len>B<, int >I<flags>B<,>\n"
96 #| "B< const struct sockaddr *>I<dest_addr>B<, socklen_t >I<addrlen>B<);>\n"
97 #| "B<ssize_t sendmsg(int >I<sockfd>B<, const struct msghdr *>I<msg>B<, int >I<flags>B<);>\n"
98 msgid ""
99 "B<ssize_t send(>size_t size;\n"
100 "B< int >I<sockfd>B<, const void >I<buf>B<[>I<size>B<], size_t >I<size>B<, int >I<flags>B<);>\n"
101 "B<ssize_t sendto(>size_t size;\n"
102 "B< int >I<sockfd>B<, const void >I<buf>B<[>I<size>B<], size_t >I<size>B<, int >I<flags>B<,>\n"
103 "B< const struct sockaddr *>I<dest_addr>B<, socklen_t >I<addrlen>B<);>\n"
104 "B<ssize_t sendmsg(int >I<sockfd>B<, const struct msghdr *>I<msg>B<, int >I<flags>B<);>\n"
105 msgstr ""
106 "B<ssize_t send(int >I<sockfd>B<, const void *>I<buf>B<, size_t >I<len>B<, int >I<flags>B<);>\n"
107 "B<ssize_t sendto(int >I<sockfd>B<, const void *>I<buf>B<, size_t >I<len>B<, int >I<flags>B<,>\n"
108 "B< const struct sockaddr *>I<dest_addr>B<, socklen_t >I<addrlen>B<);>\n"
109 "B<ssize_t sendmsg(int >I<sockfd>B<, const struct msghdr *>I<msg>B<, int >I<flags>B<);>\n"
110
111 #. type: SH
112 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
113 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
114 #, no-wrap
115 msgid "DESCRIPTION"
116 msgstr "ОПИСАНИЕ"
117
118 #. type: Plain text
119 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
120 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
121 msgid ""
122 "The system calls B<send>(), B<sendto>(), and B<sendmsg>() are used to "
123 "transmit a message to another socket."
124 msgstr ""
125 "Системные вызовы B<send>(), B<sendto>() и B<sendmsg>() используются для "
126 "пересылки сообщений в другой сокет."
127
128 #. type: Plain text
129 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
130 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
131 msgid ""
132 "The B<send>() call may be used only when the socket is in a I<connected> "
133 "state (so that the intended recipient is known). The only difference "
134 "between B<send>() and B<write>(2) is the presence of I<flags>. With a "
135 "zero I<flags> argument, B<send>() is equivalent to B<write>(2). Also, the "
136 "following call"
137 msgstr ""
138 "Вызов B<send>() можно использовать, только если сокет находится в состоянии "
139 "I<соединения> (то есть известен получатель). Вызов B<send>() отличается от "
140 "B<write>(2) только наличием аргумента I<flags>. Если значение I<flags> равно "
141 "нулю, то вызов B<send>() эквивалентен B<write>(2). Также, вызов"
142
143 #. type: Plain text
144 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
145 #: opensuse-leap-16-1 opensuse-tumbleweed
146 #, fuzzy, no-wrap
147 #| msgid "send(sockfd, buf, len, flags);\n"
148 msgid "send(sockfd, buf, size, flags);\n"
149 msgstr "send(sockfd, buf, len, flags);\n"
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 "is equivalent to"
155 msgstr "равнозначно"
156
157 #. type: Plain text
158 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
159 #: opensuse-leap-16-1 opensuse-tumbleweed
160 #, fuzzy, no-wrap
161 #| msgid "sendto(sockfd, buf, len, flags, NULL, 0);\n"
162 msgid "sendto(sockfd, buf, size, flags, NULL, 0);\n"
163 msgstr "sendto(sockfd, buf, len, flags, NULL, 0);\n"
164
165 #. type: Plain text
166 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
167 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
168 msgid "The argument I<sockfd> is the file descriptor of the sending socket."
169 msgstr ""
170 "Аргумент I<sockfd> представляет файловый дескриптор сокета отправления."
171
172 #. type: Plain text
173 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
174 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
175 msgid ""
176 "If B<sendto>() is used on a connection-mode (B<SOCK_STREAM>, "
177 "B<SOCK_SEQPACKET>) socket, the arguments I<dest_addr> and I<addrlen> are "
178 "ignored (and the error B<EISCONN> may be returned when they are not NULL and "
179 "0), and the error B<ENOTCONN> is returned when the socket was not actually "
180 "connected. Otherwise, the address of the target is given by I<dest_addr> "
181 "with I<addrlen> specifying its size. For B<sendmsg>(), the address of the "
182 "target is given by I<msg.msg_name>, with I<msg.msg_namelen> specifying its "
183 "size."
184 msgstr ""
185 "Если B<sendto>() используется с сокетом в режиме с установлением соединения "
186 "(B<SOCK_STREAM>, B<SOCK_SEQPACKET>), то аргументы I<dest_addr> и I<addrlen> "
187 "игнорируются (и может быть возвращена ошибка B<EISCONN>, если их значения не "
188 "равны NULL и 0) и возвращается ошибка B<ENOTCONN>, если соединение через "
189 "сокет не установлено. Иначе в I<dest_addr> задаётся адрес назначения и его "
190 "размер в I<addrlen>. Для B<sendmsg>() адрес назначения указывается в "
191 "I<msg.msg_name>, а его размер в I<msg.msg_namelen>."
192
193 #. type: Plain text
194 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
195 #: opensuse-leap-16-1 opensuse-tumbleweed
196 #, fuzzy
197 #| msgid ""
198 #| "For B<send>() and B<sendto>(), the message is found in I<buf> and has "
199 #| "length I<len>. For B<sendmsg>(), the message is pointed to by the "
200 #| "elements of the array I<msg.msg_iov>. The B<sendmsg>() call also allows "
201 #| "sending ancillary data (also known as control information)."
202 msgid ""
203 "For B<send>() and B<sendto>(), the message is found in I<buf> and has size "
204 "I<size>. For B<sendmsg>(), the message is pointed to by the elements of the "
205 "array I<msg.msg_iov>. The B<sendmsg>() call also allows sending ancillary "
206 "data (also known as control information)."
207 msgstr ""
208 "У B<send>() и B<sendto>() сообщение находится в I<buf>, а его длина в "
209 "I<len>. У B<sendmsg>() сообщение указывается в элементах массива "
210 "I<msg.msg_iov>. Вызов B<sendmsg>() также позволяет отправлять "
211 "вспомогательные данные (так называемую управляющую информацию)."
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 "If the message is too long to pass atomically through the underlying "
218 "protocol, the error B<EMSGSIZE> is returned, and the message is not "
219 "transmitted."
220 msgstr ""
221 "Если сообщение слишком длинно для передачи за раз через используемый "
222 "нижележащий протокол, то возвращается ошибка B<EMSGSIZE> и сообщение не "
223 "передаётся."
224
225 #. type: Plain text
226 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
227 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
228 msgid ""
229 "No indication of failure to deliver is implicit in a B<send>(). Locally "
230 "detected errors are indicated by a return value of -1."
231 msgstr ""
232 "Неудачная отправка с помощью B<send>() никак не отмечается. При обнаружении "
233 "локальных ошибок возвращается значение -1."
234
235 #. type: Plain text
236 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
237 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
238 msgid ""
239 "When the message does not fit into the send buffer of the socket, B<send>() "
240 "normally blocks, unless the socket has been placed in nonblocking I/O mode. "
241 "In nonblocking mode it would fail with the error B<EAGAIN> or B<EWOULDBLOCK> "
242 "in this case. The B<select>(2) call may be used to determine when it is "
243 "possible to send more data."
244 msgstr ""
245 "Когда сообщение не помещается в буфер отправки сокета, выполнение "
246 "блокируется в B<send>(), если сокет не находится в неблокирующем режиме. "
247 "Если сокет находится в неблокирующем режиме, то возвращается ошибка "
248 "B<EAGAIN> или B<EWOULDBLOCK>. Для выяснения, возможна ли отправка данных, "
249 "можно использовать вызов B<select>(2)."
250
251 #. type: SS
252 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
253 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
254 #, no-wrap
255 msgid "The flags argument"
256 msgstr "Аргумент флагов"
257
258 #. FIXME . ? document MSG_PROXY (which went away in Linux 2.3.15)
259 #. type: Plain text
260 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
261 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
262 msgid ""
263 "The I<flags> argument is the bitwise OR of zero or more of the following "
264 "flags."
265 msgstr ""
266 "Аргумент I<flags> является битовой маской и может содержать следующие флаги:"
267
268 #. type: TP
269 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
270 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
271 #, no-wrap
272 msgid "B<MSG_CONFIRM> (since Linux 2.3.15)"
273 msgstr "B<MSG_CONFIRM> (начиная с Linux 2.3.15)"
274
275 #. type: Plain text
276 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
277 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
278 msgid ""
279 "Tell the link layer that forward progress happened: you got a successful "
280 "reply from the other side. If the link layer doesn't get this it will "
281 "regularly reprobe the neighbor (e.g., via a unicast ARP). Valid only on "
282 "B<SOCK_DGRAM> and B<SOCK_RAW> sockets and currently implemented only for "
283 "IPv4 and IPv6. See B<arp>(7) for details."
284 msgstr ""
285 "Сообщить уровню связи, что процесс пересылки произошел: вы получили успешный "
286 "ответ с другой стороны. Если уровень связи не получит его, то он будет "
287 "регулярно перепроверять наличие ответной стороны (например посредством "
288 "однонаправленной передачи ARP). Это работает только с сокетами B<SOCK_DGRAM> "
289 "и B<SOCK_RAW> и в настоящее время реализовано только для IPv4 и IPv6. В "
290 "B<arp>(7) представлена более подробная информация."
291
292 #. type: TP
293 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
294 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
295 #, no-wrap
296 msgid "B<MSG_DONTROUTE>"
297 msgstr "B<MSG_DONTROUTE>"
298
299 #. type: Plain text
300 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
301 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
302 msgid ""
303 "Don't use a gateway to send out the packet, send to hosts only on directly "
304 "connected networks. This is usually used only by diagnostic or routing "
305 "programs. This is defined only for protocol families that route; packet "
306 "sockets don't."
307 msgstr ""
308 "Не использовать маршрутизацию для отправки пакета, а посылать его только на "
309 "узлы локальной сети. Обычно это используется в диагностических программах и "
310 "программах маршрутизации. Этот флаг определён только для маршрутизируемых "
311 "семейств протоколов; пакетные сокеты не используют маршрутизацию."
312
313 #. type: TP
314 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
315 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
316 #, no-wrap
317 msgid "B<MSG_DONTWAIT> (since Linux 2.2)"
318 msgstr "B<MSG_DONTWAIT> (начиная с Linux 2.2)"
319
320 #. type: Plain text
321 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
322 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
323 #, fuzzy
324 #| msgid ""
325 #| "Enables nonblocking operation; if the operation would block, B<EAGAIN> or "
326 #| "B<EWOULDBLOCK> is returned. This provides similar behavior to setting "
327 #| "the B<O_NONBLOCK> flag (via the B<fcntl>(2) B<F_SETFL> operation), but "
328 #| "differs in that B<MSG_DONTWAIT> is a per-call option, whereas "
329 #| "B<O_NONBLOCK> is a setting on the open file description (see B<open>(2)), "
330 #| "which will affect all threads in the calling process and as well as other "
331 #| "processes that hold file descriptors referring to the same open file "
332 #| "description."
333 msgid ""
334 "Enables nonblocking operation; if the operation would block, B<EAGAIN> or "
335 "B<EWOULDBLOCK> is returned. This provides similar behavior to setting the "
336 "B<O_NONBLOCK> flag (via the B<fcntl>(2) B<F_SETFL> operation), but differs "
337 "in that B<MSG_DONTWAIT> is a per-call option, whereas B<O_NONBLOCK> is a "
338 "setting on the open file description (see B<open>(2)), which will affect all "
339 "threads in the calling process as well as other processes that hold file "
340 "descriptors referring to the same open file description."
341 msgstr ""
342 "Включить неблокирующий режим. Если операция могла бы привести к блокировке, "
343 "возвращается B<EAGAIN> или B<EWOULDBLOCK>. Такое поведение подобно заданию "
344 "флага B<O_NONBLOCK> (в B<fcntl>(2) операцией B<F_SETFL>), но отличие в том, "
345 "что B<MSG_DONTWAIT> указывается в вызове, а B<O_NONBLOCK> задаётся в "
346 "описании открытого файла (смотрите B<open>(2)), что влияет на все нити "
347 "вызывающего процесса, а также на другие процессы, у которых есть файловые "
348 "дескрипторы, ссылающиеся на это описание открытого файла."
349
350 #. type: TP
351 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
352 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
353 #, no-wrap
354 msgid "B<MSG_EOR> (since Linux 2.2)"
355 msgstr "B<MSG_EOR> (начиная с Linux 2.2)"
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 msgid ""
361 "Terminates a record (when this notion is supported, as for sockets of type "
362 "B<SOCK_SEQPACKET>)."
363 msgstr ""
364 "Завершить запись (record) (если поддерживается, например в сокетах типа "
365 "B<SOCK_SEQPACKET>)."
366
367 #. type: TP
368 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
369 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
370 #, no-wrap
371 msgid "B<MSG_MORE> (since Linux 2.4.4)"
372 msgstr "B<MSG_MORE> (начиная с Linux 2.4.4)"
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 ""
378 "The caller has more data to send. This flag is used with TCP sockets to "
379 "obtain the same effect as the B<TCP_CORK> socket option (see B<tcp>(7)), "
380 "with the difference that this flag can be set on a per-call basis."
381 msgstr ""
382 "Вызывающий имеет дополнительные данные для отправки. Этот флаг используется "
383 "с сокетами TCP для получения такого же эффекта как с параметром сокета "
384 "B<TCP_CORK> (см. B<tcp>(7)), с той разницей, что этот флаг можно "
385 "устанавливать при каждом вызове."
386
387 #. type: Plain text
388 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
389 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
390 msgid ""
391 "Since Linux 2.6, this flag is also supported for UDP sockets, and informs "
392 "the kernel to package all of the data sent in calls with this flag set into "
393 "a single datagram which is transmitted only when a call is performed that "
394 "does not specify this flag. (See also the B<UDP_CORK> socket option "
395 "described in B<udp>(7).)"
396 msgstr ""
397 "Начиная с Linux 2.6 этот флаг также поддерживается для сокетов UDP и "
398 "информирует ядро, о том что нужно упаковать все отправляемые данные вызовов "
399 "с этим флагом в одну дейтаграмму, которая передаётся только когда "
400 "выполняется вызов без указания этого флага (смотрите также описание "
401 "параметра сокета B<UDP_CORK> в B<udp>(7))."
402
403 #. type: TP
404 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
405 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
406 #, no-wrap
407 msgid "B<MSG_NOSIGNAL> (since Linux 2.2)"
408 msgstr "B<MSG_NOSIGNAL> (начиная с Linux 2.2)"
409
410 #. type: Plain text
411 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
412 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
413 msgid ""
414 "Don't generate a B<SIGPIPE> signal if the peer on a stream-oriented socket "
415 "has closed the connection. The B<EPIPE> error is still returned. This "
416 "provides similar behavior to using B<sigaction>(2) to ignore B<SIGPIPE>, "
417 "but, whereas B<MSG_NOSIGNAL> is a per-call feature, ignoring B<SIGPIPE> sets "
418 "a process attribute that affects all threads in the process."
419 msgstr ""
420 "Не генерировать сигнал B<SIGPIPE>, если сторона потокоориентированного "
421 "сокета закрыла соединение. Ошибка B<EPIPE> по прежнему возвращается. Это "
422 "создаёт поведение как при использовании B<sigaction>(2) для игнорирования "
423 "B<SIGPIPE>, но B<MSG_NOSIGNAL> является свойством вызова, а установка "
424 "B<SIGPIPE> в атрибутах процесса влияет на все нити процесса."
425
426 #. type: TP
427 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
428 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
429 #, no-wrap
430 msgid "B<MSG_OOB>"
431 msgstr "B<MSG_OOB>"
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 ""
437 "Sends I<out-of-band> data on sockets that support this notion (e.g., of type "
438 "B<SOCK_STREAM>); the underlying protocol must also support I<out-of-band> "
439 "data."
440 msgstr ""
441 "Послать I<внепоточные данные>, если сокет это поддерживает (как, например, "
442 "сокеты типа B<SOCK_STREAM>); протокол более низкого уровня также должен "
443 "поддерживать I<внепоточные данные>. "
444
445 #. type: TP
446 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
447 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
448 #, no-wrap
449 msgid "B<MSG_FASTOPEN> (since Linux 3.7)"
450 msgstr "B<MSG_FASTOPEN> (начиная с Linux 3.7)"
451
452 #. type: Plain text
453 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
454 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
455 msgid ""
456 "Attempts TCP Fast Open (RFC7413) and sends data in the SYN like a "
457 "combination of B<connect>(2) and B<write>(2), by performing an implicit "
458 "B<connect>(2) operation. It blocks until the data is buffered and the "
459 "handshake has completed. For a non-blocking socket, it returns the number "
460 "of bytes buffered and sent in the SYN packet. If the cookie is not "
461 "available locally, it returns B<EINPROGRESS>, and sends a SYN with a Fast "
462 "Open cookie request automatically. The caller needs to write the data again "
463 "when the socket is connected. On errors, it sets the same I<errno> as "
464 "B<connect>(2) if the handshake fails. This flag requires enabling TCP Fast "
465 "Open client support on sysctl I<net.ipv4.tcp_fastopen>."
466 msgstr ""
467
468 #. type: Plain text
469 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
470 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
471 msgid ""
472 "Refer to B<TCP_FASTOPEN_CONNECT> socket option in B<tcp>(7) for an "
473 "alternative approach."
474 msgstr ""
475
476 #. type: SS
477 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
478 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
479 #, no-wrap
480 msgid "sendmsg()"
481 msgstr "sendmsg()"
482
483 #. type: Plain text
484 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
485 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
486 msgid ""
487 "The definition of the I<msghdr> structure employed by B<sendmsg>() is as "
488 "follows:"
489 msgstr "Определение структуры I<msghdr>, используемой B<sendmsg>():"
490
491 #. type: Plain text
492 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
493 #: opensuse-leap-16-1 opensuse-tumbleweed
494 #, fuzzy, no-wrap
495 #| msgid ""
496 #| "struct msghdr {\n"
497 #| " void *msg_name; /* Optional address */\n"
498 #| " socklen_t msg_namelen; /* Size of address */\n"
499 #| " struct iovec *msg_iov; /* Scatter/gather array */\n"
500 #| " size_t msg_iovlen; /* # elements in msg_iov */\n"
501 #| " void *msg_control; /* Ancillary data, see below */\n"
502 #| " size_t msg_controllen; /* Ancillary data buffer len */\n"
503 #| " int msg_flags; /* Flags (unused) */\n"
504 #| "};\n"
505 msgid ""
506 "struct msghdr {\n"
507 " void *msg_name; /* Optional address */\n"
508 " socklen_t msg_namelen; /* Size of address */\n"
509 " struct iovec *msg_iov; /* Scatter/gather array */\n"
510 " size_t msg_iovlen; /* # elements in msg_iov */\n"
511 " void *msg_control; /* Ancillary data, see below */\n"
512 " size_t msg_controllen; /* Ancillary data buffer size */\n"
513 " int msg_flags; /* Flags (unused) */\n"
514 "};\n"
515 msgstr ""
516 "struct msghdr {\n"
517 " void *msg_name; /* необязательный адрес */\n"
518 " socklen_t msg_namelen; /* размер адреса */\n"
519 " struct iovec *msg_iov; /* массив приёма/передачи */\n"
520 " size_t msg_iovlen; /* # количество элементов в msg_iov */\n"
521 " void *msg_control; /* вспомогательные данные,\n"
522 " смотрите ниже */\n"
523 " size_t msg_controllen; /* размер буфера вспомогательных\n"
524 " данных */\n"
525 " int msg_flags; /* флаги (не используется) */\n"
526 "};\n"
527
528 #. type: Plain text
529 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
530 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
531 msgid ""
532 "The I<msg_name> field is used on an unconnected socket to specify the target "
533 "address for a datagram. It points to a buffer containing the address; the "
534 "I<msg_namelen> field should be set to the size of the address. For a "
535 "connected socket, these fields should be specified as NULL and 0, "
536 "respectively."
537 msgstr ""
538 "Поле I<msg_name> используется на неподключённом сокете для указания адреса "
539 "назначения дейтаграммы. Оно указывает на буфер с адресом; в поле "
540 "I<msg_namelen> должен быть указан размер адреса. Для подключённого сокета "
541 "значения этих полей должны быть равны NULL и 0, соответственно."
542
543 #. type: Plain text
544 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
545 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
546 msgid ""
547 "The I<msg_iov> and I<msg_iovlen> fields specify scatter-gather locations, as "
548 "for B<writev>(2)."
549 msgstr ""
550 "В полях I<msg_iov> и I<msg_iovlen> задаются места приёма/передачи, как для "
551 "B<writev>(2)."
552
553 #. type: Plain text
554 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
555 #: opensuse-leap-16-1 opensuse-tumbleweed
556 #, fuzzy
557 #| msgid ""
558 #| "You may send control information using the I<msg_control> and "
559 #| "I<msg_controllen> members. The maximum control buffer length the kernel "
560 #| "can process is limited per socket by the value in I</proc/sys/net/core/"
561 #| "optmem_max>; see B<socket>(7)."
562 msgid ""
563 "You may send control information (ancillary data) using the I<msg_control> "
564 "and I<msg_controllen> members. The maximum control buffer size the kernel "
565 "can process is limited per socket by the value in I</proc/sys/net/core/"
566 "optmem_max>; see B<socket>(7). For further information on the use of "
567 "ancillary data in various socket domains, see B<unix>(7) and B<ip>(7)."
568 msgstr ""
569 "Управляющую информацию можно посылать через поля I<msg_control> и "
570 "I<msg_controllen>. Максимальная длина управляющего буфера, которую "
571 "поддерживает ядро, ограничена значением I</proc/sys/net/core/optmem_max>; "
572 "см. B<socket>(7)."
573
574 #. Still to be documented:
575 #. Send file descriptors and user credentials using the
576 #. msg_control* fields.
577 #. type: Plain text
578 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
579 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
580 msgid "The I<msg_flags> field is ignored."
581 msgstr "Поле I<msg_flags> игнорируется."
582
583 #. type: SH
584 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
585 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
586 #, no-wrap
587 msgid "RETURN VALUE"
588 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
589
590 #. type: Plain text
591 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
592 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
593 #, fuzzy
594 #| msgid ""
595 #| "On success, these calls return the number of bytes sent. On error, -1 is "
596 #| "returned, and I<errno> is set appropriately."
597 msgid ""
598 "On success, these calls return the number of bytes sent. On error, -1 is "
599 "returned, and I<errno> is set to indicate the error."
600 msgstr ""
601 "При успешном выполнении эти вызовы возвращают количество отправленных байт. "
602 "В случае ошибки возвращается -1, а I<errno> устанавливается в "
603 "соответствующее значение."
604
605 #. type: SH
606 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
607 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
608 #, no-wrap
609 msgid "ERRORS"
610 msgstr "ОШИБКИ"
611
612 #. type: Plain text
613 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
614 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
615 msgid ""
616 "These are some standard errors generated by the socket layer. Additional "
617 "errors may be generated and returned from the underlying protocol modules; "
618 "see their respective manual pages."
619 msgstr ""
620 "Здесь представлено несколько стандартных ошибок, возвращаемых с уровня "
621 "сокетов. Могут также появиться другие ошибки, возвращаемые из "
622 "соответствующих модулей протоколов; их описание находится в соответствующих "
623 "справочных страницах."
624
625 #. type: TP
626 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
627 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
628 #, no-wrap
629 msgid "B<EACCES>"
630 msgstr "B<EACCES>"
631
632 #. type: Plain text
633 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
634 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
635 msgid ""
636 "(For UNIX domain sockets, which are identified by pathname) Write "
637 "permission is denied on the destination socket file, or search permission is "
638 "denied for one of the directories the path prefix. (See "
639 "B<path_resolution>(7).)"
640 msgstr ""
641 "(для доменных сокетов UNIX, которые идентифицируются по имени пути) Нет прав "
642 "на запись в файл сокета назначения или в одном из каталогов пути запрещён "
643 "поиск (см. также B<path_resolution>(7))."
644
645 #. type: Plain text
646 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
647 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
648 msgid ""
649 "(For UDP sockets) An attempt was made to send to a network/broadcast address "
650 "as though it was a unicast address."
651 msgstr ""
652 "(для сокетов UDP) Попытка отправки по сетевому/широковещательному адресу, "
653 "как будто это был однозначный (unicast) адрес."
654
655 #. type: TP
656 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
657 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
658 #, no-wrap
659 msgid "B<EAGAIN> or B<EWOULDBLOCK>"
660 msgstr "B<EAGAIN> или B<EWOULDBLOCK>"
661
662 #. Actually EAGAIN on Linux
663 #. type: Plain text
664 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
665 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
666 msgid ""
667 "The socket is marked nonblocking and the requested operation would block. "
668 "POSIX.1-2001 allows either error to be returned for this case, and does not "
669 "require these constants to have the same value, so a portable application "
670 "should check for both possibilities."
671 msgstr ""
672 "Сокет помечен как неблокирующий, но запрошенная операция привела бы к "
673 "блокировке. POSIX.1-2001 допускает в этих случаях возврат ошибки и не "
674 "требует, чтобы эти константы имели одинаковое значение, поэтому переносимое "
675 "приложение должно проверять обе возможности."
676
677 #. type: TP
678 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
679 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
680 #, no-wrap
681 msgid "B<EAGAIN>"
682 msgstr "B<EAGAIN>"
683
684 #. type: Plain text
685 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
686 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
687 msgid ""
688 "(Internet domain datagram sockets) The socket referred to by I<sockfd> had "
689 "not previously been bound to an address and, upon attempting to bind it to "
690 "an ephemeral port, it was determined that all port numbers in the ephemeral "
691 "port range are currently in use. See the discussion of I</proc/sys/net/ipv4/"
692 "ip_local_port_range> in B<ip>(7)."
693 msgstr ""
694 "(доменные датаграммные сокеты Интернета) Сокет, указанный I<sockfd>, ранее "
695 "не был привязан к адресу и при попытке привязать его к эфемеридному порту, "
696 "было определено, что все номера в диапазоне эфемеридных портов уже "
697 "используются. Смотрите обсуждение I</proc/sys/net/ipv4/ip_local_port_range> "
698 "в B<ip>(7)."
699
700 #. type: TP
701 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
702 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
703 #, no-wrap
704 msgid "B<EALREADY>"
705 msgstr "B<EALREADY>"
706
707 #. type: Plain text
708 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
709 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
710 msgid "Another Fast Open is in progress."
711 msgstr "Сейчас выполняется другая операция Fast Open."
712
713 #. type: TP
714 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
715 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
716 #, no-wrap
717 msgid "B<EBADF>"
718 msgstr "B<EBADF>"
719
720 #. type: Plain text
721 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
722 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
723 msgid "I<sockfd> is not a valid open file descriptor."
724 msgstr ""
725 "Значение I<sockfd> не является правильным открытым файловым дескриптором."
726
727 #. type: TP
728 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
729 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
730 #, no-wrap
731 msgid "B<ECONNRESET>"
732 msgstr "B<ECONNRESET>"
733
734 #. type: Plain text
735 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
736 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
737 msgid "Connection reset by peer."
738 msgstr "Соединение сброшено другой стороной."
739
740 #. type: TP
741 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
742 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
743 #, no-wrap
744 msgid "B<EDESTADDRREQ>"
745 msgstr "B<EDESTADDRREQ>"
746
747 #. type: Plain text
748 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
749 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
750 msgid "The socket is not connection-mode, and no peer address is set."
751 msgstr ""
752 "Сокет в режиме без установления соединения и адрес второй стороны не задан."
753
754 #. type: TP
755 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
756 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
757 #, no-wrap
758 msgid "B<EFAULT>"
759 msgstr "B<EFAULT>"
760
761 #. type: Plain text
762 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
763 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
764 msgid "An invalid user space address was specified for an argument."
765 msgstr ""
766 "В аргументе указано неверное значение адреса пользовательского пространства."
767
768 #. type: TP
769 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
770 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
771 #, no-wrap
772 msgid "B<EINTR>"
773 msgstr "B<EINTR>"
774
775 #. type: Plain text
776 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
777 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
778 msgid "A signal occurred before any data was transmitted; see B<signal>(7)."
779 msgstr "Получен сигнал до начала передачи данных; смотрите B<signal>(7)."
780
781 #. type: TP
782 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
783 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
784 #, no-wrap
785 msgid "B<EINVAL>"
786 msgstr "B<EINVAL>"
787
788 #. type: Plain text
789 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
790 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
791 msgid "Invalid argument passed."
792 msgstr "Передан неверный аргумент."
793
794 #. type: TP
795 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
796 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
797 #, no-wrap
798 msgid "B<EISCONN>"
799 msgstr "B<EISCONN>"
800
801 #. type: Plain text
802 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
803 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
804 msgid ""
805 "The connection-mode socket was connected already but a recipient was "
806 "specified. (Now either this error is returned, or the recipient "
807 "specification is ignored.)"
808 msgstr ""
809 "Сокет в режиме с установлением соединения уже выполнил подключение, но "
810 "указан получатель (теперь или возвращается эта ошибка, или игнорируется "
811 "указание получателя)."
812
813 #. type: TP
814 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
815 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
816 #, no-wrap
817 msgid "B<EMSGSIZE>"
818 msgstr "B<EMSGSIZE>"
819
820 #. (e.g., SOCK_DGRAM )
821 #. type: Plain text
822 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
823 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
824 msgid ""
825 "The socket type requires that message be sent atomically, and the size of "
826 "the message to be sent made this impossible."
827 msgstr ""
828 "Для типа сокета требуется, чтобы сообщение было отослано за время одной "
829 "операции (атомарно), а размер сообщения не позволяет этого."
830
831 #. type: TP
832 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
833 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
834 #, no-wrap
835 msgid "B<ENOBUFS>"
836 msgstr "B<ENOBUFS>"
837
838 #. type: Plain text
839 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
840 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
841 msgid ""
842 "The output queue for a network interface was full. This generally indicates "
843 "that the interface has stopped sending, but may be caused by transient "
844 "congestion. (Normally, this does not occur in Linux. Packets are just "
845 "silently dropped when a device queue overflows.)"
846 msgstr ""
847 "Исходящая очередь сетевого интерфейса заполнена. Обычно это означает, что "
848 "интерфейс прекратил отправку, но это может быть также вызвано временной "
849 "перегрузкой сети. Обычно, в Linux этого не происходит. Пакеты просто "
850 "отбрасываются, когда очередь устройства переполняется."
851
852 #. type: TP
853 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
854 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
855 #, no-wrap
856 msgid "B<ENOMEM>"
857 msgstr "B<ENOMEM>"
858
859 #. type: Plain text
860 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
861 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
862 msgid "No memory available."
863 msgstr "Больше нет доступной памяти."
864
865 #. type: TP
866 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
867 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
868 #, no-wrap
869 msgid "B<ENOTCONN>"
870 msgstr "B<ENOTCONN>"
871
872 #. type: Plain text
873 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
874 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
875 msgid "The socket is not connected, and no target has been given."
876 msgstr "Сокет не подключён и назначение не задано."
877
878 #. type: TP
879 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
880 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
881 #, no-wrap
882 msgid "B<ENOTSOCK>"
883 msgstr "B<ENOTSOCK>"
884
885 #. type: Plain text
886 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
887 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
888 msgid "The file descriptor I<sockfd> does not refer to a socket."
889 msgstr "Файловый дескриптор I<sockfd> указывает не на каталог."
890
891 #. type: TP
892 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
893 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
894 #, no-wrap
895 msgid "B<EOPNOTSUPP>"
896 msgstr "B<EOPNOTSUPP>"
897
898 #. type: Plain text
899 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
900 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
901 msgid "Some bit in the I<flags> argument is inappropriate for the socket type."
902 msgstr ""
903 "Один из битов в аргументе I<flags> не может устанавливаться для этого типа "
904 "сокета."
905
906 #. type: TP
907 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
908 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
909 #, no-wrap
910 msgid "B<EPIPE>"
911 msgstr "B<EPIPE>"
912
913 #. type: Plain text
914 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
915 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
916 msgid ""
917 "The local end has been shut down on a connection oriented socket. In this "
918 "case, the process will also receive a B<SIGPIPE> unless B<MSG_NOSIGNAL> is "
919 "set."
920 msgstr ""
921 "Локальный сокет, ориентированный на соединение, был закрыт. В этом случае "
922 "процесс также получит сигнал B<SIGPIPE>, если не установлен флаг "
923 "B<MSG_NOSIGNAL>."
924
925 #. type: SH
926 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
927 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
928 #, no-wrap
929 msgid "VERSIONS"
930 msgstr "ВЕРСИИ"
931
932 #. glibc bug for msg_controllen raised 12 Mar 2006
933 #. http://sourceware.org/bugzilla/show_bug.cgi?id=2448
934 #. The problem is an underlying kernel issue: the size of the
935 #. __kernel_size_t type used to type these fields varies
936 #. across architectures, but socklen_t is always 32 bits,
937 #. as (at least with GCC) is int.
938 #. type: Plain text
939 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
940 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
941 #, fuzzy
942 #| msgid ""
943 #| "According to POSIX.1-2001, the I<msg_controllen> field of the I<msghdr> "
944 #| "structure should be typed as I<socklen_t>, but glibc currently types it "
945 #| "as I<size_t>."
946 msgid ""
947 "According to POSIX.1-2001, the I<msg_controllen> field of the I<msghdr> "
948 "structure should be typed as I<socklen_t>, and the I<msg_iovlen> field "
949 "should be typed as I<int>, but glibc currently types both as I<size_t>."
950 msgstr ""
951 "В соответствие с POSIX.1-2001 поле I<msg_controllen> структуры I<msghdr> "
952 "должно иметь тип I<socklen_t>, но в настоящее время в glibc оно имеет тип "
953 "I<size_t>."
954
955 #. type: SH
956 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
957 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
958 #, no-wrap
959 msgid "STANDARDS"
960 msgstr "СТАНДАРТЫ"
961
962 #. type: Plain text
963 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
964 #: opensuse-tumbleweed
965 msgid "POSIX.1-2024."
966 msgstr "POSIX.1-2024."
967
968 #. type: Plain text
969 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
970 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
971 #, fuzzy
972 #| msgid "B<MSG_CONFIRM> (since Linux 2.3.15)"
973 msgid "B<MSG_CONFIRM> is a Linux extension."
974 msgstr "B<MSG_CONFIRM> (начиная с Linux 2.3.15)"
975
976 #. type: SH
977 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
978 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
979 #, no-wrap
980 msgid "HISTORY"
981 msgstr "ИСТОРИЯ"
982
983 #. type: Plain text
984 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
985 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
986 #, fuzzy
987 #| msgid ""
988 #| "4.4BSD, SVr4, POSIX.1-2001. These interfaces first appeared in 4.2BSD."
989 msgid "4.4BSD, SVr4, POSIX.1-2001. (first appeared in 4.2BSD)."
990 msgstr "4.4BSD, SVr4, POSIX.1-2001. Эти интерфейсы впервые появились в 4.2BSD."
991
992 #. type: Plain text
993 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
994 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
995 #, fuzzy
996 #| msgid ""
997 #| "POSIX.1-2001 describes only the B<MSG_OOB> and B<MSG_EOR> flags. "
998 #| "POSIX.1-2008 adds a specification of B<MSG_NOSIGNAL>. The B<MSG_CONFIRM> "
999 #| "flag is a Linux extension."
1000 msgid ""
1001 "POSIX.1-2001 describes only the B<MSG_OOB> and B<MSG_EOR> flags. "
1002 "POSIX.1-2008 adds a specification of B<MSG_NOSIGNAL>."
1003 msgstr ""
1004 "В POSIX.1-2001 описаны только флаги B<MSG_OOB> и B<MSG_EOR>. В POSIX.1-2008 "
1005 "добавлено описание B<MSG_NOSIGNAL>. Флаг B<MSG_CONFIRM> является "
1006 "нестандартным расширением Linux."
1007
1008 #. type: SH
1009 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1010 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1011 #, no-wrap
1012 msgid "NOTES"
1013 msgstr "ПРИМЕЧАНИЯ"
1014
1015 #. type: Plain text
1016 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1017 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1018 msgid ""
1019 "See B<sendmmsg>(2) for information about a Linux-specific system call that "
1020 "can be used to transmit multiple datagrams in a single call."
1021 msgstr ""
1022 "В B<sendmmsg>(2) можно найти информацию о специальном системном вызове "
1023 "Linux, который можно использовать для передачи нескольких дейтаграмм за один "
1024 "вызов."
1025
1026 #. type: SH
1027 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1028 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1029 #, no-wrap
1030 msgid "BUGS"
1031 msgstr "ПРОГРАММНЫЕ ОШИБКИ"
1032
1033 #. type: Plain text
1034 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1035 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1036 msgid "Linux may return B<EPIPE> instead of B<ENOTCONN>."
1037 msgstr "Linux может вернуть B<EPIPE> вместо B<ENOTCONN>."
1038
1039 #. type: SH
1040 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1041 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1042 #, no-wrap
1043 msgid "EXAMPLES"
1044 msgstr "ПРИМЕРЫ"
1045
1046 #. type: Plain text
1047 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1048 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1049 msgid "An example of the use of B<sendto>() is shown in B<getaddrinfo>(3)."
1050 msgstr "Пример использования B<sendto>() показан в B<getaddrinfo>(3)."
1051
1052 #. type: SH
1053 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1054 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1055 #, no-wrap
1056 msgid "SEE ALSO"
1057 msgstr "СМОТРИТЕ ТАКЖЕ"
1058
1059 #. type: Plain text
1060 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1061 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1062 msgid ""
1063 "B<fcntl>(2), B<getsockopt>(2), B<recv>(2), B<select>(2), B<sendfile>(2), "
1064 "B<sendmmsg>(2), B<shutdown>(2), B<socket>(2), B<write>(2), B<cmsg>(3), "
1065 "B<ip>(7), B<ipv6>(7), B<socket>(7), B<tcp>(7), B<udp>(7), B<unix>(7)"
1066 msgstr ""
1067 "B<fcntl>(2), B<getsockopt>(2), B<recv>(2), B<select>(2), B<sendfile>(2), "
1068 "B<sendmmsg>(2), B<shutdown>(2), B<socket>(2), B<write>(2), B<cmsg>(3), "
1069 "B<ip>(7), B<ipv6>(7), B<socket>(7), B<tcp>(7), B<udp>(7), B<unix>(7)"
1070
1071 #. type: TH
1072 #: debian-trixie
1073 #, no-wrap
1074 msgid "2024-05-02"
1075 msgstr "2 мая 2024 г."
1076
1077 #. type: TH
1078 #: debian-trixie
1079 #, no-wrap
1080 msgid "Linux man-pages 6.9.1"
1081 msgstr "Страницы руководства Linux 6.9.1"
1082
1083 #. type: Plain text
1084 #: debian-trixie
1085 msgid "Standard C library (I<libc>, I<-lc>)"
1086 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
1087
1088 #. type: Plain text
1089 #: debian-trixie
1090 #, fuzzy, no-wrap
1091 #| msgid ""
1092 #| "B<ssize_t send(int >I<sockfd>B<, const void *>I<buf>B<, size_t >I<len>B<, int >I<flags>B<);>\n"
1093 #| "B<ssize_t sendto(int >I<sockfd>B<, const void *>I<buf>B<, size_t >I<len>B<, int >I<flags>B<,>\n"
1094 #| "B< const struct sockaddr *>I<dest_addr>B<, socklen_t >I<addrlen>B<);>\n"
1095 #| "B<ssize_t sendmsg(int >I<sockfd>B<, const struct msghdr *>I<msg>B<, int >I<flags>B<);>\n"
1096 msgid ""
1097 "B<ssize_t send(int >I<sockfd>B<, const void >I<buf>B<[.>I<len>B<], size_t >I<len>B<, int >I<flags>B<);>\n"
1098 "B<ssize_t sendto(int >I<sockfd>B<, const void >I<buf>B<[.>I<len>B<], size_t >I<len>B<, int >I<flags>B<,>\n"
1099 "B< const struct sockaddr *>I<dest_addr>B<, socklen_t >I<addrlen>B<);>\n"
1100 "B<ssize_t sendmsg(int >I<sockfd>B<, const struct msghdr *>I<msg>B<, int >I<flags>B<);>\n"
1101 msgstr ""
1102 "B<ssize_t send(int >I<sockfd>B<, const void *>I<buf>B<, size_t >I<len>B<, int >I<flags>B<);>\n"
1103 "B<ssize_t sendto(int >I<sockfd>B<, const void *>I<buf>B<, size_t >I<len>B<, int >I<flags>B<,>\n"
1104 "B< const struct sockaddr *>I<dest_addr>B<, socklen_t >I<addrlen>B<);>\n"
1105 "B<ssize_t sendmsg(int >I<sockfd>B<, const struct msghdr *>I<msg>B<, int >I<flags>B<);>\n"
1106
1107 #. type: Plain text
1108 #: debian-trixie
1109 #, no-wrap
1110 msgid "send(sockfd, buf, len, flags);\n"
1111 msgstr "send(sockfd, buf, len, flags);\n"
1112
1113 #. type: Plain text
1114 #: debian-trixie
1115 #, no-wrap
1116 msgid "sendto(sockfd, buf, len, flags, NULL, 0);\n"
1117 msgstr "sendto(sockfd, buf, len, flags, NULL, 0);\n"
1118
1119 #. type: Plain text
1120 #: debian-trixie
1121 msgid ""
1122 "For B<send>() and B<sendto>(), the message is found in I<buf> and has "
1123 "length I<len>. For B<sendmsg>(), the message is pointed to by the elements "
1124 "of the array I<msg.msg_iov>. The B<sendmsg>() call also allows sending "
1125 "ancillary data (also known as control information)."
1126 msgstr ""
1127 "У B<send>() и B<sendto>() сообщение находится в I<buf>, а его длина в "
1128 "I<len>. У B<sendmsg>() сообщение указывается в элементах массива "
1129 "I<msg.msg_iov>. Вызов B<sendmsg>() также позволяет отправлять "
1130 "вспомогательные данные (так называемую управляющую информацию)."
1131
1132 #. type: Plain text
1133 #: debian-trixie
1134 #, no-wrap
1135 msgid ""
1136 "struct msghdr {\n"
1137 " void *msg_name; /* Optional address */\n"
1138 " socklen_t msg_namelen; /* Size of address */\n"
1139 " struct iovec *msg_iov; /* Scatter/gather array */\n"
1140 " size_t msg_iovlen; /* # elements in msg_iov */\n"
1141 " void *msg_control; /* Ancillary data, see below */\n"
1142 " size_t msg_controllen; /* Ancillary data buffer len */\n"
1143 " int msg_flags; /* Flags (unused) */\n"
1144 "};\n"
1145 msgstr ""
1146 "struct msghdr {\n"
1147 " void *msg_name; /* необязательный адрес */\n"
1148 " socklen_t msg_namelen; /* размер адреса */\n"
1149 " struct iovec *msg_iov; /* массив приёма/передачи */\n"
1150 " size_t msg_iovlen; /* # количество элементов в msg_iov */\n"
1151 " void *msg_control; /* вспомогательные данные,\n"
1152 " смотрите ниже */\n"
1153 " size_t msg_controllen; /* размер буфера вспомогательных\n"
1154 " данных */\n"
1155 " int msg_flags; /* флаги (не используется) */\n"
1156 "};\n"
1157
1158 #. type: Plain text
1159 #: debian-trixie
1160 #, fuzzy
1161 #| msgid ""
1162 #| "You may send control information using the I<msg_control> and "
1163 #| "I<msg_controllen> members. The maximum control buffer length the kernel "
1164 #| "can process is limited per socket by the value in I</proc/sys/net/core/"
1165 #| "optmem_max>; see B<socket>(7)."
1166 msgid ""
1167 "You may send control information (ancillary data) using the I<msg_control> "
1168 "and I<msg_controllen> members. The maximum control buffer length the kernel "
1169 "can process is limited per socket by the value in I</proc/sys/net/core/"
1170 "optmem_max>; see B<socket>(7). For further information on the use of "
1171 "ancillary data in various socket domains, see B<unix>(7) and B<ip>(7)."
1172 msgstr ""
1173 "Управляющую информацию можно посылать через поля I<msg_control> и "
1174 "I<msg_controllen>. Максимальная длина управляющего буфера, которую "
1175 "поддерживает ядро, ограничена значением I</proc/sys/net/core/optmem_max>; "
1176 "см. B<socket>(7)."
1177
1178 #. type: Plain text
1179 #: debian-trixie fedora-44 fedora-rawhide
1180 msgid "POSIX.1-2008."
1181 msgstr "POSIX.1-2008."
1182
1183 #. type: TH
1184 #: fedora-44 fedora-rawhide
1185 #, no-wrap
1186 msgid "2024-11-17"
1187 msgstr "17 ноября 2024 г."
1188
1189 #. type: TH
1190 #: fedora-44 fedora-rawhide
1191 #, no-wrap
1192 msgid "Linux man-pages 6.13"
1193 msgstr "Страницы руководства Linux 6.13"
1194
1195 #. type: Plain text
1196 #: fedora-44 fedora-rawhide
1197 #, fuzzy, no-wrap
1198 #| msgid ""
1199 #| "B<ssize_t send(int >I<sockfd>B<, const void *>I<buf>B<, size_t >I<len>B<, int >I<flags>B<);>\n"
1200 #| "B<ssize_t sendto(int >I<sockfd>B<, const void *>I<buf>B<, size_t >I<len>B<, int >I<flags>B<,>\n"
1201 #| "B< const struct sockaddr *>I<dest_addr>B<, socklen_t >I<addrlen>B<);>\n"
1202 #| "B<ssize_t sendmsg(int >I<sockfd>B<, const struct msghdr *>I<msg>B<, int >I<flags>B<);>\n"
1203 msgid ""
1204 "B<ssize_t send(int >I<sockfd>B<, const void >I<buf>B<[.>I<size>B<], size_t >I<size>B<, int >I<flags>B<);>\n"
1205 "B<ssize_t sendto(int >I<sockfd>B<, const void >I<buf>B<[.>I<size>B<], size_t >I<size>B<, int >I<flags>B<,>\n"
1206 "B< const struct sockaddr *>I<dest_addr>B<, socklen_t >I<addrlen>B<);>\n"
1207 "B<ssize_t sendmsg(int >I<sockfd>B<, const struct msghdr *>I<msg>B<, int >I<flags>B<);>\n"
1208 msgstr ""
1209 "B<ssize_t send(int >I<sockfd>B<, const void *>I<buf>B<, size_t >I<len>B<, int >I<flags>B<);>\n"
1210 "B<ssize_t sendto(int >I<sockfd>B<, const void *>I<buf>B<, size_t >I<len>B<, int >I<flags>B<,>\n"
1211 "B< const struct sockaddr *>I<dest_addr>B<, socklen_t >I<addrlen>B<);>\n"
1212 "B<ssize_t sendmsg(int >I<sockfd>B<, const struct msghdr *>I<msg>B<, int >I<flags>B<);>\n"
1213
1214 #. type: TH
1215 #: mageia-cauldron
1216 #, no-wrap
1217 msgid "Linux man-pages 6.17"
1218 msgstr "Страницы руководства Linux 6.17"
1219
1220 #. type: TH
1221 #: opensuse-leap-16-1 opensuse-tumbleweed
1222 #, no-wrap
1223 msgid "Linux man-pages (unreleased)"
1224 msgstr "Страницы руководства Linux (не выпущены)"