Debian Codegraph @

po/pl/man3/gethostbyname.3.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 # Robert Luberda <[email protected]>, 2003, 2014, 2017, 2019.
5 # Michał Kułach <[email protected]>, 2014, 2016, 2024, 2025.
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: manpages-pl\n"
9 "POT-Creation-Date: 2026-06-05 06:25+0200\n"
10 "PO-Revision-Date: 2025-11-30 12:16+0100\n"
11 "Last-Translator: Michał Kułach <[email protected]>\n"
12 "Language-Team: Polish <[email protected]>\n"
13 "Language: pl\n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
17 "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
18 "|| n%100>=20) ? 1 : 2);\n"
19 "X-Generator: Lokalize 25.04.0\n"
20
21 #. type: TH
22 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
23 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
24 #, no-wrap
25 msgid "gethostbyname"
26 msgstr "gethostbyname"
27
28 #. type: TH
29 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
30 #: opensuse-tumbleweed
31 #, no-wrap
32 msgid "2026-02-08"
33 msgstr "8 lutego 2026 r."
34
35 #. type: TH
36 #: archlinux debian-unstable
37 #, no-wrap
38 msgid "Linux man-pages 6.18"
39 msgstr "Linux man-pages 6.18"
40
41 #. type: SH
42 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
43 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
44 #, no-wrap
45 msgid "NAME"
46 msgstr "NAZWA"
47
48 #. type: Plain text
49 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
50 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
51 msgid ""
52 "gethostbyname, gethostbyaddr, sethostent, gethostent, endhostent, h_errno, "
53 "herror, hstrerror, gethostbyaddr_r, gethostbyname2, gethostbyname2_r, "
54 "gethostbyname_r, gethostent_r - get network host entry"
55 msgstr ""
56 "gethostbyname, gethostbyaddr, sethostent, gethostent, endhostent, h_errno, "
57 "herror, hstrerror, gethostbyaddr_r, gethostbyname2, gethostbyname2_r, "
58 "gethostbyname_r, gethostent_r - zwraca wpis sieciowy komputera"
59
60 #. type: SH
61 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
62 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
63 #, no-wrap
64 msgid "LIBRARY"
65 msgstr "BIBLIOTEKA"
66
67 #. type: Plain text
68 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
69 #: opensuse-leap-16-1 opensuse-tumbleweed
70 msgid "Standard C library (I<libc>,\\ I<-lc>)"
71 msgstr "Standardowa biblioteka C (I<libc>,\\ I<-lc>)"
72
73 #. type: SH
74 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
75 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
76 #, no-wrap
77 msgid "SYNOPSIS"
78 msgstr "SKŁADNIA"
79
80 #. type: Plain text
81 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
82 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
83 #, no-wrap
84 msgid "B<#include E<lt>netdb.hE<gt>>\n"
85 msgstr "B<#include E<lt>netdb.hE<gt>>\n"
86
87 #. type: Plain text
88 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
89 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
90 #, no-wrap
91 msgid ""
92 "B<void sethostent(int >I<stayopen>B<);>\n"
93 "B<void endhostent(void);>\n"
94 msgstr ""
95 "B<void sethostent(int >I<stayopen>B<);>\n"
96 "B<void endhostent(void);>\n"
97
98 #. type: Plain text
99 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
100 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
101 #, no-wrap
102 msgid "B<[[deprecated]] extern int h_errno;>\n"
103 msgstr "B<[[przestarzałe]] extern int h_errno;>\n"
104
105 #. type: Plain text
106 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
107 #: opensuse-tumbleweed
108 #, no-wrap
109 msgid ""
110 "B<[[deprecated]] struct hostent *gethostbyname(const char *>I<name>B<);>\n"
111 "B<[[deprecated]] struct hostent *gethostbyaddr(>socklen_t size;\n"
112 "B< const void >I<addr>B<[>I<size>B<],>\n"
113 "B< socklen_t >I<size>B<, int >I<type>B<);>\n"
114 msgstr ""
115 "B<[[przestarzałe]] struct hostent *gethostbyname(const char *>I<name>B<);>\n"
116 "B<[[przestarzałe]] struct hostent *gethostbyaddr(>socklen_t size;\n"
117 "B< const void >I<addr>B<[>I<size>B<],>\n"
118 "B< socklen_t >I<size>B<, int >I<type>B<);>\n"
119
120 #. type: Plain text
121 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
122 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
123 #, no-wrap
124 msgid ""
125 "B<[[deprecated]] void herror(const char *>I<s>B<);>\n"
126 "B<[[deprecated]] const char *hstrerror(int >I<err>B<);>\n"
127 msgstr ""
128 "B<[[przestarzałe]] void herror(const char *>I<s>B<);>\n"
129 "B<[[przestarzałe]] const char *hstrerror(int >I<err>B<);>\n"
130
131 #. type: Plain text
132 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
133 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
134 #, no-wrap
135 msgid ""
136 "/* System V/POSIX extension */\n"
137 "B<struct hostent *gethostent(void);>\n"
138 msgstr ""
139 "/* Rozszerzenie systemu V/POSIX */\n"
140 "B<struct hostent *gethostent(void);>\n"
141
142 #. type: Plain text
143 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
144 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
145 #, no-wrap
146 msgid ""
147 "/* GNU extensions */\n"
148 "B<[[deprecated]]>\n"
149 "B<struct hostent *gethostbyname2(const char *>I<name>B<, int >I<af>B<);>\n"
150 msgstr ""
151 "/* Rozszerzenia GNU */\n"
152 "B<[[przestarzałe]]>\n"
153 "B<struct hostent *gethostbyname2(const char *>I<name>B<, int >I<af>B<);>\n"
154
155 #. type: Plain text
156 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
157 #: opensuse-tumbleweed
158 #, no-wrap
159 msgid ""
160 "B<int gethostent_r(>size_t bufsize;\n"
161 "B< struct hostent *restrict >I<ret>B<,>\n"
162 "B< char >I<buf>B<[restrict >I<bufsize>B<], size_t >I<bufsize>B<,>\n"
163 "B< struct hostent **restrict >I<result>B<,>\n"
164 "B< int *restrict >I<h_errnop>B<);>\n"
165 msgstr ""
166 "B<int gethostent_r(>size_t bufsize;\n"
167 "B< struct hostent *restrict >I<ret>B<,>\n"
168 "B< char >I<buf>B<[restrict >I<bufsize>B<], size_t >I<bufsize>B<,>\n"
169 "B< struct hostent **restrict >I<result>B<,>\n"
170 "B< int *restrict >I<h_errnop>B<);>\n"
171
172 #. type: Plain text
173 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
174 #: opensuse-tumbleweed
175 #, no-wrap
176 msgid ""
177 "B<[[deprecated]]>\n"
178 "B<int gethostbyaddr_r(>socklen_t size, size_t bufsize;\n"
179 "B< const void >I<addr>B<[restrict >I<size>B<], socklen_t >I<size>B<,>\n"
180 "B< int >I<type>B<,>\n"
181 "B< struct hostent *restrict >I<ret>B<,>\n"
182 "B< char >I<buf>B<[restrict >I<bufsize>B<], size_t >I<bufsize>B<,>\n"
183 "B< struct hostent **restrict >I<result>B<,>\n"
184 "B< int *restrict >I<h_errnop>B<);>\n"
185 "B<[[deprecated]]>\n"
186 "B<int gethostbyname_r(>size_t bufsize;\n"
187 "B< const char *restrict >I<name>B<,>\n"
188 "B< struct hostent *restrict >I<ret>B<,>\n"
189 "B< char >I<buf>B<[restrict >I<bufsize>B<], size_t >I<bufsize>B<,>\n"
190 "B< struct hostent **restrict >I<result>B<,>\n"
191 "B< int *restrict >I<h_errnop>B<);>\n"
192 "B<[[deprecated]]>\n"
193 "B<int gethostbyname2_r(>size_t bufsize;\n"
194 "B< const char *restrict >I<name>B<, int >I<af,>\n"
195 "B< struct hostent *restrict >I<ret>B<,>\n"
196 "B< char >I<buf>B<[restrict >I<bufsize>B<], size_t >I<bufsize>B<,>\n"
197 "B< struct hostent **restrict >I<result>B<,>\n"
198 "B< int *restrict >I<h_errnop>B<);>\n"
199 msgstr ""
200 "B<[[przestarzałe]]>\n"
201 "B<int gethostbyaddr_r(>socklen_t size, size_t bufsize;\n"
202 "B< const void >I<addr>B<[restrict >I<size>B<], socklen_t >I<size>B<,>\n"
203 "B< int >I<type>B<,>\n"
204 "B< struct hostent *restrict >I<ret>B<,>\n"
205 "B< char >I<buf>B<[restrict >I<bufsize>B<], size_t >I<bufsize>B<,>\n"
206 "B< struct hostent **restrict >I<result>B<,>\n"
207 "B< int *restrict >I<h_errnop>B<);>\n"
208 "B<[[przestarzałe]]>\n"
209 "B<int gethostbyname_r(>size_t bufsize;\n"
210 "B< const char *restrict >I<name>B<,>\n"
211 "B< struct hostent *restrict >I<ret>B<,>\n"
212 "B< char >I<buf>B<[restrict >I<bufsize>B<], size_t >I<bufsize>B<,>\n"
213 "B< struct hostent **restrict >I<result>B<,>\n"
214 "B< int *restrict >I<h_errnop>B<);>\n"
215 "B<[[przestarzałe]]>\n"
216 "B<int gethostbyname2_r(>size_t bufsize;\n"
217 "B< const char *restrict >I<name>B<, int >I<af,>\n"
218 "B< struct hostent *restrict >I<ret>B<,>\n"
219 "B< char >I<buf>B<[restrict >I<bufsize>B<], size_t >I<bufsize>B<,>\n"
220 "B< struct hostent **restrict >I<result>B<,>\n"
221 "B< int *restrict >I<h_errnop>B<);>\n"
222
223 #. type: Plain text
224 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
225 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
226 msgid ""
227 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
228 msgstr ""
229 "Wymagane ustawienia makr biblioteki glibc (patrz B<feature_test_macros>(7)):"
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 "B<gethostbyname2>(), B<gethostent_r>(), B<gethostbyaddr_r>(), "
236 "B<gethostbyname_r>(), B<gethostbyname2_r>():"
237 msgstr ""
238 "B<gethostbyname2>(), B<gethostent_r>(), B<gethostbyaddr_r>(), "
239 "B<gethostbyname_r>(), B<gethostbyname2_r>():"
240
241 #. type: Plain text
242 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
243 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
244 #, no-wrap
245 msgid ""
246 " Since glibc 2.19:\n"
247 " _DEFAULT_SOURCE\n"
248 " glibc up to and including 2.19:\n"
249 " _BSD_SOURCE || _SVID_SOURCE\n"
250 msgstr ""
251 " Od glibc 2.19:\n"
252 " _DEFAULT_SOURCE\n"
253 " glibc do 2.19 włącznie:\n"
254 " _BSD_SOURCE || _SVID_SOURCE\n"
255
256 #. type: Plain text
257 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
258 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
259 msgid "B<herror>(), B<hstrerror>():"
260 msgstr "B<herror>(), B<hstrerror>():"
261
262 #. type: Plain text
263 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
264 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
265 #, no-wrap
266 msgid ""
267 " Since glibc 2.19:\n"
268 " _DEFAULT_SOURCE\n"
269 " glibc 2.8 to glibc 2.19:\n"
270 " _BSD_SOURCE || _SVID_SOURCE\n"
271 " Before glibc 2.8:\n"
272 " none\n"
273 msgstr ""
274 " Od glibc 2.19:\n"
275 " _DEFAULT_SOURCE\n"
276 " glibc 2.8 do glibc 2.19:\n"
277 " _BSD_SOURCE || _SVID_SOURCE\n"
278 " Przed glibc 2.8:\n"
279 " brak\n"
280
281 #. type: Plain text
282 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
283 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
284 msgid "B<h_errno>:"
285 msgstr "B<h_errno>:"
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 #, no-wrap
291 msgid ""
292 " Since glibc 2.19\n"
293 " _DEFAULT_SOURCE || _POSIX_C_SOURCE E<lt> 200809L\n"
294 " glibc 2.12 to glibc 2.19:\n"
295 " _BSD_SOURCE || _SVID_SOURCE || _POSIX_C_SOURCE E<lt> 200809L\n"
296 " Before glibc 2.12:\n"
297 " none\n"
298 msgstr ""
299 " Od glibc 2.19\n"
300 " _DEFAULT_SOURCE || _POSIX_C_SOURCE E<lt> 200809L\n"
301 " glibc 2.12 do glibc 2.19:\n"
302 " _BSD_SOURCE || _SVID_SOURCE || _POSIX_C_SOURCE E<lt> 200809L\n"
303 " Przed glibc 2.12:\n"
304 " brak\n"
305
306 #. type: SH
307 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
308 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
309 #, no-wrap
310 msgid "DESCRIPTION"
311 msgstr "OPIS"
312
313 #. type: Plain text
314 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
315 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
316 msgid ""
317 "The B<gethostbyname*>(), B<gethostbyaddr*>(), B<herror>(), and "
318 "B<hstrerror>() functions are obsolete. Applications should use "
319 "B<getaddrinfo>(3), B<getnameinfo>(3), and B<gai_strerror>(3) instead."
320 msgstr ""
321 "Funkcje B<gethostbyname*>(), B<gethostbyaddr*>(), B<herror>() oraz "
322 "B<hstrerror>() są przestarzałe. Aplikacje powinny zamiast nich używać "
323 "B<getaddrinfo>(3), B<getnameinfo>(3) i B<gai_strerror>(3)."
324
325 #. type: Plain text
326 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
327 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
328 msgid ""
329 "The B<sethostent>() function specifies, if I<stayopen> is true (1), that a "
330 "connected TCP socket should be used for the name server queries and that the "
331 "connection should remain open during successive queries. Otherwise, name "
332 "server queries will use UDP datagrams."
333 msgstr ""
334 "Funkcja B<sethostent>() określa, jeżeli I<stayopen> jest prawdziwe (1), że "
335 "do odpytywania serwera nazw będzie użyte połączenie TCP i to połączenie "
336 "będzie otwarte podczas kolejnych zapytań. W przeciwnym wypadku serwer nazw "
337 "będzie odpytywany przy użyciu datagramów UDP."
338
339 #. type: Plain text
340 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
341 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
342 msgid ""
343 "The B<endhostent>() function ends the use of a TCP connection for name "
344 "server queries."
345 msgstr ""
346 "Funkcja B<endhostent>() kończy połączenie TCP odpytywania serwera nazw."
347
348 #. type: Plain text
349 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
350 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
351 msgid ""
352 "The B<gethostbyname>() function returns a structure of type I<hostent> for "
353 "the given host I<name>. Here I<name> is either a hostname or an IPv4 "
354 "address in standard dot notation (as for B<inet_addr>(3)). If I<name> is an "
355 "IPv4 address, no lookup is performed and B<gethostbyname>() simply copies "
356 "I<name> into the I<h_name> field and its I<struct in_addr> equivalent into "
357 "the I<h_addr_list[0]> field of the returned I<hostent> structure. If "
358 "I<name> doesn't end in a dot and the environment variable B<HOSTALIASES> is "
359 "set, the alias file pointed to by B<HOSTALIASES> will first be searched for "
360 "I<name> (see B<hostname>(7) for the file format). The current domain and "
361 "its parents are searched unless I<name> ends in a dot."
362 msgstr ""
363 "Funkcja B<gethostbyname>() dla danego komputera I<name> zwraca strukturę "
364 "typu I<hostent>. I<name> jest tutaj albo nazwą komputera, albo adresem IPv4 "
365 "w standardowej notacji z kropkami (jak opisano w B<inet_addr>(3)). Jeżeli "
366 "I<name> jest adresem IPv4, to B<gethostbyname>() nie wykonuje żadnych "
367 "sprawdzeń i po prostu kopiuje I<name> do pola I<h_name> oraz jej odpowiednik "
368 "I<struct in_addr> do pola I<h_addr_list[0]> zwracanej struktury I<hostent>. "
369 "Jeżeli I<name> nie kończy się kropką oraz ustawiono zmienną środowiskową "
370 "B<HOSTALIASES>, to wyszukiwanie I<name> zacznie się od pliku z aliasami, "
371 "wskazywanego przez B<HOSTALIASES> (format tego pliku opisany jest w "
372 "B<hostname>(7)). Bieżąca domena i jej domeny nadrzędne są przeszukiwane, "
373 "chyba że I<name> kończy się kropką."
374
375 #. type: Plain text
376 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
377 #: opensuse-tumbleweed
378 msgid ""
379 "The B<gethostbyaddr>() function returns a structure of type I<hostent> for "
380 "the given host address I<addr> of size I<size> and address type I<type>. "
381 "Valid address types are B<AF_INET> and B<AF_INET6> (defined in I<E<lt>sys/"
382 "socket.hE<gt>>). The host address argument is a pointer to a struct of a "
383 "type depending on the address type, for example a I<struct\\ in_addr\\ *> "
384 "(probably obtained via a call to B<inet_addr>(3)) for address type "
385 "B<AF_INET>."
386 msgstr ""
387 "Funkcja B<gethostbyaddr>() zwraca strukturę typu I<hostent> dla zadanego "
388 "adresu I<addr> o rozmiarze I<size> i typie adresu I<type>. Poprawnymi typami "
389 "adresów są B<AF_INET> i B<AF_INET6> (zdefiniowane w I<E<lt>sys/"
390 "socket.hE<gt>>). Adres komputera jest wskaźnikiem do struktury o typie "
391 "zależnym od typu adresu, na przykład I<struct\\ in_addr\\ *> "
392 "(najprawdopodobniej otrzymany przez wywołanie B<inet_addr>(3)) dla adresu o "
393 "typie B<AF_INET>."
394
395 #. type: Plain text
396 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
397 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
398 msgid ""
399 "The (obsolete) B<herror>() function prints the error message associated "
400 "with the current value of I<h_errno> on I<stderr>."
401 msgstr ""
402 "(Przestarzała) funkcja B<herror>() wypisuje na standardowe wyjście błędów "
403 "I<stderr> komunikat błędu przypisany do bieżącej wartości zmiennej "
404 "I<h_errno>."
405
406 #. type: Plain text
407 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
408 #: opensuse-tumbleweed
409 msgid ""
410 "The (obsolete) B<hstrerror>() function takes an error number (typically "
411 "I<h_errno>) and returns the corresponding message string."
412 msgstr ""
413 "(Przestarzała) funkcja B<hstrerror>() dla przekazanego numeru błędu "
414 "(zazwyczaj I<h_errno>) zwraca odpowiadający mu komunikat błędu."
415
416 #. type: Plain text
417 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
418 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
419 msgid ""
420 "The domain name queries carried out by B<gethostbyname>() and "
421 "B<gethostbyaddr>() rely on the Name Service Switch (B<nsswitch.conf>(5)) "
422 "configured sources or a local name server (B<named>(8)). The default action "
423 "is to query the Name Service Switch (B<nsswitch.conf>(5)) configured "
424 "sources, failing that, a local name server (B<named>(8))."
425 msgstr ""
426 "Zapytania o nazwy domenowe z B<gethostbyname>() i B<gethostbyaddr>() "
427 "polegają na skonfigurowanych źródłach Name Service Switch "
428 "(B<nsswitch.conf>(5)) lub lokalnym serwerze nazw (B<named>(8)). "
429 "Domyślną akcją jest odpytanie skonfigurowanych źródeł Name Service Switch "
430 "(B<nsswitch.conf>(5), a jeśli się to nie powiedzie, lokalnego serwera nazw "
431 "(B<named>(8))."
432
433 #. type: SS
434 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
435 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
436 #, no-wrap
437 msgid "Historical"
438 msgstr "Historia"
439
440 #. type: Plain text
441 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
442 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
443 msgid ""
444 "The B<nsswitch.conf>(5) file is the modern way of controlling the order of "
445 "host lookups."
446 msgstr ""
447 "Plik B<nsswitch.conf>(5) jest współczesnym sposobem kontrolowania kolejności "
448 "wyszukiwań komputerów."
449
450 #. type: Plain text
451 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
452 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
453 msgid ""
454 "In glibc 2.4 and earlier, the I<order> keyword was used to control the order "
455 "of host lookups as defined in I</etc/host.conf> (B<host.conf>(5))."
456 msgstr ""
457 "W glibc 2.4 i wcześniejszych, do określenia kolejności wyszukiwań komputerów "
458 "służyło słowo kluczowe I<order> zdefiniowane w I</etc/host.conf> "
459 "(B<host.conf>(5))."
460
461 #. type: Plain text
462 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
463 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
464 msgid "The I<hostent> structure is defined in I<E<lt>netdb.hE<gt>> as follows:"
465 msgstr "Struktura I<hostent> zdefiniowana w I<E<lt>netdb.hE<gt>> następująco:"
466
467 #. type: Plain text
468 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
469 #: opensuse-leap-16-1 opensuse-tumbleweed
470 #, no-wrap
471 msgid ""
472 "struct hostent {\n"
473 " char *h_name; /* official name of host */\n"
474 " char **h_aliases; /* alias list */\n"
475 " int h_addrtype; /* host address type */\n"
476 " int h_length; /* size of address */\n"
477 " char **h_addr_list; /* list of addresses */\n"
478 "}\n"
479 "#define h_addr h_addr_list[0] /* for backward compatibility */\n"
480 msgstr ""
481 "struct hostent {\n"
482 " char *h_name; /* oficjalna nazwa komputera */\n"
483 " char **h_aliases; /* lista aliasów */\n"
484 " int h_addrtype; /* typ adresu komputera */\n"
485 " int h_length; /* rozmiar adresu */\n"
486 " char **h_addr_list; /* lista adresów */\n"
487 "}\n"
488 "#define h_addr h_addr_list[0] /* dla zachowania zgodności */\n"
489 " /* z wcześniejszymi wersjami */\n"
490
491 #. type: Plain text
492 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
493 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
494 msgid "The members of the I<hostent> structure are:"
495 msgstr "Struktra I<hostent> składa się z:"
496
497 #. type: TP
498 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
499 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
500 #, no-wrap
501 msgid "I<h_name>"
502 msgstr "I<h_name>"
503
504 #. type: Plain text
505 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
506 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
507 msgid "The official name of the host."
508 msgstr "Oficjalna nazwa komputera."
509
510 #. type: TP
511 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
512 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
513 #, no-wrap
514 msgid "I<h_aliases>"
515 msgstr "I<h_aliases>"
516
517 #. type: Plain text
518 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
519 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
520 msgid ""
521 "An array of alternative names for the host, terminated by a null pointer."
522 msgstr "Zakończona wskaźnikiem null tablica alternatywnych nazw komputera."
523
524 #. type: TP
525 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
526 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
527 #, no-wrap
528 msgid "I<h_addrtype>"
529 msgstr "I<h_addrtype>"
530
531 #. type: Plain text
532 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
533 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
534 msgid "The type of address; always B<AF_INET> or B<AF_INET6> at present."
535 msgstr "Typ adresu; obecnie zawsze jest to B<AF_INET> lub B<AF_INET6>."
536
537 #. type: TP
538 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
539 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
540 #, no-wrap
541 msgid "I<h_length>"
542 msgstr "I<h_length>"
543
544 #. type: Plain text
545 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
546 #: opensuse-leap-16-1 opensuse-tumbleweed
547 msgid "The size of the address in bytes."
548 msgstr "Rozmiar adresu w bajtach."
549
550 #. type: TP
551 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
552 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
553 #, no-wrap
554 msgid "I<h_addr_list>"
555 msgstr "I<h_addr_list>"
556
557 #. type: Plain text
558 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
559 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
560 msgid ""
561 "An array of pointers to network addresses for the host (in network byte "
562 "order), terminated by a null pointer."
563 msgstr ""
564 "Zakończona wskaźnikiem null tablica adresów sieciowych komputera (w "
565 "sieciowym porządku bajtów)."
566
567 #. type: TP
568 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
569 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
570 #, no-wrap
571 msgid "I<h_addr>"
572 msgstr "I<h_addr>"
573
574 #. type: Plain text
575 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
576 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
577 msgid "The first address in I<h_addr_list> for backward compatibility."
578 msgstr ""
579 "Pierwszy adres z I<h_addr_list> - dla zachowania zgodności ze wcześniejszymi "
580 "wersjami"
581
582 #. type: SH
583 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
584 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
585 #, no-wrap
586 msgid "RETURN VALUE"
587 msgstr "WARTOŚĆ ZWRACANA"
588
589 #. type: Plain text
590 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
591 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
592 msgid ""
593 "The B<gethostbyname>() and B<gethostbyaddr>() functions return the "
594 "I<hostent> structure or a null pointer if an error occurs. On error, the "
595 "I<h_errno> variable holds an error number. When non-NULL, the return value "
596 "may point at static data, see the notes below."
597 msgstr ""
598 "Funkcje B<gethostbyname>() i B<gethostbyaddr>() zwracają strukturę "
599 "I<hostent> lub wskaźnik null w przypadku błędu. W razie błędu, zmienna "
600 "I<h_errno> przechowuje numer błędu. Wartość zwrócona, jeśli jest różna od "
601 "null, może wskazywać na statyczne dane, patrz UWAGI poniżej."
602
603 #. type: SH
604 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
605 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
606 #, no-wrap
607 msgid "ERRORS"
608 msgstr "BŁĘDY"
609
610 #. type: Plain text
611 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
612 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
613 msgid "The variable I<h_errno> can have the following values:"
614 msgstr "Zmienna I<h_errno> może przyjmować następujące wartości:"
615
616 #. type: TP
617 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
618 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
619 #, no-wrap
620 msgid "B<HOST_NOT_FOUND>"
621 msgstr "B<HOST_NOT_FOUND>"
622
623 #. type: Plain text
624 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
625 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
626 msgid "The specified host is unknown."
627 msgstr "Podany komputer jest nieznany."
628
629 #. type: TP
630 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
631 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
632 #, no-wrap
633 msgid "B<NO_DATA>"
634 msgstr "B<NO_DATA>"
635
636 #. type: Plain text
637 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
638 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
639 msgid ""
640 "The requested name is valid but does not have an IP address. Another type "
641 "of request to the name server for this domain may return an answer. The "
642 "constant B<NO_ADDRESS> is a synonym for B<NO_DATA>."
643 msgstr ""
644 "Żądana nazwa jest prawidłowa, lecz nie posiada adresu IP. Inny typ żądania "
645 "skierowany do serwera nazw dla tej domeny może zwrócić odpowiedź. Stała "
646 "B<NO_ADDRESS> jest synonimem B<NO_DATA>."
647
648 #. type: TP
649 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
650 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
651 #, no-wrap
652 msgid "B<NO_RECOVERY>"
653 msgstr "B<NO_RECOVERY>"
654
655 #. type: Plain text
656 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
657 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
658 msgid "A nonrecoverable name server error occurred."
659 msgstr "Wystąpił trwały błąd serwera nazw."
660
661 #. type: TP
662 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
663 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
664 #, no-wrap
665 msgid "B<TRY_AGAIN>"
666 msgstr "B<TRY_AGAIN>"
667
668 #. type: Plain text
669 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
670 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
671 msgid ""
672 "A temporary error occurred on an authoritative name server. Try again later."
673 msgstr ""
674 "Autorytatywny serwer nazw zwrócił tymczasowy błąd. Proszę spróbować ponownie "
675 "później."
676
677 #. type: SH
678 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
679 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
680 #, no-wrap
681 msgid "FILES"
682 msgstr "PLIKI"
683
684 #. type: TP
685 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
686 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
687 #, no-wrap
688 msgid "I</etc/host.conf>"
689 msgstr "I</etc/host.conf>"
690
691 #. type: Plain text
692 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
693 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
694 msgid "resolver configuration file"
695 msgstr "plik konfiguracyjny biblioteki resolver"
696
697 #. type: TP
698 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
699 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
700 #, no-wrap
701 msgid "I</etc/hosts>"
702 msgstr "I</etc/hosts>"
703
704 #. type: Plain text
705 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
706 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
707 msgid "host database file"
708 msgstr "plik bazy danych komputerów"
709
710 #. type: TP
711 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
712 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
713 #, no-wrap
714 msgid "I</etc/nsswitch.conf>"
715 msgstr "I</etc/nsswitch.conf>"
716
717 #. type: Plain text
718 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
719 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
720 msgid "name service switch configuration"
721 msgstr "plik konfiguracyjny serwisów nazw (NSS)"
722
723 #. type: SH
724 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
725 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
726 #, no-wrap
727 msgid "ATTRIBUTES"
728 msgstr "ATRYBUTY"
729
730 #. type: Plain text
731 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
732 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
733 msgid ""
734 "For an explanation of the terms used in this section, see B<attributes>(7)."
735 msgstr ""
736 "Informacje o pojęciach używanych w tym rozdziale można znaleźć w podręczniku "
737 "B<attributes>(7)."
738
739 #. type: tbl table
740 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
741 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
742 #, no-wrap
743 msgid "Interface"
744 msgstr "Interfejs"
745
746 #. type: tbl table
747 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
748 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
749 #, no-wrap
750 msgid "Attribute"
751 msgstr "Atrybut"
752
753 #. type: tbl table
754 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
755 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
756 #, no-wrap
757 msgid "Value"
758 msgstr "Wartość"
759
760 #. type: tbl table
761 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
762 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
763 #, no-wrap
764 msgid ".na\n"
765 msgstr ".na\n"
766
767 #. type: tbl table
768 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
769 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
770 #, no-wrap
771 msgid ".nh\n"
772 msgstr ".nh\n"
773
774 #. type: TP
775 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
776 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
777 #, no-wrap
778 msgid "B<gethostbyname>()"
779 msgstr "B<gethostbyname>()"
780
781 #. type: tbl table
782 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
783 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
784 #, no-wrap
785 msgid "Thread safety"
786 msgstr "Bezpieczeństwo wątkowe"
787
788 #. type: tbl table
789 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
790 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
791 #, no-wrap
792 msgid ""
793 "MT-Unsafe race:hostbyname env\n"
794 "locale"
795 msgstr ""
796 "MT-niebezpieczne race:hostbyname env\n"
797 "locale"
798
799 #. type: TQ
800 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
801 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
802 #, no-wrap
803 msgid "B<gethostbyaddr>()"
804 msgstr "B<gethostbyaddr>()"
805
806 #. type: tbl table
807 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
808 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
809 #, no-wrap
810 msgid ""
811 "MT-Unsafe race:hostbyaddr env\n"
812 "locale"
813 msgstr ""
814 "MT-niebezpieczne race:hostbyaddr env\n"
815 "locale"
816
817 #. type: tbl table
818 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
819 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
820 #, no-wrap
821 msgid ""
822 "B<sethostent>(),\n"
823 "B<endhostent>(),\n"
824 "B<gethostent_r>()"
825 msgstr ""
826 "B<sethostent>(),\n"
827 "B<endhostent>(),\n"
828 "B<gethostent_r>()"
829
830 #. type: tbl table
831 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
832 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
833 #, no-wrap
834 msgid ""
835 "MT-Unsafe race:hostent env\n"
836 "locale"
837 msgstr ""
838 "MT-niebezpieczne race:hostent env\n"
839 "locale"
840
841 #. type: tbl table
842 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
843 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
844 #, no-wrap
845 msgid ""
846 "B<herror>(),\n"
847 "B<hstrerror>()"
848 msgstr ""
849 "B<herror>(),\n"
850 "B<hstrerror>()"
851
852 #. type: tbl table
853 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
854 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
855 #, no-wrap
856 msgid "MT-Safe"
857 msgstr "MT-bezpieczne"
858
859 #. type: TQ
860 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
861 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
862 #, no-wrap
863 msgid "B<gethostent>()"
864 msgstr "B<gethostent>()"
865
866 #. type: tbl table
867 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
868 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
869 #, no-wrap
870 msgid ""
871 "MT-Unsafe race:hostent\n"
872 "race:hostentbuf env locale"
873 msgstr ""
874 "MT-niebezpieczne race:hostent\n"
875 "race:hostentbuf env locale"
876
877 #. type: tbl table
878 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
879 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
880 #, no-wrap
881 msgid "B<gethostbyname2>()"
882 msgstr "B<gethostbyname2>()"
883
884 #. type: tbl table
885 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
886 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
887 #, no-wrap
888 msgid ""
889 "MT-Unsafe race:hostbyname2\n"
890 "env locale"
891 msgstr ""
892 "MT-niebezpieczne race:hostbyname2\n"
893 "env locale"
894
895 #. type: tbl table
896 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
897 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
898 #, no-wrap
899 msgid ""
900 "B<gethostbyaddr_r>(),\n"
901 "B<gethostbyname_r>(),\n"
902 "B<gethostbyname2_r>()"
903 msgstr ""
904 "B<gethostbyaddr_r>(),\n"
905 "B<gethostbyname_r>(),\n"
906 "B<gethostbyname2_r>()"
907
908 #. type: tbl table
909 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
910 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
911 #, no-wrap
912 msgid "MT-Safe env locale"
913 msgstr "MT-bezpieczne env locale"
914
915 #. type: Plain text
916 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
917 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
918 msgid ""
919 "In the above table, I<hostent> in I<race:hostent> signifies that if any of "
920 "the functions B<sethostent>(), B<gethostent>(), B<gethostent_r>(), or B<\\"
921 "%endhostent>() are used in parallel in different threads of a program, then "
922 "data races could occur."
923 msgstr ""
924 "W powyższej tabeli, I<hostent> w I<race:hostent> oznacza, że jeśli któraś z "
925 "funkcji B<sethostent>(), B<gethostent>(), B<gethostent_r>() lub B<\\"
926 "%endhostent>() jest używana równolegle w różnych wątkach programu, może "
927 "nastąpić sytuacja wyścigu danych."
928
929 #. type: SH
930 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
931 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
932 #, no-wrap
933 msgid "STANDARDS"
934 msgstr "STANDARDY"
935
936 #. type: TP
937 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
938 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
939 #, no-wrap
940 msgid "B<sethostent>()"
941 msgstr "B<sethostent>()"
942
943 #. type: TQ
944 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
945 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
946 #, no-wrap
947 msgid "B<endhostent>()"
948 msgstr "B<endhostent>()"
949
950 #. type: Plain text
951 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
952 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
953 msgid "POSIX.1-2008."
954 msgstr "POSIX.1-2008."
955
956 #. type: TP
957 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
958 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
959 #, no-wrap
960 msgid "B<gethostent_r>()"
961 msgstr "B<gethostent_r>()"
962
963 #. type: Plain text
964 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
965 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
966 msgid "GNU."
967 msgstr "GNU."
968
969 #. type: TP
970 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
971 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
972 #, no-wrap
973 msgid "Others:"
974 msgstr "Pozostałe:"
975
976 #. type: Plain text
977 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
978 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
979 msgid "None."
980 msgstr "Brak."
981
982 #. type: SH
983 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
984 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
985 #, no-wrap
986 msgid "HISTORY"
987 msgstr "HISTORIA"
988
989 #. type: Plain text
990 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
991 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
992 msgid "POSIX.1-2001."
993 msgstr "POSIX.1-2001."
994
995 #. type: TQ
996 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
997 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
998 #, no-wrap
999 msgid "I<h_errno>"
1000 msgstr "I<h_errno>"
1001
1002 #. type: Plain text
1003 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1004 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1005 msgid ""
1006 "Marked obsolescent in POSIX.1-2001. Removed in POSIX.1-2008, recommending "
1007 "the use of B<getaddrinfo>(3) and B<getnameinfo>(3) instead."
1008 msgstr ""
1009 "Oznaczone jako wychodzące z użycia w POSIX.1-2001. Usunięte w POSIX.1-2008, "
1010 "z zaleceniem stosowania w zamian B<getaddrinfo>(3) i B<getnameinfo>(3)."
1011
1012 #. type: SH
1013 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1014 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1015 #, no-wrap
1016 msgid "NOTES"
1017 msgstr "UWAGI"
1018
1019 #. type: Plain text
1020 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1021 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1022 msgid ""
1023 "The functions B<gethostbyname>() and B<gethostbyaddr>() may return "
1024 "pointers to static data, which may be overwritten by later calls. Copying "
1025 "the I<struct hostent> does not suffice, since it contains pointers; a deep "
1026 "copy is required."
1027 msgstr ""
1028 "Funkcje B<gethostbyname>() i B<gethostbyaddr>() mogą zwracać wskaźniki do "
1029 "danych statycznych, które mogą być nadpisane przez kolejne wywołania. "
1030 "Kopiowanie I<struct hostent> nie wystarcza, ponieważ zawiera ona wskaźniki - "
1031 "wymagane jest skopiowanie wszystkiego."
1032
1033 #. type: Plain text
1034 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1035 #: opensuse-leap-16-1 opensuse-tumbleweed
1036 msgid ""
1037 "In the original BSD implementation the I<size> argument of "
1038 "B<gethostbyname>() was an I<int>. The SUSv2 standard is buggy and declares "
1039 "the I<size> argument of B<gethostbyaddr>() to be of type I<size_t>. (That "
1040 "is wrong, because it has to be I<int>, and I<size_t> is not. POSIX.1-2001 "
1041 "makes it I<socklen_t>, which is OK.) See also B<accept>(2)."
1042 msgstr ""
1043 "W oryginalnej implementacji BSD, argument I<size> funkcji B<gethostbyname>() "
1044 "był typu I<int>. Standard SUS-v2 jest błędny i określa parametr I<size> "
1045 "funkcji B<gethostbyaddr>() jako będący typu I<size_t>. (Nie jest to "
1046 "właściwe, ponieważ musi to być typ I<int>, którym I<size_t> nie jest. "
1047 "POSIX.1-2001 używa I<socklen_t>, co jest OK). Patrz także B<accept>(2)."
1048
1049 #. type: Plain text
1050 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1051 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1052 msgid ""
1053 "The BSD prototype for B<gethostbyaddr>() uses I<const char\\ *> for the "
1054 "first argument."
1055 msgstr ""
1056 "Prototyp BSD funkcji B<gethostbyaddr>() używa I<const char\\ *> dla "
1057 "trzeciego argumentu."
1058
1059 #. type: SS
1060 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1061 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1062 #, no-wrap
1063 msgid "System V/POSIX extension"
1064 msgstr "Rozszerzenie System V/POSIX"
1065
1066 #. e.g., Linux, FreeBSD, UnixWare, HP-UX
1067 #. e.g., FreeBSD, AIX
1068 #. type: Plain text
1069 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1070 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1071 msgid ""
1072 "POSIX requires the B<gethostent>() call, which should return the next entry "
1073 "in the host data base. When using DNS/BIND this does not make much sense, "
1074 "but it may be reasonable if the host data base is a file that can be read "
1075 "line by line. On many systems, a routine of this name reads from the file "
1076 "I</etc/hosts>. It may be available only when the library was built without "
1077 "DNS support. The glibc version will ignore ipv6 entries. This function is "
1078 "not reentrant, and glibc adds a reentrant version B<gethostent_r>()."
1079 msgstr ""
1080 "POSIX wymaga, aby wywołanie B<gethostent>() zwróciło następny wpis w bazie "
1081 "danych komputerów. Jeśli używany jest DNS/BIND nie ma to większego sensu, "
1082 "ale może być uzasadnione, jeśli baza danych komputerów jest plikiem, który "
1083 "można odczytać linia po linii. Wiele systemów funkcja o tej nazwie czyta "
1084 "plik I</etc/hosts>. Może być on dostępny tylko wtedy, gdy biblioteka została "
1085 "skompilowana bez wsparcia dla DNS-u. Wersja glibc ignoruje wpisy IPv6. Ta "
1086 "funkcja nie jest wielowątkowa, glibc dodaje jej wielowątkową wersję "
1087 "B<gethostent_r>()."
1088
1089 #. type: SS
1090 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1091 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1092 #, no-wrap
1093 msgid "GNU extensions"
1094 msgstr "Rozszerzenia GNU"
1095
1096 #. type: Plain text
1097 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1098 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1099 msgid ""
1100 "glibc2 also has a B<gethostbyname2>() that works like B<gethostbyname>(), "
1101 "but permits to specify the address family to which the address must belong."
1102 msgstr ""
1103 "Glibc2 ma także funkcję B<gethostbyname2>(), która działa jak "
1104 "B<gethostbyname>(), ale pozwala określić rodzinę adresów, do której musi "
1105 "należeć zadany adres."
1106
1107 #. type: Plain text
1108 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1109 #: opensuse-leap-16-1 opensuse-tumbleweed
1110 msgid ""
1111 "glibc2 also has reentrant versions B<gethostent_r>(), B<gethostbyaddr_r>(), "
1112 "B<gethostbyname_r>(), and B<gethostbyname2_r>(). The caller supplies a "
1113 "I<hostent> structure I<ret> which will be filled in on success, and a "
1114 "temporary work buffer I<buf> of size I<bufsize>. After the call, I<result> "
1115 "will point to the result on success. In case of an error or if no entry is "
1116 "found I<result> will be NULL. The functions return 0 on success and a "
1117 "nonzero error number on failure. In addition to the errors returned by the "
1118 "nonreentrant versions of these functions, if I<buf> is too small, the "
1119 "functions will return B<ERANGE>, and the call should be retried with a "
1120 "larger buffer. The global variable I<h_errno> is not modified, but the "
1121 "address of a variable in which to store error numbers is passed in "
1122 "I<h_errnop>."
1123 msgstr ""
1124 "Glibc2 ma także wielowątkowe wersje B<gethostent_r>(), B<gethostbyaddr_r>(), "
1125 "B<gethostbyname_r>() i B<gethostbyname2_r>(). Proces wywołujący przekazuje "
1126 "strukturę I<hostent> w I<ret>, który będzie wypełniony, gdy funkcja zakończy "
1127 "się pomyślnie, oraz tymczasowy bufor roboczy I<buf> o rozmiarze I<bufsize>. "
1128 "Po pomyślnym wywołaniu, I<result> będzie wskazywał na wynik. W razie błędu "
1129 "lub gdy nie znaleziono żadnego wpisu I<result> będzie ustawiony na NULL. "
1130 "Funkcje zwracają one 0 w przypadku powodzenia lub liczbę różną od zera w "
1131 "razie błędu. Oprócz błędów, które mogą zwrócić niewielowątkowe wersje tych "
1132 "funkcji, funkcje mogą zwróć błąd B<RANGE>, jeśli I<buf> jest za mały - w "
1133 "takim wypadku należy powtórzyć wywołanie funkcji z większym buforem. "
1134 "Globalna zmienna I<h_errno> nie jest modyfikowana, ale numer błędu jest "
1135 "przekazywany w zmiennej, której adres został podany w I<h_errnop>."
1136
1137 #. type: SH
1138 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1139 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1140 #, no-wrap
1141 msgid "BUGS"
1142 msgstr "USTERKI"
1143
1144 #. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=482973
1145 #. type: Plain text
1146 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1147 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1148 msgid ""
1149 "B<gethostbyname>() does not recognize components of a dotted IPv4 address "
1150 "string that are expressed in hexadecimal."
1151 msgstr ""
1152 "B<gethostbyname>() nie rozpoznaje komponentów oddzielonego kropkami łańcucha "
1153 "adresu IPv4, jeśli są one wyrażone jako liczby szesnastkowe."
1154
1155 #. type: SH
1156 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1157 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1158 #, no-wrap
1159 msgid "SEE ALSO"
1160 msgstr "ZOBACZ TAKŻE"
1161
1162 #. .BR getipnodebyaddr (3),
1163 #. .BR getipnodebyname (3),
1164 #. type: Plain text
1165 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1166 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1167 msgid ""
1168 "B<getaddrinfo>(3), B<getnameinfo>(3), B<inet>(3), B<inet_ntop>(3), "
1169 "B<inet_pton>(3), B<resolver>(3), B<hosts>(5), B<nsswitch.conf>(5), "
1170 "B<hostname>(7), B<named>(8)"
1171 msgstr ""
1172 "B<getaddrinfo>(3), B<getnameinfo>(3), B<inet>(3), B<inet_ntop>(3), "
1173 "B<inet_pton>(3), B<resolver>(3), B<hosts>(5), B<nsswitch.conf>(5), "
1174 "B<hostname>(7), B<named>(8)"
1175
1176 #. type: TH
1177 #: debian-trixie
1178 #, no-wrap
1179 msgid "2024-05-02"
1180 msgstr "2 maja 2024 r."
1181
1182 #. type: TH
1183 #: debian-trixie
1184 #, no-wrap
1185 msgid "Linux man-pages 6.9.1"
1186 msgstr "Linux man-pages 6.9.1"
1187
1188 #. type: Plain text
1189 #: debian-trixie
1190 msgid "Standard C library (I<libc>, I<-lc>)"
1191 msgstr "Standardowa biblioteka C (I<libc>, I<-lc>)"
1192
1193 #. type: Plain text
1194 #: debian-trixie
1195 #, no-wrap
1196 msgid ""
1197 "B<[[deprecated]] struct hostent *gethostbyname(const char *>I<name>B<);>\n"
1198 "B<[[deprecated]] struct hostent *gethostbyaddr(const void >I<addr>B<[.>I<len>B<],>\n"
1199 "B< socklen_t >I<len>B<, int >I<type>B<);>\n"
1200 msgstr ""
1201 "B<[[przestarzałe]] struct hostent *gethostbyname(const char *>I<name>B<);>\n"
1202 "B<[[przestarzałe]] struct hostent *gethostbyaddr(const void >I<addr>B<[.>I<len>B<],>\n"
1203 "B< socklen_t >I<len>B<, int >I<type>B<);>\n"
1204
1205 #. type: Plain text
1206 #: debian-trixie
1207 #, no-wrap
1208 msgid ""
1209 "B<int gethostent_r(struct hostent *restrict >I<ret>B<,>\n"
1210 "B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n"
1211 "B< struct hostent **restrict >I<result>B<,>\n"
1212 "B< int *restrict >I<h_errnop>B<);>\n"
1213 msgstr ""
1214 "B<int gethostent_r(struct hostent *restrict >I<ret>B<,>\n"
1215 "B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n"
1216 "B< struct hostent **restrict >I<result>B<,>\n"
1217 "B< int *restrict >I<h_errnop>B<);>\n"
1218
1219 #. type: Plain text
1220 #: debian-trixie
1221 #, no-wrap
1222 msgid ""
1223 "B<[[deprecated]]>\n"
1224 "B<int gethostbyaddr_r(const void >I<addr>B<[restrict .>I<len>B<], socklen_t >I<len>B<,>\n"
1225 "B< int >I<type>B<,>\n"
1226 "B< struct hostent *restrict >I<ret>B<,>\n"
1227 "B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n"
1228 "B< struct hostent **restrict >I<result>B<,>\n"
1229 "B< int *restrict >I<h_errnop>B<);>\n"
1230 "B<[[deprecated]]>\n"
1231 "B<int gethostbyname_r(const char *restrict >I<name>B<,>\n"
1232 "B< struct hostent *restrict >I<ret>B<,>\n"
1233 "B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n"
1234 "B< struct hostent **restrict >I<result>B<,>\n"
1235 "B< int *restrict >I<h_errnop>B<);>\n"
1236 "B<[[deprecated]]>\n"
1237 "B<int gethostbyname2_r(const char *restrict >I<name>B<, int >I<af,>\n"
1238 "B< struct hostent *restrict >I<ret>B<,>\n"
1239 "B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n"
1240 "B< struct hostent **restrict >I<result>B<,>\n"
1241 "B< int *restrict >I<h_errnop>B<);>\n"
1242 msgstr ""
1243 "B<[[przestarzałe]]>\n"
1244 "B<int gethostbyaddr_r(const void >I<addr>B<[restrict .>I<len>B<], socklen_t >I<len>B<,>\n"
1245 "B< int >I<type>B<,>\n"
1246 "B< struct hostent *restrict >I<ret>B<,>\n"
1247 "B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n"
1248 "B< struct hostent **restrict >I<result>B<,>\n"
1249 "B< int *restrict >I<h_errnop>B<);>\n"
1250 "B<[[przestarzałe]]>\n"
1251 "B<int gethostbyname_r(const char *restrict >I<name>B<,>\n"
1252 "B< struct hostent *restrict >I<ret>B<,>\n"
1253 "B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n"
1254 "B< struct hostent **restrict >I<result>B<,>\n"
1255 "B< int *restrict >I<h_errnop>B<);>\n"
1256 "B<[[przestarzałe]]>\n"
1257 "B<int gethostbyname2_r(const char *restrict >I<name>B<, int >I<af,>\n"
1258 "B< struct hostent *restrict >I<ret>B<,>\n"
1259 "B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n"
1260 "B< struct hostent **restrict >I<result>B<,>\n"
1261 "B< int *restrict >I<h_errnop>B<);>\n"
1262
1263 #. type: Plain text
1264 #: debian-trixie
1265 msgid ""
1266 "The B<gethostbyaddr>() function returns a structure of type I<hostent> for "
1267 "the given host address I<addr> of length I<len> and address type I<type>. "
1268 "Valid address types are B<AF_INET> and B<AF_INET6> (defined in I<E<lt>sys/"
1269 "socket.hE<gt>>). The host address argument is a pointer to a struct of a "
1270 "type depending on the address type, for example a I<struct in_addr *> "
1271 "(probably obtained via a call to B<inet_addr>(3)) for address type "
1272 "B<AF_INET>."
1273 msgstr ""
1274 "Funkcja B<gethostbyaddr>() zwraca strukturę typu I<hostent> dla zadanego "
1275 "adresu I<addr> o długości I<len> i typie adresu I<type>. Poprawnymi typami "
1276 "adresów są B<AF_INET> i B<AF_INET6> (zdefiniowane w I<E<lt>sys/"
1277 "socket.hE<gt>>). Adres komputera jest wskaźnikiem do struktury o typie "
1278 "zależnym od typu adresu, na przykład I<struct in_addr *> (najprawdopodobniej "
1279 "otrzymany przez wywołanie B<inet_addr>(3)) dla adresu o typie B<AF_INET>."
1280
1281 #. type: Plain text
1282 #: debian-trixie fedora-44 fedora-rawhide
1283 msgid ""
1284 "The (obsolete) B<hstrerror>() function takes an error number (typically "
1285 "I<h_errno>) and returns the corresponding message string."
1286 msgstr ""
1287 "(Przestarzała) funkcja B<hstrerror>() dla przekazanego numeru błędu "
1288 "(zazwyczaj I<h_errno>) zwraca odpowiadający mu komunikat błędu."
1289
1290 #. type: Plain text
1291 #: debian-trixie
1292 #, no-wrap
1293 msgid ""
1294 "struct hostent {\n"
1295 " char *h_name; /* official name of host */\n"
1296 " char **h_aliases; /* alias list */\n"
1297 " int h_addrtype; /* host address type */\n"
1298 " int h_length; /* length of address */\n"
1299 " char **h_addr_list; /* list of addresses */\n"
1300 "}\n"
1301 "#define h_addr h_addr_list[0] /* for backward compatibility */\n"
1302 msgstr ""
1303 "struct hostent {\n"
1304 " char *h_name; /* oficjalna nazwa komputera */\n"
1305 " char **h_aliases; /* lista aliasów */\n"
1306 " int h_addrtype; /* typ adresu komputera */\n"
1307 " int h_length; /* długość adresu */\n"
1308 " char **h_addr_list; /* lista adresów */\n"
1309 "}\n"
1310 "#define h_addr h_addr_list[0] /* dla zachowania zgodności */\n"
1311 " /* z wcześniejszymi wersjami */\n"
1312
1313 #. type: Plain text
1314 #: debian-trixie
1315 msgid "The length of the address in bytes."
1316 msgstr "Długość adresu w bajtach."
1317
1318 #. type: Plain text
1319 #: debian-trixie
1320 msgid ""
1321 "In the original BSD implementation the I<len> argument of "
1322 "B<gethostbyname>() was an I<int>. The SUSv2 standard is buggy and declares "
1323 "the I<len> argument of B<gethostbyaddr>() to be of type I<size_t>. (That "
1324 "is wrong, because it has to be I<int>, and I<size_t> is not. POSIX.1-2001 "
1325 "makes it I<socklen_t>, which is OK.) See also B<accept>(2)."
1326 msgstr ""
1327 "W oryginalnej implementacji BSD, argument I<len> funkcji B<gethostbyname>() "
1328 "był typu I<int>. Standard SUS-v2 jest błędny i określa parametr I<len> "
1329 "funkcji B<gethostbyaddr>() jako będący typu I<size_t>. (Nie jest to "
1330 "właściwe, ponieważ musi to być typ I<int>, którym I<size_t> nie jest. "
1331 "POSIX.1-2001 używa I<socklen_t>, co jest OK). Patrz także B<accept>(2)."
1332
1333 #. type: Plain text
1334 #: debian-trixie
1335 msgid ""
1336 "glibc2 also has reentrant versions B<gethostent_r>(), B<gethostbyaddr_r>(), "
1337 "B<gethostbyname_r>(), and B<gethostbyname2_r>(). The caller supplies a "
1338 "I<hostent> structure I<ret> which will be filled in on success, and a "
1339 "temporary work buffer I<buf> of size I<buflen>. After the call, I<result> "
1340 "will point to the result on success. In case of an error or if no entry is "
1341 "found I<result> will be NULL. The functions return 0 on success and a "
1342 "nonzero error number on failure. In addition to the errors returned by the "
1343 "nonreentrant versions of these functions, if I<buf> is too small, the "
1344 "functions will return B<ERANGE>, and the call should be retried with a "
1345 "larger buffer. The global variable I<h_errno> is not modified, but the "
1346 "address of a variable in which to store error numbers is passed in "
1347 "I<h_errnop>."
1348 msgstr ""
1349 "Glibc2 ma także wielowątkowe wersje B<gethostent_r>(), B<gethostbyaddr_r>(), "
1350 "B<gethostbyname_r>() i B<gethostbyname2_r>(). Proces wywołujący przekazuje "
1351 "strukturę I<hostent> w I<ret>, który będzie wypełniony, gdy funkcja zakończy "
1352 "się pomyślnie, oraz tymczasowy bufor roboczy I<buf> o rozmiarze I<buflen>. "
1353 "Po pomyślnym wywołaniu, I<result> będzie wskazywał na wynik. W razie błędu "
1354 "lub gdy nie znaleziono żadnego wpisu I<result> będzie ustawiony na NULL. "
1355 "Funkcje zwracają one 0 w przypadku powodzenia lub liczbę różną od zera w "
1356 "razie błędu. Oprócz błędów, które mogą zwrócić niewielowątkowe wersje tych "
1357 "funkcji, funkcje mogą zwróć błąd B<RANGE>, jeśli I<buf> jest za mały - w "
1358 "takim wypadku należy powtórzyć wywołanie funkcji z większym buforem. "
1359 "Globalna zmienna I<h_errno> nie jest modyfikowana, ale numer błędu jest "
1360 "przekazywany w zmiennej, której adres został podany w I<h_errnop>."
1361
1362 #. type: TH
1363 #: fedora-44 fedora-rawhide
1364 #, no-wrap
1365 msgid "2024-12-24"
1366 msgstr "24 grudnia 2024 r."
1367
1368 #. type: TH
1369 #: fedora-44 fedora-rawhide
1370 #, no-wrap
1371 msgid "Linux man-pages 6.13"
1372 msgstr "Linux man-pages 6.13"
1373
1374 #. type: Plain text
1375 #: fedora-44 fedora-rawhide
1376 #, no-wrap
1377 msgid ""
1378 "B<[[deprecated]] struct hostent *gethostbyname(const char *>I<name>B<);>\n"
1379 "B<[[deprecated]] struct hostent *gethostbyaddr(const void >I<addr>B<[.>I<size>B<],>\n"
1380 "B< socklen_t >I<size>B<, int >I<type>B<);>\n"
1381 msgstr ""
1382 "B<[[przestarzałe]] struct hostent *gethostbyname(const char *>I<name>B<);>\n"
1383 "B<[[przestarzałe]] struct hostent *gethostbyaddr(const void >I<addr>B<[.>I<size>B<],>\n"
1384 "B< socklen_t >I<size>B<, int >I<type>B<);>\n"
1385
1386 #. type: Plain text
1387 #: fedora-44 fedora-rawhide
1388 #, no-wrap
1389 msgid ""
1390 "B<int gethostent_r(struct hostent *restrict >I<ret>B<,>\n"
1391 "B< char >I<buf>B<[restrict .>I<bufsize>B<], size_t >I<bufsize>B<,>\n"
1392 "B< struct hostent **restrict >I<result>B<,>\n"
1393 "B< int *restrict >I<h_errnop>B<);>\n"
1394 msgstr ""
1395 "B<int gethostent_r(struct hostent *restrict >I<ret>B<,>\n"
1396 "B< char >I<buf>B<[restrict .>I<bufsize>B<], size_t >I<bufsize>B<,>\n"
1397 "B< struct hostent **restrict >I<result>B<,>\n"
1398 "B< int *restrict >I<h_errnop>B<);>\n"
1399
1400 #. type: Plain text
1401 #: fedora-44 fedora-rawhide
1402 #, no-wrap
1403 msgid ""
1404 "B<[[deprecated]]>\n"
1405 "B<int gethostbyaddr_r(const void >I<addr>B<[restrict .>I<size>B<], socklen_t >I<size>B<,>\n"
1406 "B< int >I<type>B<,>\n"
1407 "B< struct hostent *restrict >I<ret>B<,>\n"
1408 "B< char >I<buf>B<[restrict .>I<bufsize>B<], size_t >I<bufsize>B<,>\n"
1409 "B< struct hostent **restrict >I<result>B<,>\n"
1410 "B< int *restrict >I<h_errnop>B<);>\n"
1411 "B<[[deprecated]]>\n"
1412 "B<int gethostbyname_r(const char *restrict >I<name>B<,>\n"
1413 "B< struct hostent *restrict >I<ret>B<,>\n"
1414 "B< char >I<buf>B<[restrict .>I<bufsize>B<], size_t >I<bufsize>B<,>\n"
1415 "B< struct hostent **restrict >I<result>B<,>\n"
1416 "B< int *restrict >I<h_errnop>B<);>\n"
1417 "B<[[deprecated]]>\n"
1418 "B<int gethostbyname2_r(const char *restrict >I<name>B<, int >I<af,>\n"
1419 "B< struct hostent *restrict >I<ret>B<,>\n"
1420 "B< char >I<buf>B<[restrict .>I<bufsize>B<], size_t >I<bufsize>B<,>\n"
1421 "B< struct hostent **restrict >I<result>B<,>\n"
1422 "B< int *restrict >I<h_errnop>B<);>\n"
1423 msgstr ""
1424 "B<[[przestarzałe]]>\n"
1425 "B<int gethostbyaddr_r(const void >I<addr>B<[restrict .>I<size>B<], socklen_t >I<size>B<,>\n"
1426 "B< int >I<type>B<,>\n"
1427 "B< struct hostent *restrict >I<ret>B<,>\n"
1428 "B< char >I<buf>B<[restrict .>I<bufsize>B<], size_t >I<bufsize>B<,>\n"
1429 "B< struct hostent **restrict >I<result>B<,>\n"
1430 "B< int *restrict >I<h_errnop>B<);>\n"
1431 "B<[[przestarzałe]]>\n"
1432 "B<int gethostbyname_r(const char *restrict >I<name>B<,>\n"
1433 "B< struct hostent *restrict >I<ret>B<,>\n"
1434 "B< char >I<buf>B<[restrict .>I<bufsize>B<], size_t >I<bufsize>B<,>\n"
1435 "B< struct hostent **restrict >I<result>B<,>\n"
1436 "B< int *restrict >I<h_errnop>B<);>\n"
1437 "B<[[przestarzałe]]>\n"
1438 "B<int gethostbyname2_r(const char *restrict >I<name>B<, int >I<af,>\n"
1439 "B< struct hostent *restrict >I<ret>B<,>\n"
1440 "B< char >I<buf>B<[restrict .>I<bufsize>B<], size_t >I<bufsize>B<,>\n"
1441 "B< struct hostent **restrict >I<result>B<,>\n"
1442 "B< int *restrict >I<h_errnop>B<);>\n"
1443
1444 #. type: Plain text
1445 #: fedora-44 fedora-rawhide
1446 msgid ""
1447 "The B<gethostbyaddr>() function returns a structure of type I<hostent> for "
1448 "the given host address I<addr> of size I<len> and address type I<type>. "
1449 "Valid address types are B<AF_INET> and B<AF_INET6> (defined in I<E<lt>sys/"
1450 "socket.hE<gt>>). The host address argument is a pointer to a struct of a "
1451 "type depending on the address type, for example a I<struct in_addr *> "
1452 "(probably obtained via a call to B<inet_addr>(3)) for address type "
1453 "B<AF_INET>."
1454 msgstr ""
1455 "Funkcja B<gethostbyaddr>() zwraca strukturę typu I<hostent> dla zadanego "
1456 "adresu I<addr> o rozmiarze I<len> i typie adresu I<type>. Poprawnymi typami "
1457 "adresów są B<AF_INET> i B<AF_INET6> (zdefiniowane w I<E<lt>sys/"
1458 "socket.hE<gt>>). Adres komputera jest wskaźnikiem do struktury o typie "
1459 "zależnym od typu adresu, na przykład I<struct in_addr *> (najprawdopodobniej "
1460 "otrzymany przez wywołanie B<inet_addr>(3)) dla adresu o typie B<AF_INET>."
1461
1462 #. type: TH
1463 #: mageia-cauldron
1464 #, no-wrap
1465 msgid "Linux man-pages 6.17"
1466 msgstr "Linux man-pages 6.17"
1467
1468 #. type: TH
1469 #: opensuse-leap-16-1 opensuse-tumbleweed
1470 #, no-wrap
1471 msgid "Linux man-pages (unreleased)"
1472 msgstr "Linux man-pages (niewydane)"