Debian Codegraph @

po/pl/man2/gethostname.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]>, 2021, 2024, 2025, 2026.
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: 2026-03-15 12:29+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 25.04.0\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 "gethostname"
27 msgstr "gethostname"
28
29 #. type: TH
30 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
31 #: opensuse-tumbleweed
32 #, no-wrap
33 msgid "2026-02-08"
34 msgstr "8 lutego 2026 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 "gethostname, sethostname - get/set hostname"
53 msgstr "gethostname, sethostname - pobiera/ustawia nazwę stacji"
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>unistd.hE<gt>>\n"
80 msgstr "B<#include E<lt>unistd.hE<gt>>\n"
81
82 #. type: Plain text
83 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
84 #: opensuse-leap-16-1 opensuse-tumbleweed
85 #, no-wrap
86 msgid ""
87 "B<int gethostname(char *>I<name>B<, size_t >I<size>B<);>\n"
88 "B<int sethostname(const char *>I<name>B<, size_t >I<size>B<);>\n"
89 msgstr ""
90 "B<int gethostname(char *>I<name>B<, size_t >I<size>B<);>\n"
91 "B<int sethostname(const char *>I<name>B<, size_t >I<size>B<);>\n"
92
93 #. type: Plain text
94 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
95 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
96 msgid ""
97 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
98 msgstr ""
99 "Wymagane ustawienia makr biblioteki glibc (patrz B<feature_test_macros>(7)):"
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 "B<gethostname>():"
105 msgstr "B<gethostname>():"
106
107 #. The above is something of a simplification
108 #. also before glibc 2.3 there was a bit churn
109 #. type: Plain text
110 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
111 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
112 #, no-wrap
113 msgid ""
114 " _XOPEN_SOURCE E<gt>= 500 || _POSIX_C_SOURCE E<gt>= 200112L\n"
115 " || /* glibc 2.19 and earlier */ _BSD_SOURCE\n"
116 msgstr ""
117 " _XOPEN_SOURCE E<gt>= 500 || _POSIX_C_SOURCE E<gt>= 200112L\n"
118 " || /* glibc 2.19 i wcześniejsze */ _BSD_SOURCE\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 msgid "B<sethostname>():"
124 msgstr "B<sethostname>():"
125
126 #. commit 266865c0e7b79d4196e2cc393693463f03c90bd8
127 #. type: Plain text
128 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
129 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
130 #, no-wrap
131 msgid ""
132 " Since glibc 2.21:\n"
133 " _DEFAULT_SOURCE\n"
134 " In glibc 2.19 and 2.20:\n"
135 " _DEFAULT_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE E<lt> 500)\n"
136 " Up to and including glibc 2.19:\n"
137 " _BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE E<lt> 500)\n"
138 msgstr ""
139 " Od glibc 2.21:\n"
140 " _DEFAULT_SOURCE\n"
141 " W glibc 2.19 i 2.20:\n"
142 " _DEFAULT_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE E<lt> 500)\n"
143 " Do glibc 2.19 włącznie:\n"
144 " _BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE E<lt> 500)\n"
145
146 #. type: SH
147 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
148 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
149 #, no-wrap
150 msgid "DESCRIPTION"
151 msgstr "OPIS"
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 "These system calls are used to access or to change the system hostname. "
158 "More precisely, they operate on the hostname associated with the calling "
159 "process's UTS namespace."
160 msgstr ""
161 "Wywołania systemowe służą do uzyskania dostępu lub zmiany systemowej nazwy "
162 "komputera. Mówiąc precyzyjniej, działają na nazwie komputera, związanej z "
163 "przestrzenią nazw UTS procesu wywołującego."
164
165 #. type: Plain text
166 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
167 #: opensuse-leap-16-1 opensuse-tumbleweed
168 msgid ""
169 "B<sethostname>() sets the hostname to the value given in the character "
170 "array I<name>. The I<size> argument specifies the number of bytes in "
171 "I<name>. (Thus, I<name> does not require a terminating null byte.)"
172 msgstr ""
173 "B<sethostname>() ustawia nazwę komputera na wartość określoną w tablicy "
174 "znakowej I<name>. Argument I<size> określa liczbę bajtów w I<name> (dlatego "
175 "I<name> nie wymaga końcowego bajtu null)."
176
177 #. type: Plain text
178 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
179 #: opensuse-leap-16-1 opensuse-tumbleweed
180 msgid ""
181 "B<gethostname>() returns the null-terminated hostname in the character "
182 "array I<name>, which has a size of I<size> bytes. If the null-terminated "
183 "hostname is too large to fit, then the name is truncated, and no error is "
184 "returned (but see VERSIONS below). POSIX.1 says that if such truncation "
185 "occurs, then it is unspecified whether the returned buffer includes a "
186 "terminating null byte."
187 msgstr ""
188 "B<gethostname>() zwraca nazwę komputera, zakończoną znakiem null, w tablicy "
189 "znakowej I<name>, o rozmiarze I<size> bajtów. Jeśli zakończona znakiem null "
190 "nazwa komputera jest zbyt długa, aby się zmieścić, to nazwa jest obcinana i "
191 "nie jest zwracany żaden błąd (ale zob. WERSJE poniżej). POSIX.1 określa, że "
192 "jeśli takie obcięcie występuje, to nie jest określone, czy zwracany bufor "
193 "zawiera końcowy bajt null."
194
195 #. type: SH
196 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
197 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
198 #, no-wrap
199 msgid "RETURN VALUE"
200 msgstr "WARTOŚĆ ZWRACANA"
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 "On success, zero is returned. On error, -1 is returned, and I<errno> is set "
207 "to indicate the error."
208 msgstr ""
209 "Po pomyślnym zakończeniu zwracane jest zero. Po błędzie zwracane jest -1 i "
210 "ustawiane I<errno>, wskazując błąd."
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 "ERRORS"
217 msgstr "BŁĘDY"
218
219 #. type: TP
220 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
221 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
222 #, no-wrap
223 msgid "B<EFAULT>"
224 msgstr "B<EFAULT>"
225
226 #. type: Plain text
227 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
228 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
229 msgid "I<name> is an invalid address."
230 msgstr "I<name> jest nieprawidłowym adresem."
231
232 #. type: TP
233 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
234 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
235 #, no-wrap
236 msgid "B<EINVAL>"
237 msgstr "B<EINVAL>"
238
239 #. Can't occur for gethostbyname() wrapper, since 'size' has an
240 #. unsigned type; can occur for the underlying system call.
241 #. type: Plain text
242 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
243 #: opensuse-leap-16-1 opensuse-tumbleweed
244 msgid ""
245 "I<size> is negative or, for B<sethostname>(), I<size> is larger than the "
246 "maximum allowed size."
247 msgstr ""
248 "I<size> jest ujemny lub, przy B<sethostname>(), I<size> jest większy niż "
249 "maksymalny dopuszczalny rozmiar."
250
251 #. type: TP
252 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
253 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
254 #, no-wrap
255 msgid "B<ENAMETOOLONG>"
256 msgstr "B<ENAMETOOLONG>"
257
258 #. type: Plain text
259 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
260 #: opensuse-leap-16-1 opensuse-tumbleweed
261 msgid ""
262 "(glibc B<gethostname>()) I<size> is smaller than the actual size. (Before "
263 "glibc 2.1, glibc uses B<EINVAL> for this case.)"
264 msgstr ""
265 "(glibc B<gethostname>()) I<size> jest mniejszy niż rzeczywisty rozmiar. "
266 "Przed glibc 2.1, glibc w tym przypadku używało B<EINVAL>."
267
268 #. type: TP
269 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
270 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
271 #, no-wrap
272 msgid "B<EPERM>"
273 msgstr "B<EPERM>"
274
275 #. type: Plain text
276 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
277 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
278 msgid ""
279 "For B<sethostname>(), the caller did not have the B<CAP_SYS_ADMIN> "
280 "capability in the user namespace associated with its UTS namespace (see "
281 "B<namespaces>(7))."
282 msgstr ""
283 "W przypadku B<sethostname>(), wywołujący nie posiadał przywileju (ang. "
284 "capability) B<CAP_SYS_ADMIN> w przestrzeni nazw użytkownika związanej z jego "
285 "przestrzenią nazw UTS (zob. B<namespaces>(7))."
286
287 #. type: SH
288 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
289 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
290 #, no-wrap
291 msgid "VERSIONS"
292 msgstr "WERSJE"
293
294 #. type: Plain text
295 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
296 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
297 msgid ""
298 "SUSv2 guarantees that \"Host names are limited to 255 bytes\". POSIX.1 "
299 "guarantees that \"Host names (not including the terminating null byte) are "
300 "limited to B<HOST_NAME_MAX> bytes\". On Linux, B<HOST_NAME_MAX> is defined "
301 "with the value 64, which has been the limit since Linux 1.0 (earlier kernels "
302 "imposed a limit of 8 bytes)."
303 msgstr ""
304 "SUSv2 gwarantuje, że \\[Bq]nazwy stacji są ograniczone do 255 bajtów\\[rq]. "
305 "POSIX 1003.1-2001 gwarantuje, że \\[Bq]nazwy stacji (bez kończącego NUL) są "
306 "ograniczone do B<HOST_NAME_MAX> bajtów\\[rq]. W Linuksie B<HOST_NAME_MAX> "
307 "jest zdefiniowane z wartością 64, co stanowiło limit od Linuksa 1.0 "
308 "(wcześniejsze jądra narzucały limit 8 bajtów)."
309
310 #. type: SS
311 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
312 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
313 #, no-wrap
314 msgid "C library/kernel differences"
315 msgstr "Różnice biblioteki C/jądra"
316
317 #. type: Plain text
318 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
319 #: opensuse-leap-16-1 opensuse-tumbleweed
320 msgid ""
321 "The GNU C library does not employ the B<gethostname>() system call; "
322 "instead, it implements B<gethostname>() as a library function that calls "
323 "B<uname>(2) and copies up to I<size> bytes from the returned I<nodename> "
324 "field into I<name>. Having performed the copy, the function then checks if "
325 "the length of the I<nodename> was greater than or equal to I<size>, and if "
326 "it is, then the function returns -1 with I<errno> set to B<ENAMETOOLONG>; in "
327 "this case, a terminating null byte is not included in the returned I<name>."
328 msgstr ""
329 "Biblioteka GNU C nie używa wywołania systemowego B<gethostname>(); w zamian "
330 "korzysta z B<gethostname>() jako funkcji bibliotecznej wywołującej "
331 "B<uname>(2) i kopiuje do I<size> bajtów ze zwracanego pola I<nodename> do "
332 "I<name>. Po przeprowadzeniu kopiowania, funkcja sprawdza, czy długość "
333 "I<nodename> była większa lub równa I<size> i jeśli tak było, funkcja zwraca "
334 "-1 z I<errno> ustawionym na B<ENAMETOOLONG>; w takim przypadku końcowy bajt "
335 "null nie jest umieszczany w zwracanym I<name>."
336
337 #. type: SH
338 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
339 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
340 #, no-wrap
341 msgid "STANDARDS"
342 msgstr "STANDARDY"
343
344 #. type: TP
345 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
346 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
347 #, no-wrap
348 msgid "B<gethostname>()"
349 msgstr "B<gethostname>()"
350
351 #. type: Plain text
352 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
353 #: opensuse-tumbleweed
354 msgid "POSIX.1-2024."
355 msgstr "POSIX.1-2024."
356
357 #. type: TP
358 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
359 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
360 #, no-wrap
361 msgid "B<sethostname>()"
362 msgstr "B<sethostname>()"
363
364 #. type: Plain text
365 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
366 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
367 msgid "None."
368 msgstr "Brak."
369
370 #. type: SH
371 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
372 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
373 #, no-wrap
374 msgid "HISTORY"
375 msgstr "HISTORIA"
376
377 #. type: Plain text
378 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
379 #: opensuse-tumbleweed
380 msgid "4.2BSD, SVr4, POSIX.1-2001."
381 msgstr "4.2BSD, SVr4, POSIX.1-2001."
382
383 #. type: Plain text
384 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
385 #: opensuse-tumbleweed
386 msgid "4.2BSD, SVr4."
387 msgstr "4.2BSD, SVr4."
388
389 #. At least glibc 2.0 and glibc 2.1, older versions not checked
390 #. type: Plain text
391 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
392 #: opensuse-leap-16-1 opensuse-tumbleweed
393 msgid ""
394 "Versions of glibc before glibc 2.2 handle the case where the length of the "
395 "I<nodename> was greater than or equal to I<size> differently: nothing is "
396 "copied into I<name> and the function returns -1 with I<errno> set to "
397 "B<ENAMETOOLONG>."
398 msgstr ""
399 "Wersje glibc przed glibc 2.2 obsługują przypadek, w którym długość "
400 "I<nodename> była większa lub równa I<size> w odmienny sposób: nic nie jest "
401 "kopiowane do I<name>, a funkcja zwraca -1 z I<errno> ustawionym na "
402 "B<ENAMETOOLONG>."
403
404 #. type: SH
405 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
406 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
407 #, no-wrap
408 msgid "SEE ALSO"
409 msgstr "ZOBACZ TAKŻE"
410
411 #. type: Plain text
412 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
413 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
414 msgid ""
415 "B<hostname>(1), B<getdomainname>(2), B<setdomainname>(2), B<uname>(2), "
416 "B<uts_namespaces>(7)"
417 msgstr ""
418 "B<hostname>(1), B<getdomainname>(2), B<setdomainname>(2), B<uname>(2), "
419 "B<uts_namespaces>(7)"
420
421 #. type: TH
422 #: debian-trixie
423 #, no-wrap
424 msgid "2024-05-02"
425 msgstr "2 maja 2024 r."
426
427 #. type: TH
428 #: debian-trixie
429 #, no-wrap
430 msgid "Linux man-pages 6.9.1"
431 msgstr "Linux man-pages 6.9.1"
432
433 #. type: Plain text
434 #: debian-trixie
435 msgid "Standard C library (I<libc>, I<-lc>)"
436 msgstr "Standardowa biblioteka C (I<libc>, I<-lc>)"
437
438 #. type: Plain text
439 #: debian-trixie
440 #, no-wrap
441 msgid ""
442 "B<int gethostname(char *>I<name>B<, size_t >I<len>B<);>\n"
443 "B<int sethostname(const char *>I<name>B<, size_t >I<len>B<);>\n"
444 msgstr ""
445 "B<int gethostname(char *>I<name>B<, size_t >I<len>B<);>\n"
446 "B<int sethostname(const char *>I<name>B<, size_t >I<len>B<);>\n"
447
448 #. type: Plain text
449 #: debian-trixie
450 msgid ""
451 "B<sethostname>() sets the hostname to the value given in the character "
452 "array I<name>. The I<len> argument specifies the number of bytes in "
453 "I<name>. (Thus, I<name> does not require a terminating null byte.)"
454 msgstr ""
455 "B<sethostname>() ustawia nazwę komputera na wartość określoną w tablicy "
456 "znakowej I<name>. Argument I<len> argument określa liczbę bajtów w I<name> "
457 "(dlatego I<name> nie wymaga końcowego bajtu null)."
458
459 #. type: Plain text
460 #: debian-trixie
461 msgid ""
462 "B<gethostname>() returns the null-terminated hostname in the character "
463 "array I<name>, which has a length of I<len> bytes. If the null-terminated "
464 "hostname is too large to fit, then the name is truncated, and no error is "
465 "returned (but see NOTES below). POSIX.1 says that if such truncation "
466 "occurs, then it is unspecified whether the returned buffer includes a "
467 "terminating null byte."
468 msgstr ""
469 "B<gethostname>() zwraca nazwę komputera, zakończoną znakiem null, w tablicy "
470 "znakowej I<name>, o długości I<len> bajtów. Jeśli zakończona znakiem null "
471 "nazwa komputera jest zbyt długa, aby się zmieścić, to nazwa jest obcinana i "
472 "nie jest zwracany żaden błąd (ale zob. UWAGI poniżej). POSIX.1 określa, że "
473 "jeśli takie obcięcie występuje, to nie jest określone, czy zwracany bufor "
474 "zawiera końcowy bajt null."
475
476 #. Can't occur for gethostbyname() wrapper, since 'len' has an
477 #. unsigned type; can occur for the underlying system call.
478 #. type: Plain text
479 #: debian-trixie
480 msgid ""
481 "I<len> is negative or, for B<sethostname>(), I<len> is larger than the "
482 "maximum allowed size."
483 msgstr ""
484 "I<len> jest ujemne lub, przy B<sethostname>(), I<len> jest większe niż "
485 "maksymalny dopuszczalny rozmiar."
486
487 #. type: Plain text
488 #: debian-trixie
489 msgid ""
490 "(glibc B<gethostname>()) I<len> is smaller than the actual size. (Before "
491 "glibc 2.1, glibc uses B<EINVAL> for this case.)"
492 msgstr ""
493 "(glibc B<gethostname>()) I<len> jest mniejsze niż rzeczywisty rozmiar. "
494 "Przed glibc 2.1, glibc w tym przypadku używało B<EINVAL>."
495
496 #. type: Plain text
497 #: debian-trixie
498 msgid ""
499 "The GNU C library does not employ the B<gethostname>() system call; "
500 "instead, it implements B<gethostname>() as a library function that calls "
501 "B<uname>(2) and copies up to I<len> bytes from the returned I<nodename> "
502 "field into I<name>. Having performed the copy, the function then checks if "
503 "the length of the I<nodename> was greater than or equal to I<len>, and if it "
504 "is, then the function returns -1 with I<errno> set to B<ENAMETOOLONG>; in "
505 "this case, a terminating null byte is not included in the returned I<name>."
506 msgstr ""
507 "Biblioteka GNU C nie używa wywołania systemowego B<gethostname>(); w zamian "
508 "korzysta z B<gethostname>() jako funkcji bibliotecznej wywołującej "
509 "B<uname>(2) i kopiuje do I<len> bajtów ze zwracanego pola I<nodename> do "
510 "I<name>. Po przeprowadzeniu kopiowania, funkcja sprawdza, czy długość "
511 "I<nodename> była większa lub równa I<len> i jeśli tak było, funkcja zwraca "
512 "-1 z I<errno> ustawionym na B<ENAMETOOLONG>; w takim przypadku końcowy bajt "
513 "null nie jest umieszczany w zwracanym I<name>."
514
515 #. type: Plain text
516 #: debian-trixie fedora-44 fedora-rawhide
517 msgid "POSIX.1-2008."
518 msgstr "POSIX.1-2008."
519
520 #. type: Plain text
521 #: debian-trixie fedora-44 fedora-rawhide
522 msgid ""
523 "SVr4, 4.4BSD (these interfaces first appeared in 4.2BSD). POSIX.1-2001 and "
524 "POSIX.1-2008 specify B<gethostname>() but not B<sethostname>()."
525 msgstr ""
526 "SVr4, 4.4BSD (interfejsy te pierwotnie pojawiły się w 4.2BSD). POSIX.1-2001 "
527 "i POSIX.1-2008 definiuje B<gethostname>() ale nie B<sethostname>()."
528
529 #. At least glibc 2.0 and glibc 2.1, older versions not checked
530 #. type: Plain text
531 #: debian-trixie
532 msgid ""
533 "Versions of glibc before glibc 2.2 handle the case where the length of the "
534 "I<nodename> was greater than or equal to I<len> differently: nothing is "
535 "copied into I<name> and the function returns -1 with I<errno> set to "
536 "B<ENAMETOOLONG>."
537 msgstr ""
538 "Wersje glibc przed glibc 2.2 obsługują przypadek, w którym długość "
539 "I<nodename> była większa lub równa I<len> w odmienny sposób: nic nie jest "
540 "kopiowane do I<name>, a funkcja zwraca -1 z I<errno> ustawionym na "
541 "B<ENAMETOOLONG>."
542
543 #. type: TH
544 #: fedora-44 fedora-rawhide
545 #, no-wrap
546 msgid "2024-11-17"
547 msgstr "17 listopada 2024 r."
548
549 #. type: TH
550 #: fedora-44 fedora-rawhide
551 #, no-wrap
552 msgid "Linux man-pages 6.13"
553 msgstr "Linux man-pages 6.13"
554
555 #. type: TH
556 #: mageia-cauldron
557 #, no-wrap
558 msgid "Linux man-pages 6.17"
559 msgstr "Linux man-pages 6.17"
560
561 #. type: TH
562 #: opensuse-leap-16-1 opensuse-tumbleweed
563 #, no-wrap
564 msgid "Linux man-pages (unreleased)"
565 msgstr "Linux man-pages (niewydane)"