Debian Codegraph @

po/ru/man2/getsockopt.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]>, 2013-2014, 2017.
5 # Dmitry Bolkhovskikh <[email protected]>, 2017.
6 # Vladislav <[email protected]>, 2015.
7 # Yuri Kozlov <[email protected]>, 2011-2019.
8 # Иван Павлов <[email protected]>, 2017, 2019.
9 msgid ""
10 msgstr ""
11 "Project-Id-Version: manpages-l10n\n"
12 "POT-Creation-Date: 2026-06-05 06:26+0200\n"
13 "PO-Revision-Date: 2024-12-21 19:49+0300\n"
14 "Last-Translator: Yuri Kozlov <[email protected]>\n"
15 "Language-Team: Russian <[email protected]>\n"
16 "Language: ru\n"
17 "MIME-Version: 1.0\n"
18 "Content-Type: text/plain; charset=UTF-8\n"
19 "Content-Transfer-Encoding: 8bit\n"
20 "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
21 "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
22 "(n%100>=11 && n%100<=14)? 2 : 3);\n"
23 "X-Generator: Lokalize 2.0\n"
24
25 #. type: TH
26 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
27 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
28 #, no-wrap
29 msgid "getsockopt"
30 msgstr "getsockopt"
31
32 #. type: TH
33 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
34 #: opensuse-tumbleweed
35 #, no-wrap
36 msgid "2025-10-29"
37 msgstr "29 октября 2025 г."
38
39 #. type: TH
40 #: archlinux debian-unstable
41 #, fuzzy, no-wrap
42 #| msgid "Linux man-pages 6.17"
43 msgid "Linux man-pages 6.18"
44 msgstr "Справочные страницы Linux 6.17"
45
46 #. type: SH
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 #, no-wrap
50 msgid "NAME"
51 msgstr "НАИМЕНОВАНИЕ"
52
53 #. type: Plain text
54 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
55 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
56 msgid "getsockopt, setsockopt - get and set options on sockets"
57 msgstr "getsockopt, setsockopt - получить или установить флаги сокета"
58
59 #. type: SH
60 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
61 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
62 #, no-wrap
63 msgid "LIBRARY"
64 msgstr "БИБЛИОТЕКА"
65
66 #. type: Plain text
67 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
68 #: opensuse-leap-16-1 opensuse-tumbleweed
69 msgid "Standard C library (I<libc>,\\ I<-lc>)"
70 msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)"
71
72 #. type: SH
73 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
74 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
75 #, no-wrap
76 msgid "SYNOPSIS"
77 msgstr "СИНТАКСИС"
78
79 #. type: Plain text
80 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
81 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
82 #, no-wrap
83 msgid "B<#include E<lt>sys/socket.hE<gt>>\n"
84 msgstr "B<#include E<lt>sys/socket.hE<gt>>\n"
85
86 #. type: Plain text
87 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
88 #: opensuse-tumbleweed
89 #, fuzzy, no-wrap
90 #| msgid ""
91 #| "B<int getsockopt(int >I<sockfd>B<, int >I<level>B<, int >I<optname>B<,>\n"
92 #| "B< void >I<optval>B<[restrict *.>I<optlen>B<],>\n"
93 #| "B< socklen_t *restrict >I<optlen>B<);>\n"
94 #| "B<int setsockopt(int >I<sockfd>B<, int >I<level>B<, int >I<optname>B<,>\n"
95 #| "B< const void >I<optval>B<[.>I<optlen>B<],>\n"
96 #| "B< socklen_t >I<optlen>B<);>\n"
97 msgid ""
98 "B<int getsockopt(>socklen_t *restrict optlen;\n"
99 "B< int >I<sockfd>B<, int >I<level>B<, int >I<optname>B<,>\n"
100 "B< void >I<optval>B<[_Nullable restrict *>I<optlen>B<],>\n"
101 "B< socklen_t *restrict >I<optlen>B<);>\n"
102 "B<int setsockopt(>socklen_t optlen;\n"
103 "B< int >I<sockfd>B<, int >I<level>B<, int >I<optname>B<,>\n"
104 "B< const void >I<optval>B<[>I<optlen>B<],>\n"
105 "B< socklen_t >I<optlen>B<);>\n"
106 msgstr ""
107 "B<int getsockopt(int >I<sockfd>B<, int >I<level>B<, int >I<optname>B<,>\n"
108 "B< void >I<optval>B<[restrict *.>I<optlen>B<],>\n"
109 "B< socklen_t *restrict >I<optlen>B<);>\n"
110 "B<int setsockopt(int >I<sockfd>B<, int >I<level>B<, int >I<optname>B<,>\n"
111 "B< const void >I<optval>B<[.>I<optlen>B<],>\n"
112 "B< socklen_t >I<optlen>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 "B<getsockopt>() and B<setsockopt>() manipulate options for the socket "
126 "referred to by the file descriptor I<sockfd>. Options may exist at multiple "
127 "protocol levels; they are always present at the uppermost socket level."
128 msgstr ""
129 "B<getsockopt>() и B<setsockopt>() управляют параметрами сокета, на который "
130 "указывает файловый дескриптор I<sockfd>. Параметры могут быть из различных "
131 "уровней протоколов; они всегда присутствуют на самом верхнем уровне сокета."
132
133 #. type: Plain text
134 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
135 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
136 msgid ""
137 "When manipulating socket options, the level at which the option resides and "
138 "the name of the option must be specified. To manipulate options at the "
139 "sockets API level, I<level> is specified as B<SOL_SOCKET>. To manipulate "
140 "options at any other level the protocol number of the appropriate protocol "
141 "controlling the option is supplied. For example, to indicate that an option "
142 "is to be interpreted by the B<TCP> protocol, I<level> should be set to the "
143 "protocol number of B<TCP>; see B<getprotoent>(3)."
144 msgstr ""
145 "При работе с параметрами сокета должен быть указан уровень, на котором "
146 "находится этот параметр и его имя. Для работы с параметрами на уровне API "
147 "сокета в I<level> указывается значение B<SOL_SOCKET>. Для работы с "
148 "параметрами на любом другом уровне, этим вызовам передаётся номер "
149 "соответствующего протокола, который они контролируют. Например, для "
150 "указания, что параметр должен интерпретироваться протоколом B<TCP>, в "
151 "I<level> нужно указать номер протокола B<TCP>; смотрите B<getprotoent>(3)."
152
153 #. type: Plain text
154 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
155 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
156 msgid ""
157 "The arguments I<optval> and I<optlen> are used to access option values for "
158 "B<setsockopt>(). For B<getsockopt>() they identify a buffer in which the "
159 "value for the requested option(s) are to be returned. For B<getsockopt>(), "
160 "I<optlen> is a value-result argument, initially containing the size of the "
161 "buffer pointed to by I<optval>, and modified on return to indicate the "
162 "actual size of the value returned. If no option value is to be supplied or "
163 "returned, I<optval> may be NULL."
164 msgstr ""
165 "Аргументы I<optval> и I<optlen> используются в B<setsockopt>() для доступа к "
166 "значениям параметров. Для B<getsockopt>() они задают буфер, в который нужно "
167 "поместить запрошенное значение параметра при возврате. У B<getsockopt>() в "
168 "аргументе I<optlen> изначально содержится размер буфера, на который "
169 "указывает I<optval>, а при завершении в нём содержится реальный размер "
170 "возвращаемого значения. Если значение параметра не указывается или "
171 "возвращается, то I<optval> может быть NULL."
172
173 #. type: Plain text
174 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
175 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
176 msgid ""
177 "I<Optname> and any specified options are passed uninterpreted to the "
178 "appropriate protocol module for interpretation. The include file I<E<lt>sys/"
179 "socket.hE<gt>> contains definitions for socket level options, described "
180 "below. Options at other protocol levels vary in format and name; consult "
181 "the appropriate entries in section 4 of the manual."
182 msgstr ""
183 "Аргумент I<optname> и все указанные параметры без изменений передаются для "
184 "интерпретации соответствующему модулю протоколов. Файл I<E<lt>sys/"
185 "socket.hE<gt>> содержит определения параметров уровня сокета; их описание "
186 "дано ниже. Параметры на других уровнях протоколов различаются по формату и "
187 "по имени. Обращайтесь к соответствующим файлам раздела 4 справочных страниц."
188
189 #. type: Plain text
190 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
191 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
192 msgid ""
193 "Most socket-level options utilize an I<int> argument for I<optval>. For "
194 "B<setsockopt>(), the argument should be nonzero to enable a boolean option, "
195 "or zero if the option is to be disabled."
196 msgstr ""
197 "Большинство параметров уровня сокета используют тип I<int> для аргумента "
198 "I<optval>. Чтобы установить параметр логического типа аргумент "
199 "B<setsockopt>() должен быть ненулевым, и ноль, если нужно отключить этот "
200 "параметр."
201
202 #. type: Plain text
203 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
204 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
205 msgid ""
206 "For a description of the available socket options see B<socket>(7) and the "
207 "appropriate protocol man pages."
208 msgstr ""
209 "Описание доступных параметров сокетов находится в B<socket>(7) и "
210 "соответствующих протоколам справочных страницах."
211
212 #. type: SH
213 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
214 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
215 #, no-wrap
216 msgid "RETURN VALUE"
217 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
218
219 #. type: Plain text
220 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
221 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
222 msgid ""
223 "On success, zero is returned for the standard options. On error, -1 is "
224 "returned, and I<errno> is set to indicate the error."
225 msgstr ""
226 "В случае успеха возвращается ноль для стандартных параметров. В случае "
227 "ошибки возвращается -1, а I<errno> устанавливается для указания ошибки."
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 "Netfilter allows the programmer to define custom socket options with "
234 "associated handlers; for such options, the return value on success is the "
235 "value returned by the handler."
236 msgstr ""
237 "Netfilter позволяет программисту определять собственные параметры сокетов со "
238 "привязанными обработчиками; для таких параметров при успешном выполнении "
239 "возвращается значение, полученное от обработчика."
240
241 #. type: SH
242 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
243 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
244 #, no-wrap
245 msgid "ERRORS"
246 msgstr "ОШИБКИ"
247
248 #. type: TP
249 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
250 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
251 #, no-wrap
252 msgid "B<EBADF>"
253 msgstr "B<EBADF>"
254
255 #. type: Plain text
256 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
257 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
258 msgid "The argument I<sockfd> is not a valid file descriptor."
259 msgstr "Аргумент I<sockfd> не является допустимым файловым дескриптором."
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<EFAULT>"
266 msgstr "B<EFAULT>"
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 "The address pointed to by I<optval> is not in a valid part of the process "
273 "address space. For B<getsockopt>(), this error may also be returned if "
274 "I<optlen> is not in a valid part of the process address space."
275 msgstr ""
276 "Адрес, на который указывает I<optval>, не находится в разрешённой части "
277 "адресного пространства процесса. Для B<getsockopt>() эта ошибка может также "
278 "появиться, если I<optlen> выходит за пределы адресного пространства процесса."
279
280 #. type: TP
281 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
282 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
283 #, no-wrap
284 msgid "B<EINVAL>"
285 msgstr "B<EINVAL>"
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 "I<optlen> invalid in B<setsockopt>(). In some cases this error can also "
292 "occur for an invalid value in I<optval> (e.g., for the B<IP_ADD_MEMBERSHIP> "
293 "option described in B<ip>(7))."
294 msgstr ""
295 "Неправильное значение I<optlen> в B<setsockopt>(). В некоторых случаях эта "
296 "ошибка может возникать из-за неправильного значения в I<optval> (например, "
297 "для параметра B<IP_ADD_MEMBERSHIP>, описанного в B<ip>(7))."
298
299 #. type: TP
300 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
301 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
302 #, no-wrap
303 msgid "B<ENOPROTOOPT>"
304 msgstr "B<ENOPROTOOPT>"
305
306 #. type: Plain text
307 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
308 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
309 msgid "The option is unknown at the level indicated."
310 msgstr "Неизвестный параметр для указанного уровня."
311
312 #. type: TP
313 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
314 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
315 #, no-wrap
316 msgid "B<ENOTSOCK>"
317 msgstr "B<ENOTSOCK>"
318
319 #. type: Plain text
320 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
321 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
322 msgid "The file descriptor I<sockfd> does not refer to a socket."
323 msgstr "Файловый дескриптор I<sockfd> указывает не на каталог."
324
325 #. type: SH
326 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
327 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
328 #, no-wrap
329 msgid "STANDARDS"
330 msgstr "СТАНДАРТЫ"
331
332 #. type: Plain text
333 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
334 #: opensuse-tumbleweed
335 msgid "POSIX.1-2024."
336 msgstr "POSIX.1-2024."
337
338 #. type: SH
339 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
340 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
341 #, no-wrap
342 msgid "HISTORY"
343 msgstr "ИСТОРИЯ"
344
345 #. SVr4 documents additional ENOMEM and ENOSR error codes, but does
346 #. not document the
347 #. .BR SO_SNDLOWAT ", " SO_RCVLOWAT ", " SO_SNDTIMEO ", " SO_RCVTIMEO
348 #. options
349 #. type: Plain text
350 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
351 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
352 msgid "POSIX.1-2001, SVr4, 4.4BSD (first appeared in 4.2BSD)."
353 msgstr "POSIX.1-2001, SVr4, 4.4BSD (впервые появилось в 4.2BSD)."
354
355 #. type: SH
356 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
357 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
358 #, no-wrap
359 msgid "BUGS"
360 msgstr "ПРОГРАММНЫЕ ОШИБКИ"
361
362 #. type: Plain text
363 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
364 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
365 msgid ""
366 "Several of the socket options should be handled at lower levels of the "
367 "system."
368 msgstr ""
369 "Некоторые параметры сокетов должны обрабатываться на более низких уровнях "
370 "системы."
371
372 #. type: SH
373 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
374 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
375 #, no-wrap
376 msgid "SEE ALSO"
377 msgstr "СМОТРИТЕ ТАКЖЕ"
378
379 #. type: Plain text
380 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
381 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
382 msgid ""
383 "B<ioctl>(2), B<socket>(2), B<getprotoent>(3), B<protocols>(5), B<ip>(7), "
384 "B<packet>(7), B<socket>(7), B<tcp>(7), B<udp>(7), B<unix>(7)"
385 msgstr ""
386 "B<ioctl>(2), B<socket>(2), B<getprotoent>(3), B<protocols>(5), B<ip>(7), "
387 "B<packet>(7), B<socket>(7), B<tcp>(7), B<udp>(7), B<unix>(7)"
388
389 #. type: TH
390 #: debian-trixie
391 #, no-wrap
392 msgid "2024-05-02"
393 msgstr "2 мая 2024 г."
394
395 #. type: TH
396 #: debian-trixie
397 #, no-wrap
398 msgid "Linux man-pages 6.9.1"
399 msgstr "Страницы руководства Linux 6.9.1"
400
401 #. type: Plain text
402 #: debian-trixie
403 msgid "Standard C library (I<libc>, I<-lc>)"
404 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
405
406 #. type: Plain text
407 #: debian-trixie fedora-44 fedora-rawhide
408 #, no-wrap
409 msgid ""
410 "B<int getsockopt(int >I<sockfd>B<, int >I<level>B<, int >I<optname>B<,>\n"
411 "B< void >I<optval>B<[restrict *.>I<optlen>B<],>\n"
412 "B< socklen_t *restrict >I<optlen>B<);>\n"
413 "B<int setsockopt(int >I<sockfd>B<, int >I<level>B<, int >I<optname>B<,>\n"
414 "B< const void >I<optval>B<[.>I<optlen>B<],>\n"
415 "B< socklen_t >I<optlen>B<);>\n"
416 msgstr ""
417 "B<int getsockopt(int >I<sockfd>B<, int >I<level>B<, int >I<optname>B<,>\n"
418 "B< void >I<optval>B<[restrict *.>I<optlen>B<],>\n"
419 "B< socklen_t *restrict >I<optlen>B<);>\n"
420 "B<int setsockopt(int >I<sockfd>B<, int >I<level>B<, int >I<optname>B<,>\n"
421 "B< const void >I<optval>B<[.>I<optlen>B<],>\n"
422 "B< socklen_t >I<optlen>B<);>\n"
423
424 #. type: Plain text
425 #: debian-trixie fedora-44 fedora-rawhide
426 msgid "POSIX.1-2008."
427 msgstr "POSIX.1-2008."
428
429 #. type: TH
430 #: fedora-44 fedora-rawhide
431 #, no-wrap
432 msgid "2024-07-23"
433 msgstr "23 июля 2024 г."
434
435 #. type: TH
436 #: fedora-44 fedora-rawhide
437 #, no-wrap
438 msgid "Linux man-pages 6.13"
439 msgstr "Страницы руководства Linux 6.13"
440
441 #. type: TH
442 #: mageia-cauldron
443 #, no-wrap
444 msgid "Linux man-pages 6.17"
445 msgstr "Страницы руководства Linux 6.17"
446
447 #. type: TH
448 #: opensuse-leap-16-1 opensuse-tumbleweed
449 #, no-wrap
450 msgid "Linux man-pages (unreleased)"
451 msgstr "Страницы руководства Linux (не выпущены)"