Debian Codegraph @

po/pl/man2/getpeername.2.po

raw
1 # Polish translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Przemek Borys <[email protected]>, 1998.
5 # Andrzej Krzysztofowicz <[email protected]>, 2002.
6 # Michał Kułach <[email protected]>, 2024.
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: manpages-l10n\n"
10 "POT-Creation-Date: 2026-06-05 06:25+0200\n"
11 "PO-Revision-Date: 2024-03-11 20:24+0100\n"
12 "Last-Translator: Michał Kułach <[email protected]>\n"
13 "Language-Team: Polish <[email protected]>\n"
14 "Language: pl\n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18 "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
19 "|| n%100>=20) ? 1 : 2);\n"
20 "X-Generator: Lokalize 22.12.3\n"
21
22 #. type: TH
23 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
24 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
25 #, no-wrap
26 msgid "getpeername"
27 msgstr "getpeername"
28
29 #. type: TH
30 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
31 #: opensuse-tumbleweed
32 #, no-wrap
33 msgid "2025-10-29"
34 msgstr "29 października 2025 r."
35
36 #. type: TH
37 #: archlinux debian-unstable
38 #, no-wrap
39 msgid "Linux man-pages 6.18"
40 msgstr "Linux man-pages 6.18"
41
42 #. type: SH
43 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
44 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
45 #, no-wrap
46 msgid "NAME"
47 msgstr "NAZWA"
48
49 #. type: Plain text
50 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
51 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
52 msgid "getpeername - get name of connected peer socket"
53 msgstr "getpeername - pobiera nazwę drugiej strony połączonego gniazda"
54
55 #. type: SH
56 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
57 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
58 #, no-wrap
59 msgid "LIBRARY"
60 msgstr "BIBLIOTEKA"
61
62 #. type: Plain text
63 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
64 #: opensuse-leap-16-1 opensuse-tumbleweed
65 msgid "Standard C library (I<libc>,\\ I<-lc>)"
66 msgstr "Standardowa biblioteka C (I<libc>,\\ I<-lc>)"
67
68 #. type: SH
69 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
70 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
71 #, no-wrap
72 msgid "SYNOPSIS"
73 msgstr "SKŁADNIA"
74
75 #. type: Plain text
76 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
77 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
78 #, no-wrap
79 msgid "B<#include E<lt>sys/socket.hE<gt>>\n"
80 msgstr "B<#include E<lt>sys/socket.hE<gt>>\n"
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 ""
87 "B<int getpeername(int >I<sockfd>B<, struct sockaddr *restrict >I<addr>B<,>\n"
88 "B< socklen_t *restrict >I<addrlen>B<);>\n"
89 msgstr ""
90 "B<int getpeername(int >I<sockfd>B<, struct sockaddr *restrict >I<addr>B<,>\n"
91 "B< socklen_t *restrict >I<addrlen>B<);>\n"
92
93 #. type: SH
94 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
95 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
96 #, no-wrap
97 msgid "DESCRIPTION"
98 msgstr "OPIS"
99
100 #. type: Plain text
101 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
102 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
103 msgid ""
104 "B<getpeername>() returns the address of the peer connected to the socket "
105 "I<sockfd>, in the buffer pointed to by I<addr>. The I<addrlen> argument "
106 "should be initialized to indicate the amount of space pointed to by "
107 "I<addr>. On return it contains the actual size of the name returned (in "
108 "bytes). The name is truncated if the buffer provided is too small."
109 msgstr ""
110 "B<getpeername>() zwraca adres drugiej strony równorzędnego połączenia "
111 "odbywającego się poprzez gniazdo I<sockfd>, w buforze na który wskazuje "
112 "I<addr>. Argument I<addrlen> powinien być zainicjalizowany tak, aby podawać "
113 "rozmiar obszaru wskazywanego przez I<addr>. Po zakończeniu, będzie on "
114 "zawierać rzeczywisty rozmiar zwróconej nazwy (w bajtach). Nazwa jest "
115 "obcinana, jeśli zadany bufor jest zbyt mały."
116
117 #. type: Plain text
118 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
119 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
120 msgid ""
121 "The returned address is truncated if the buffer provided is too small; in "
122 "this case, I<addrlen> will return a value greater than was supplied to the "
123 "call."
124 msgstr ""
125 "Zwracany adres jest przycinany, jeśli udostępniony bufor jest zbyt mały; w "
126 "tym przypadku I<addrlen> zwróci wartość większą niż była podana w wywołaniu."
127
128 #. type: SH
129 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
130 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
131 #, no-wrap
132 msgid "RETURN VALUE"
133 msgstr "WARTOŚĆ ZWRACANA"
134
135 #. type: Plain text
136 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
137 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
138 msgid ""
139 "On success, zero is returned. On error, -1 is returned, and I<errno> is set "
140 "to indicate the error."
141 msgstr ""
142 "Po pomyślnym zakończeniu zwracane jest zero. Po błędzie zwracane jest -1 i "
143 "ustawiane I<errno>, wskazując błąd."
144
145 #. type: SH
146 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
147 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
148 #, no-wrap
149 msgid "ERRORS"
150 msgstr "BŁĘDY"
151
152 #. type: TP
153 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
154 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
155 #, no-wrap
156 msgid "B<EBADF>"
157 msgstr "B<EBADF>"
158
159 #. type: Plain text
160 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
161 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
162 msgid "The argument I<sockfd> is not a valid file descriptor."
163 msgstr "Argument I<sockfd> nie jest prawidłowym deskryptorem."
164
165 #. type: TP
166 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
167 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
168 #, no-wrap
169 msgid "B<EFAULT>"
170 msgstr "B<EFAULT>"
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 "The I<addr> argument points to memory not in a valid part of the process "
177 "address space."
178 msgstr "Parametr I<addr> wskazuje poza dostępną przestrzeń adresową procesu."
179
180 #. type: TP
181 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
182 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
183 #, no-wrap
184 msgid "B<EINVAL>"
185 msgstr "B<EINVAL>"
186
187 #. type: Plain text
188 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
189 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
190 msgid "I<addrlen> is invalid (e.g., is negative)."
191 msgstr "I<addrlen> jest nieprawidłowe (np. jest ujemne)."
192
193 #. type: TP
194 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
195 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
196 #, no-wrap
197 msgid "B<ENOBUFS>"
198 msgstr "B<ENOBUFS>"
199
200 #. type: Plain text
201 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
202 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
203 msgid ""
204 "Insufficient resources were available in the system to perform the operation."
205 msgstr ""
206 "Dostępna ilość zasobów systemowych jest niewystarczająca dla wykonania "
207 "operacji."
208
209 #. type: TP
210 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
211 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
212 #, no-wrap
213 msgid "B<ENOTCONN>"
214 msgstr "B<ENOTCONN>"
215
216 #. type: Plain text
217 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
218 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
219 msgid "The socket is not connected."
220 msgstr "Gniazdo nie jest podłączone."
221
222 #. type: TP
223 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
224 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
225 #, no-wrap
226 msgid "B<ENOTSOCK>"
227 msgstr "B<ENOTSOCK>"
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 "The file descriptor I<sockfd> does not refer to a socket."
233 msgstr "Deskryptor pliku I<sockfd> nie odnosi się do gniazda."
234
235 #. type: SH
236 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
237 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
238 #, no-wrap
239 msgid "STANDARDS"
240 msgstr "STANDARDY"
241
242 #. type: Plain text
243 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
244 #: opensuse-tumbleweed
245 msgid "POSIX.1-2024."
246 msgstr "POSIX.1-2024."
247
248 #. type: SH
249 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
250 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
251 #, no-wrap
252 msgid "HISTORY"
253 msgstr "HISTORIA"
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 "POSIX.1-2001, SVr4, 4.4BSD (first appeared in 4.2BSD)."
259 msgstr "POSIX.1-2001, SVr4, 4.4BSD (pojawiło się pierwotnie w 4.2BSD)."
260
261 #. type: SH
262 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
263 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
264 #, no-wrap
265 msgid "NOTES"
266 msgstr "UWAGI"
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 "For stream sockets, once a B<connect>(2) has been performed, either socket "
273 "can call B<getpeername>() to obtain the address of the peer socket. On the "
274 "other hand, datagram sockets are connectionless. Calling B<connect>(2) on "
275 "a datagram socket merely sets the peer address for outgoing datagrams sent "
276 "with B<write>(2) or B<recv>(2). The caller of B<connect>(2) can use "
277 "B<getpeername>() to obtain the peer address that it earlier set for the "
278 "socket. However, the peer socket is unaware of this information, and "
279 "calling B<getpeername>() on the peer socket will return no useful "
280 "information (unless a B<connect>(2) call was also executed on the peer). "
281 "Note also that the receiver of a datagram can obtain the address of the "
282 "sender when using B<recvfrom>(2)."
283 msgstr ""
284 "W przypadku gniazd strumieniowych, po przeprowadzeniu B<connect>(2), każde z "
285 "gniazd może wywołać B<getpeername>(), aby pozyskać adres drugiego gniazda. Z "
286 "drugiej strony, gniazda datagramowe są bezpołączeniowe. Wywołanie "
287 "B<connect>(2) na gnieździe datagramowym jedynie ustawia adres drugiej strony "
288 "w celu wysyłania datagramów za pomocą B<write>(2) lub B<recv>(2). Odbiorca "
289 "B<connect>(2) może użyć B<getpeername>() do pozyskania adresu drugiego "
290 "gniazda, które ustawiło wcześniej dla gniazda. Jednakże drugie gniazdo nie "
291 "ma tej wiedzy, zatem wywołanie B<getpeername>() na drugim gnieździe nie "
292 "zwróci żadnej przydatnej informacji (chyba, że wywołanie B<connect>(2) "
293 "wykonano również na drugim gnieździe). Proszę zauważyć, że odbiorca "
294 "datagramu może pozyskać adres wysyłającego za pomocą B<recvfrom>(2)."
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 "SEE ALSO"
301 msgstr "ZOBACZ TAKŻE"
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 "B<accept>(2), B<bind>(2), B<getsockname>(2), B<ip>(7), B<socket>(7), "
308 "B<unix>(7)"
309 msgstr ""
310 "B<accept>(2), B<bind>(2), B<getsockname>(2), B<ip>(7), B<socket>(7), "
311 "B<unix>(7)"
312
313 #. type: TH
314 #: debian-trixie
315 #, no-wrap
316 msgid "2024-05-02"
317 msgstr "2 maja 2024 r."
318
319 #. type: TH
320 #: debian-trixie
321 #, no-wrap
322 msgid "Linux man-pages 6.9.1"
323 msgstr "Linux man-pages 6.9.1"
324
325 #. type: Plain text
326 #: debian-trixie
327 msgid "Standard C library (I<libc>, I<-lc>)"
328 msgstr "Standardowa biblioteka C (I<libc>, I<-lc>)"
329
330 #. type: Plain text
331 #: debian-trixie fedora-44 fedora-rawhide
332 msgid "POSIX.1-2008."
333 msgstr "POSIX.1-2008."
334
335 #. type: TH
336 #: fedora-44 fedora-rawhide
337 #, no-wrap
338 msgid "2024-07-23"
339 msgstr "23 lipca 2024 r."
340
341 #. type: TH
342 #: fedora-44 fedora-rawhide
343 #, no-wrap
344 msgid "Linux man-pages 6.13"
345 msgstr "Linux man-pages 6.13"
346
347 #. type: TH
348 #: mageia-cauldron
349 #, no-wrap
350 msgid "Linux man-pages 6.17"
351 msgstr "Linux man-pages 6.17"
352
353 #. type: TH
354 #: opensuse-leap-16-1 opensuse-tumbleweed
355 #, no-wrap
356 msgid "Linux man-pages (unreleased)"
357 msgstr "Linux man-pages (niewydane)"