Debian Codegraph @

po/de/man2/gethostname.2.po

raw
1 # German translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # René Tschirley <[email protected]>, 1995.
5 # Martin Eberhard Schauer <[email protected]>, 2010.
6 # Mario Blättermann <[email protected]>, 2014, 2019, 2021, 2023.
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: manpages-l10n 4.25.1\n"
10 "POT-Creation-Date: 2026-06-05 06:25+0200\n"
11 "PO-Revision-Date: 2026-03-01 11:03+0100\n"
12 "Last-Translator: Mario Blättermann <[email protected]>\n"
13 "Language-Team: German <[email protected]>\n"
14 "Language: de\n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18 "X-Generator: Lokalize 22.12.3\n"
19 "Plural-Forms: nplurals=2; plural=n != 1;\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 "gethostname"
26 msgstr "gethostname"
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. Februar 2026"
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 "BEZEICHNUNG"
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 "gethostname, sethostname - get/set hostname"
52 msgstr "gethostname, sethostname - bestimmt/setzt den Rechnernamen"
53
54 #. type: SH
55 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
56 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
57 #, no-wrap
58 msgid "LIBRARY"
59 msgstr "BIBLIOTHEK"
60
61 #. type: Plain text
62 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
63 #: opensuse-leap-16-1 opensuse-tumbleweed
64 msgid "Standard C library (I<libc>,\\ I<-lc>)"
65 msgstr "Standard-C-Bibliothek (I<libc>,\\ I<-lc>)"
66
67 #. type: SH
68 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
69 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
70 #, no-wrap
71 msgid "SYNOPSIS"
72 msgstr "ÜBERSICHT"
73
74 #. type: Plain text
75 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
76 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
77 #, no-wrap
78 msgid "B<#include E<lt>unistd.hE<gt>>\n"
79 msgstr "B<#include E<lt>unistd.hE<gt>>\n"
80
81 #. type: Plain text
82 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
83 #: opensuse-leap-16-1 opensuse-tumbleweed
84 #, no-wrap
85 msgid ""
86 "B<int gethostname(char *>I<name>B<, size_t >I<size>B<);>\n"
87 "B<int sethostname(const char *>I<name>B<, size_t >I<size>B<);>\n"
88 msgstr ""
89 "B<int gethostname(char *>I<Name>B<, size_t >I<Größe>B<);>\n"
90 "B<int sethostname(const char *>I<Name>B<, size_t >I<Größe>B<);>\n"
91
92 #. type: Plain text
93 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
94 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
95 msgid ""
96 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
97 msgstr ""
98 "Mit Glibc erforderliche Feature-Test-Makros (siehe "
99 "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 und älter */ _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 " Seit Glibc 2.21:\n"
140 " _DEFAULT_SOURCE\n"
141 " In Glibc 2.19 und 2.20:\n"
142 " _DEFAULT_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE E<lt> 500)\n"
143 " Bis einschließlich Glibc 2.19:\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 "BESCHREIBUNG"
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 "Mit diesen Systemaufrufen erfragen und setzen Sie den Rechnernamen des "
162 "aktuellen Prozessors. Genauer ausgedrückt, arbeiten sie mit dem "
163 "Rechnernamen, der dem UTS-Namensraum des aufrufenden Prozesses zugeordnet "
164 "ist."
165
166 #. type: Plain text
167 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
168 #: opensuse-leap-16-1 opensuse-tumbleweed
169 msgid ""
170 "B<sethostname>() sets the hostname to the value given in the character "
171 "array I<name>. The I<size> argument specifies the number of bytes in "
172 "I<name>. (Thus, I<name> does not require a terminating null byte.)"
173 msgstr ""
174 "B<sethostname>() setzt den Rechnernamen auf den im Zeichenfeld (character "
175 "array) I<Name> übergebenen Wert. Das Argument I<Größe> gibt die Anzahl der "
176 "Bytes in I<Name> an. (Deshalb erfordert I<Name> kein abschließendes Null-"
177 "Byte.)"
178
179 #. type: Plain text
180 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
181 #: opensuse-leap-16-1 opensuse-tumbleweed
182 msgid ""
183 "B<gethostname>() returns the null-terminated hostname in the character "
184 "array I<name>, which has a size of I<size> bytes. If the null-terminated "
185 "hostname is too large to fit, then the name is truncated, and no error is "
186 "returned (but see VERSIONS below). POSIX.1 says that if such truncation "
187 "occurs, then it is unspecified whether the returned buffer includes a "
188 "terminating null byte."
189 msgstr ""
190 "B<gethostname>() gibt den (mit einem Nullbyte abgeschlossenen) Rechnernamen "
191 "der Größe I<Größe> Byte im Zeichenfeld I<Name> zurück. Ist der Rechnername "
192 "zu groß für I<Name>, wird er ohne Fehlermeldung gekürzt (siehe aber die "
193 "VERSIONEN unten). POSIX.1 legt nicht fest, ob im Fall einer solchen Kürzung "
194 "der zurückgegebene Puffer ein abschließendes Nullbyte enthält."
195
196 #. type: SH
197 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
198 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
199 #, no-wrap
200 msgid "RETURN VALUE"
201 msgstr "RÜCKGABEWERT"
202
203 #. type: Plain text
204 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
205 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
206 msgid ""
207 "On success, zero is returned. On error, -1 is returned, and I<errno> is set "
208 "to indicate the error."
209 msgstr ""
210 "Bei Erfolg wird Null zurückgegeben. Bei einem Fehler wird -1 zurückgegeben "
211 "und I<errno> gesetzt, um den Fehler anzuzeigen."
212
213 #. type: SH
214 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
215 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
216 #, no-wrap
217 msgid "ERRORS"
218 msgstr "FEHLER"
219
220 #. type: TP
221 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
222 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
223 #, no-wrap
224 msgid "B<EFAULT>"
225 msgstr "B<EFAULT>"
226
227 #. type: Plain text
228 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
229 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
230 msgid "I<name> is an invalid address."
231 msgstr "I<Name> ist eine ungültige Adresse."
232
233 #. type: TP
234 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
235 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
236 #, no-wrap
237 msgid "B<EINVAL>"
238 msgstr "B<EINVAL>"
239
240 #. Can't occur for gethostbyname() wrapper, since 'size' has an
241 #. unsigned type; can occur for the underlying system call.
242 #. type: Plain text
243 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
244 #: opensuse-leap-16-1 opensuse-tumbleweed
245 msgid ""
246 "I<size> is negative or, for B<sethostname>(), I<size> is larger than the "
247 "maximum allowed size."
248 msgstr ""
249 "I<Größe> ist negativ oder das Argument I<Größe> für B<sethostname>() "
250 "überschreitet die maximal zulässige Größe."
251
252 #. type: TP
253 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
254 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
255 #, no-wrap
256 msgid "B<ENAMETOOLONG>"
257 msgstr "B<ENAMETOOLONG>"
258
259 #. type: Plain text
260 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
261 #: opensuse-leap-16-1 opensuse-tumbleweed
262 msgid ""
263 "(glibc B<gethostname>()) I<size> is smaller than the actual size. (Before "
264 "glibc 2.1, glibc uses B<EINVAL> for this case.)"
265 msgstr ""
266 "B<gethostname>() der Glibc gibt damit an, das I<Größe> kleiner ist als die "
267 "tatsächliche Größe. (Vor Version 2.1 verwendet Glibc in diesem Fall "
268 "B<EINVAL>.)"
269
270 #. type: TP
271 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
272 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
273 #, no-wrap
274 msgid "B<EPERM>"
275 msgstr "B<EPERM>"
276
277 #. type: Plain text
278 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
279 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
280 msgid ""
281 "For B<sethostname>(), the caller did not have the B<CAP_SYS_ADMIN> "
282 "capability in the user namespace associated with its UTS namespace (see "
283 "B<namespaces>(7))."
284 msgstr ""
285 "Der Aufruf von B<sethostname>() erfolgte ohne die B<CAP_SYS_ADMIN>-"
286 "Capability im Benutzernamensraum, der seinem UTS-Namensraum zugeordnet ist "
287 "(siehe B<namespaces>(7))."
288
289 #. type: SH
290 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
291 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
292 #, no-wrap
293 msgid "VERSIONS"
294 msgstr "VERSIONEN"
295
296 #. type: Plain text
297 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
298 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
299 msgid ""
300 "SUSv2 guarantees that \"Host names are limited to 255 bytes\". POSIX.1 "
301 "guarantees that \"Host names (not including the terminating null byte) are "
302 "limited to B<HOST_NAME_MAX> bytes\". On Linux, B<HOST_NAME_MAX> is defined "
303 "with the value 64, which has been the limit since Linux 1.0 (earlier kernels "
304 "imposed a limit of 8 bytes)."
305 msgstr ""
306 "SUSv2 garantiert, dass »Rechnernamen auf 255 Byte begrenzt sind«. POSIX.1 "
307 "garantiert, dass »Rechnernamen (ohne das abschließende Nullbyte) auf "
308 "B<HOST_NAME_MAX> byte begrenzt sind«. Für Linux ist B<HOST_NAME_MAX> seit "
309 "Version 1.0 auf 64 gesetzt (frühere Kernel setzten eine Grenze von 8 byte)."
310
311 #. type: SS
312 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
313 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
314 #, no-wrap
315 msgid "C library/kernel differences"
316 msgstr "Unterschiede C-Bibliothek/Kernel"
317
318 #. type: Plain text
319 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
320 #: opensuse-leap-16-1 opensuse-tumbleweed
321 msgid ""
322 "The GNU C library does not employ the B<gethostname>() system call; "
323 "instead, it implements B<gethostname>() as a library function that calls "
324 "B<uname>(2) and copies up to I<size> bytes from the returned I<nodename> "
325 "field into I<name>. Having performed the copy, the function then checks if "
326 "the length of the I<nodename> was greater than or equal to I<size>, and if "
327 "it is, then the function returns -1 with I<errno> set to B<ENAMETOOLONG>; in "
328 "this case, a terminating null byte is not included in the returned I<name>."
329 msgstr ""
330 "Die GNU-C-Bibliothek implementiert B<gethostname>() nicht als Systemaufruf, "
331 "sondern als Bibliotheksfunktion. Diese Funktion ruft B<uname>(2) auf und "
332 "kopiert bis zu I<Größe> Byte aus dem zurückgegebenen Feld I<nodename> nach "
333 "I<Name>. Nach dem Kopieren prüft die Funktion, ob die Länge von I<nodename> "
334 "größer als oder gleich I<Größe> ist. In diesem Fall gibt sie -1 zurück und "
335 "setzt I<errno> auf B<ENAMETOOLONG>; der zurückgegebene I<Name> enthält dann "
336 "kein abschließendes Nullbyte."
337
338 #. type: SH
339 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
340 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
341 #, no-wrap
342 msgid "STANDARDS"
343 msgstr "STANDARDS"
344
345 #. type: TP
346 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
347 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
348 #, no-wrap
349 msgid "B<gethostname>()"
350 msgstr "B<gethostname>()"
351
352 #. type: Plain text
353 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
354 #: opensuse-tumbleweed
355 msgid "POSIX.1-2024."
356 msgstr "POSIX.1-2024."
357
358 #. type: TP
359 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
360 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
361 #, no-wrap
362 msgid "B<sethostname>()"
363 msgstr "B<sethostname>()"
364
365 #. type: Plain text
366 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
367 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
368 msgid "None."
369 msgstr "Keine."
370
371 #. type: SH
372 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
373 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
374 #, no-wrap
375 msgid "HISTORY"
376 msgstr "GESCHICHTE"
377
378 #. type: Plain text
379 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
380 #: opensuse-tumbleweed
381 msgid "4.2BSD, SVr4, POSIX.1-2001."
382 msgstr "4.2BSD, SVr4, POSIX.1-2001."
383
384 #. type: Plain text
385 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
386 #: opensuse-tumbleweed
387 msgid "4.2BSD, SVr4."
388 msgstr "4.2BSD, SVr4."
389
390 #. At least glibc 2.0 and glibc 2.1, older versions not checked
391 #. type: Plain text
392 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
393 #: opensuse-leap-16-1 opensuse-tumbleweed
394 msgid ""
395 "Versions of glibc before glibc 2.2 handle the case where the length of the "
396 "I<nodename> was greater than or equal to I<size> differently: nothing is "
397 "copied into I<name> and the function returns -1 with I<errno> set to "
398 "B<ENAMETOOLONG>."
399 msgstr ""
400 "Glibc-Versionen vor 2.2 verhielten sich anders, wenn die Länge von "
401 "I<nodename> größer als oder gleich I<Größe> war: sie kopierten nichts nach "
402 "I<Name>, gaben -1 zurück und setzten I<errno> auf 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 "SIEHE AUCH"
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. Mai 2024"
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 "Standard-C-Bibliothek (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<Länge>B<);>\n"
446 "B<int sethostname(const char *>I<Name>B<, size_t >I<Länge>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>() setzt den Rechnernamen auf den im Zeichenfeld (character "
456 "array) I<Name> übergebenen Wert. Das Argument I<Länge> gibt die Anzahl der "
457 "Bytes in I<Name> an. (Deshalb erfordert I<Name> kein abschließendes Null-"
458 "Byte.)"
459
460 #. type: Plain text
461 #: debian-trixie
462 msgid ""
463 "B<gethostname>() returns the null-terminated hostname in the character "
464 "array I<name>, which has a length of I<len> bytes. If the null-terminated "
465 "hostname is too large to fit, then the name is truncated, and no error is "
466 "returned (but see NOTES below). POSIX.1 says that if such truncation "
467 "occurs, then it is unspecified whether the returned buffer includes a "
468 "terminating null byte."
469 msgstr ""
470 "B<gethostname>() gibt den (mit einem Nullbyte abgeschlossenen) Rechnernamen "
471 "der Länge I<Länge> Byte im Zeichenfeld I<Name> zurück. Ist der Rechnername "
472 "zu groß für I<Name>, wird er ohne Fehlermeldung gekürzt (siehe aber die "
473 "ANMERKUNGEN unten). POSIX.1 legt nicht fest, ob im Fall einer solchen "
474 "Kürzung der zurückgegebene Puffer ein abschließendes Nullbyte enthält."
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<Länge> ist negativ oder das Argument I<Länge> für B<sethostname>() "
485 "überschreitet die maximal zulässige Größe."
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 "B<gethostname>() der Glibc gibt damit an, das I<Länge> kleiner ist als die "
494 "tatsächliche Größe. (Vor Version 2.1 verwendet Glibc in diesem Fall "
495 "B<EINVAL>.)"
496
497 #. type: Plain text
498 #: debian-trixie
499 msgid ""
500 "The GNU C library does not employ the B<gethostname>() system call; "
501 "instead, it implements B<gethostname>() as a library function that calls "
502 "B<uname>(2) and copies up to I<len> bytes from the returned I<nodename> "
503 "field into I<name>. Having performed the copy, the function then checks if "
504 "the length of the I<nodename> was greater than or equal to I<len>, and if it "
505 "is, then the function returns -1 with I<errno> set to B<ENAMETOOLONG>; in "
506 "this case, a terminating null byte is not included in the returned I<name>."
507 msgstr ""
508 "Die GNU-C-Bibliothek implementiert B<gethostname>() nicht als Systemaufruf, "
509 "sondern als Bibliotheksfunktion. Diese Funktion ruft B<uname>(2) auf und "
510 "kopiert bis zu I<Länge> Byte aus dem zurückgegebenen Feld I<nodename> nach "
511 "I<Name>. Nach dem Kopieren prüft die Funktion, ob die Länge von I<nodename> "
512 "größer als oder gleich I<Länge> ist. In diesem Fall gibt sie -1 zurück und "
513 "setzt I<errno> auf B<ENAMETOOLONG>; der zurückgegebene I<Name> enthält dann "
514 "kein abschließendes Nullbyte."
515
516 #. type: Plain text
517 #: debian-trixie fedora-44 fedora-rawhide
518 msgid "POSIX.1-2008."
519 msgstr "POSIX.1-2008."
520
521 #. type: Plain text
522 #: debian-trixie fedora-44 fedora-rawhide
523 msgid ""
524 "SVr4, 4.4BSD (these interfaces first appeared in 4.2BSD). POSIX.1-2001 and "
525 "POSIX.1-2008 specify B<gethostname>() but not B<sethostname>()."
526 msgstr ""
527 "SVr4, 4.4BSD (diese Schnittstellen kamen erstmals in 4.2BSD vor). "
528 "POSIX.1-2001 und POSIX.1-2008 spezifizieren B<gethostname>(), aber nicht "
529 "B<sethostname>()."
530
531 #. At least glibc 2.0 and glibc 2.1, older versions not checked
532 #. type: Plain text
533 #: debian-trixie
534 msgid ""
535 "Versions of glibc before glibc 2.2 handle the case where the length of the "
536 "I<nodename> was greater than or equal to I<len> differently: nothing is "
537 "copied into I<name> and the function returns -1 with I<errno> set to "
538 "B<ENAMETOOLONG>."
539 msgstr ""
540 "Glibc-Versionen vor 2.2 verhielten sich anders, wenn die Länge von "
541 "I<nodename> größer als oder gleich I<Länge> war: sie kopierten nichts nach "
542 "I<Name>, gaben -1 zurück und setzten I<errno> auf B<ENAMETOOLONG>."
543
544 #. type: TH
545 #: fedora-44 fedora-rawhide
546 #, no-wrap
547 msgid "2024-11-17"
548 msgstr "17. November 2024"
549
550 #. type: TH
551 #: fedora-44 fedora-rawhide
552 #, no-wrap
553 msgid "Linux man-pages 6.13"
554 msgstr "Linux man-pages 6.13"
555
556 #. type: TH
557 #: mageia-cauldron
558 #, no-wrap
559 msgid "Linux man-pages 6.17"
560 msgstr "Linux man-pages 6.17"
561
562 #. type: TH
563 #: opensuse-leap-16-1 opensuse-tumbleweed
564 #, no-wrap
565 msgid "Linux man-pages (unreleased)"
566 msgstr "Linux man-pages (unveröffentlicht)"