Debian Codegraph @

templates/man2/getsockopt.2.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:26+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
21 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
22 #, no-wrap
23 msgid "getsockopt"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
28 #: opensuse-tumbleweed
29 #, no-wrap
30 msgid "2025-10-29"
31 msgstr ""
32
33 #. type: TH
34 #: archlinux debian-unstable
35 #, no-wrap
36 msgid "Linux man-pages 6.18"
37 msgstr ""
38
39 #. type: SH
40 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
41 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
42 #, no-wrap
43 msgid "NAME"
44 msgstr ""
45
46 #. type: Plain text
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 msgid "getsockopt, setsockopt - get and set options on sockets"
50 msgstr ""
51
52 #. type: SH
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 #, no-wrap
56 msgid "LIBRARY"
57 msgstr ""
58
59 #. type: Plain text
60 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
61 #: opensuse-leap-16-1 opensuse-tumbleweed
62 msgid "Standard C library (I<libc>,\\ I<-lc>)"
63 msgstr ""
64
65 #. type: SH
66 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
67 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
68 #, no-wrap
69 msgid "SYNOPSIS"
70 msgstr ""
71
72 #. type: Plain text
73 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
74 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
75 #, no-wrap
76 msgid "B<#include E<lt>sys/socket.hE<gt>>\n"
77 msgstr ""
78
79 #. type: Plain text
80 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
81 #: opensuse-tumbleweed
82 #, no-wrap
83 msgid ""
84 "B<int getsockopt(>socklen_t *restrict optlen;\n"
85 "B< int >I<sockfd>B<, int >I<level>B<, int >I<optname>B<,>\n"
86 "B< void >I<optval>B<[_Nullable restrict *>I<optlen>B<],>\n"
87 "B< socklen_t *restrict >I<optlen>B<);>\n"
88 "B<int setsockopt(>socklen_t optlen;\n"
89 "B< int >I<sockfd>B<, int >I<level>B<, int >I<optname>B<,>\n"
90 "B< const void >I<optval>B<[>I<optlen>B<],>\n"
91 "B< socklen_t >I<optlen>B<);>\n"
92 msgstr ""
93
94 #. type: SH
95 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
96 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
97 #, no-wrap
98 msgid "DESCRIPTION"
99 msgstr ""
100
101 #. type: Plain text
102 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
103 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
104 msgid ""
105 "B<getsockopt>() and B<setsockopt>() manipulate options for the socket "
106 "referred to by the file descriptor I<sockfd>. Options may exist at multiple "
107 "protocol levels; they are always present at the uppermost socket level."
108 msgstr ""
109
110 #. type: Plain text
111 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
112 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
113 msgid ""
114 "When manipulating socket options, the level at which the option resides and "
115 "the name of the option must be specified. To manipulate options at the "
116 "sockets API level, I<level> is specified as B<SOL_SOCKET>. To manipulate "
117 "options at any other level the protocol number of the appropriate protocol "
118 "controlling the option is supplied. For example, to indicate that an option "
119 "is to be interpreted by the B<TCP> protocol, I<level> should be set to the "
120 "protocol number of B<TCP>; see B<getprotoent>(3)."
121 msgstr ""
122
123 #. type: Plain text
124 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
125 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
126 msgid ""
127 "The arguments I<optval> and I<optlen> are used to access option values for "
128 "B<setsockopt>(). For B<getsockopt>() they identify a buffer in which the "
129 "value for the requested option(s) are to be returned. For B<getsockopt>(), "
130 "I<optlen> is a value-result argument, initially containing the size of the "
131 "buffer pointed to by I<optval>, and modified on return to indicate the "
132 "actual size of the value returned. If no option value is to be supplied or "
133 "returned, I<optval> may be NULL."
134 msgstr ""
135
136 #. type: Plain text
137 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
138 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
139 msgid ""
140 "I<Optname> and any specified options are passed uninterpreted to the "
141 "appropriate protocol module for interpretation. The include file I<E<lt>sys/"
142 "socket.hE<gt>> contains definitions for socket level options, described "
143 "below. Options at other protocol levels vary in format and name; consult "
144 "the appropriate entries in section 4 of the manual."
145 msgstr ""
146
147 #. type: Plain text
148 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
149 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
150 msgid ""
151 "Most socket-level options utilize an I<int> argument for I<optval>. For "
152 "B<setsockopt>(), the argument should be nonzero to enable a boolean option, "
153 "or zero if the option is to be disabled."
154 msgstr ""
155
156 #. type: Plain text
157 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
158 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
159 msgid ""
160 "For a description of the available socket options see B<socket>(7) and the "
161 "appropriate protocol man pages."
162 msgstr ""
163
164 #. type: SH
165 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
166 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
167 #, no-wrap
168 msgid "RETURN VALUE"
169 msgstr ""
170
171 #. type: Plain text
172 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
173 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
174 msgid ""
175 "On success, zero is returned for the standard options. On error, -1 is "
176 "returned, and I<errno> is set to indicate the error."
177 msgstr ""
178
179 #. type: Plain text
180 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
181 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
182 msgid ""
183 "Netfilter allows the programmer to define custom socket options with "
184 "associated handlers; for such options, the return value on success is the "
185 "value returned by the handler."
186 msgstr ""
187
188 #. type: SH
189 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
190 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
191 #, no-wrap
192 msgid "ERRORS"
193 msgstr ""
194
195 #. type: TP
196 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
197 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
198 #, no-wrap
199 msgid "B<EBADF>"
200 msgstr ""
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 "The argument I<sockfd> is not a valid file descriptor."
206 msgstr ""
207
208 #. type: TP
209 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
210 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
211 #, no-wrap
212 msgid "B<EFAULT>"
213 msgstr ""
214
215 #. type: Plain text
216 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
217 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
218 msgid ""
219 "The address pointed to by I<optval> is not in a valid part of the process "
220 "address space. For B<getsockopt>(), this error may also be returned if "
221 "I<optlen> is not in a valid part of the process address space."
222 msgstr ""
223
224 #. type: TP
225 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
226 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
227 #, no-wrap
228 msgid "B<EINVAL>"
229 msgstr ""
230
231 #. type: Plain text
232 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
233 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
234 msgid ""
235 "I<optlen> invalid in B<setsockopt>(). In some cases this error can also "
236 "occur for an invalid value in I<optval> (e.g., for the B<IP_ADD_MEMBERSHIP> "
237 "option described in B<ip>(7))."
238 msgstr ""
239
240 #. type: TP
241 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
242 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
243 #, no-wrap
244 msgid "B<ENOPROTOOPT>"
245 msgstr ""
246
247 #. type: Plain text
248 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
249 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
250 msgid "The option is unknown at the level indicated."
251 msgstr ""
252
253 #. type: TP
254 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
255 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
256 #, no-wrap
257 msgid "B<ENOTSOCK>"
258 msgstr ""
259
260 #. type: Plain text
261 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
262 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
263 msgid "The file descriptor I<sockfd> does not refer to a socket."
264 msgstr ""
265
266 #. type: SH
267 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
268 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
269 #, no-wrap
270 msgid "STANDARDS"
271 msgstr ""
272
273 #. type: Plain text
274 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
275 #: opensuse-tumbleweed
276 msgid "POSIX.1-2024."
277 msgstr ""
278
279 #. type: SH
280 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
281 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
282 #, no-wrap
283 msgid "HISTORY"
284 msgstr ""
285
286 #. SVr4 documents additional ENOMEM and ENOSR error codes, but does
287 #. not document the
288 #. .BR SO_SNDLOWAT ", " SO_RCVLOWAT ", " SO_SNDTIMEO ", " SO_RCVTIMEO
289 #. options
290 #. type: Plain text
291 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
292 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
293 msgid "POSIX.1-2001, SVr4, 4.4BSD (first appeared in 4.2BSD)."
294 msgstr ""
295
296 #. type: SH
297 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
298 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
299 #, no-wrap
300 msgid "BUGS"
301 msgstr ""
302
303 #. type: Plain text
304 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
305 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
306 msgid ""
307 "Several of the socket options should be handled at lower levels of the "
308 "system."
309 msgstr ""
310
311 #. type: SH
312 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
313 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
314 #, no-wrap
315 msgid "SEE ALSO"
316 msgstr ""
317
318 #. type: Plain text
319 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
320 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
321 msgid ""
322 "B<ioctl>(2), B<socket>(2), B<getprotoent>(3), B<protocols>(5), B<ip>(7), "
323 "B<packet>(7), B<socket>(7), B<tcp>(7), B<udp>(7), B<unix>(7)"
324 msgstr ""
325
326 #. type: TH
327 #: debian-trixie
328 #, no-wrap
329 msgid "2024-05-02"
330 msgstr ""
331
332 #. type: TH
333 #: debian-trixie
334 #, no-wrap
335 msgid "Linux man-pages 6.9.1"
336 msgstr ""
337
338 #. type: Plain text
339 #: debian-trixie
340 msgid "Standard C library (I<libc>, I<-lc>)"
341 msgstr ""
342
343 #. type: Plain text
344 #: debian-trixie fedora-44 fedora-rawhide
345 #, no-wrap
346 msgid ""
347 "B<int getsockopt(int >I<sockfd>B<, int >I<level>B<, int >I<optname>B<,>\n"
348 "B< void >I<optval>B<[restrict *.>I<optlen>B<],>\n"
349 "B< socklen_t *restrict >I<optlen>B<);>\n"
350 "B<int setsockopt(int >I<sockfd>B<, int >I<level>B<, int >I<optname>B<,>\n"
351 "B< const void >I<optval>B<[.>I<optlen>B<],>\n"
352 "B< socklen_t >I<optlen>B<);>\n"
353 msgstr ""
354
355 #. type: Plain text
356 #: debian-trixie fedora-44 fedora-rawhide
357 msgid "POSIX.1-2008."
358 msgstr ""
359
360 #. type: TH
361 #: fedora-44 fedora-rawhide
362 #, no-wrap
363 msgid "2024-07-23"
364 msgstr ""
365
366 #. type: TH
367 #: fedora-44 fedora-rawhide
368 #, no-wrap
369 msgid "Linux man-pages 6.13"
370 msgstr ""
371
372 #. type: TH
373 #: mageia-cauldron
374 #, no-wrap
375 msgid "Linux man-pages 6.17"
376 msgstr ""
377
378 #. type: TH
379 #: opensuse-leap-16-1 opensuse-tumbleweed
380 #, no-wrap
381 msgid "Linux man-pages (unreleased)"
382 msgstr ""