Debian Codegraph @

po/de/man3/getcwd.3.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 # Martin Schulze <[email protected]>, 1997.
5 # Chris Leick <[email protected]>, 2010-2014.
6 # Mario Blättermann <[email protected]>, 2014, 2021, 2022, 2023.
7 # Helge Kreutzmann <[email protected]>, 2016, 2018, 2019, 2021.
8 msgid ""
9 msgstr ""
10 "Project-Id-Version: manpages-l10n 4.27.0\n"
11 "POT-Creation-Date: 2026-06-05 06:25+0200\n"
12 "PO-Revision-Date: 2025-10-02 17:41+0200\n"
13 "Last-Translator: Mario Blättermann <[email protected]>\n"
14 "Language-Team: German <[email protected]>\n"
15 "Language: de\n"
16 "MIME-Version: 1.0\n"
17 "Content-Type: text/plain; charset=UTF-8\n"
18 "Content-Transfer-Encoding: 8bit\n"
19 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
20 "X-Generator: Lokalize 22.12.3\n"
21
22 #. type: TH
23 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
24 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
25 #, no-wrap
26 msgid "getcwd"
27 msgstr "getcwd"
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. Februar 2026"
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 "BEZEICHNUNG"
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 "getcwd, getwd, get_current_dir_name - get current working directory"
53 msgstr ""
54 "getcwd, getwd, get_current_dir_name - das aktuelle Verzeichnis abfragen"
55
56 #. type: SH
57 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
58 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
59 #, no-wrap
60 msgid "LIBRARY"
61 msgstr "BIBLIOTHEK"
62
63 #. type: Plain text
64 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
65 #: opensuse-leap-16-1 opensuse-tumbleweed
66 msgid "Standard C library (I<libc>,\\ I<-lc>)"
67 msgstr "Standard-C-Bibliothek (I<libc>,\\ I<-lc>)"
68
69 #. type: SH
70 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
71 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
72 #, no-wrap
73 msgid "SYNOPSIS"
74 msgstr "ÜBERSICHT"
75
76 #. type: Plain text
77 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
78 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
79 #, no-wrap
80 msgid "B<#include E<lt>unistd.hE<gt>>\n"
81 msgstr "B<#include E<lt>unistd.hE<gt>>\n"
82
83 # WONTFIX B<…>size_t size → B<…size_t> I<size> // forward declaration
84 #. type: Plain text
85 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
86 #: opensuse-tumbleweed
87 #, no-wrap
88 msgid ""
89 "B<char *getcwd(>size_t size;\n"
90 "B< char >I<buf>B<[>I<size>B<], size_t >I<size>B<);>\n"
91 "B<char *get_current_dir_name(void);>\n"
92 msgstr ""
93 "B<char *getcwd(>size_t Größe;\n"
94 "B< char >I<Puffer>B<[>I<Größe>B<], size_t >I<Größe>B<);>\n"
95 "B<char *get_current_dir_name(void);>\n"
96
97 #. type: Plain text
98 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
99 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
100 #, no-wrap
101 msgid "B<[[deprecated]] char *getwd(char >I<buf>B<[PATH_MAX]);>\n"
102 msgstr "B<[[veraltet]] char *getwd(char >I<Puffer>B<[PATH_MAX]);>\n"
103
104 #. type: Plain text
105 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
106 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
107 msgid ""
108 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
109 msgstr ""
110 "Mit Glibc erforderliche Feature-Test-Makros (siehe "
111 "B<feature_test_macros>(7)):"
112
113 #. type: Plain text
114 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
115 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
116 msgid "B<get_current_dir_name>():"
117 msgstr "B<get_current_dir_name>():"
118
119 #. type: Plain text
120 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
121 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
122 #, no-wrap
123 msgid " _GNU_SOURCE\n"
124 msgstr " _GNU_SOURCE\n"
125
126 #. type: Plain text
127 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
128 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
129 msgid "B<getwd>():"
130 msgstr "B<getwd>():"
131
132 #. || _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED
133 #. type: Plain text
134 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
135 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
136 #, no-wrap
137 msgid ""
138 " Since glibc 2.12:\n"
139 " (_XOPEN_SOURCE E<gt>= 500) && ! (_POSIX_C_SOURCE E<gt>= 200809L)\n"
140 " || /* glibc E<gt>= 2.19: */ _DEFAULT_SOURCE\n"
141 " || /* glibc E<lt>= 2.19: */ _BSD_SOURCE\n"
142 " Before glibc 2.12:\n"
143 " _BSD_SOURCE || _XOPEN_SOURCE E<gt>= 500\n"
144 msgstr ""
145 " Seit Glibc 2.12:\n"
146 " (_XOPEN_SOURCE E<gt>= 500) && ! (_POSIX_C_SOURCE E<gt>= 200809L)\n"
147 " || /* Glibc E<gt>= 2.19: */ _DEFAULT_SOURCE\n"
148 " || /* Glibc E<lt>= 2.19: */ _BSD_SOURCE\n"
149 " Vor Glibc 2.12:\n"
150 " _BSD_SOURCE || _XOPEN_SOURCE E<gt>= 500\n"
151
152 #. type: SH
153 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
154 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
155 #, no-wrap
156 msgid "DESCRIPTION"
157 msgstr "BESCHREIBUNG"
158
159 #. type: Plain text
160 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
161 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
162 msgid ""
163 "These functions return a null-terminated string containing an absolute "
164 "pathname that is the current working directory of the calling process. The "
165 "pathname is returned as the function result and via the argument I<buf>, if "
166 "present."
167 msgstr ""
168 "Diese Funktionen geben eine Zeichenkette mit abschließender Null zurück, die "
169 "einen absoluten Pfadnamen enthält, der dem aktuellen Arbeitsverzeichnis des "
170 "aufrufenden Prozesses entspricht. Der Pfadname wird als das "
171 "Funktionsergebnis und, falls vorhanden, über das Argument I<Puffer> "
172 "zurückgegeben."
173
174 #. type: Plain text
175 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
176 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
177 msgid ""
178 "The B<getcwd>() function copies an absolute pathname of the current working "
179 "directory to the array pointed to by I<buf>, which is of length I<size>."
180 msgstr ""
181 "Die Funktion B<getcwd>() kopiert den absoluten Pfadnamen des aktuellen "
182 "Arbeitsverzeichnisses in das Feld, auf das I<Puffer> zeigt und das I<Größe> "
183 "Byte lang ist."
184
185 #. type: Plain text
186 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
187 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
188 msgid ""
189 "If the length of the absolute pathname of the current working directory, "
190 "including the terminating null byte, exceeds I<size> bytes, NULL is "
191 "returned, and I<errno> is set to B<ERANGE>; an application should check for "
192 "this error, and allocate a larger buffer if necessary."
193 msgstr ""
194 "Falls die Länge des absoluten Pfadnamens des Arbeitsverzeichnisses, "
195 "einschließlich abschließender Null I<Größe> Byte überschreitet, wird NULL "
196 "zurückgegeben und I<errno> auf B<ERANGE> gesetzt. Eine Anwendung sollte "
197 "prüfen, ob dieser Fehler auftrat und falls nötig einen größeren Puffer "
198 "reservieren."
199
200 #. type: Plain text
201 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
202 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
203 msgid ""
204 "As an extension to the POSIX.1-2001 standard, glibc's B<getcwd>() allocates "
205 "the buffer dynamically using B<malloc>(3) if I<buf> is NULL. In this case, "
206 "the allocated buffer has the length I<size> unless I<size> is zero, when "
207 "I<buf> is allocated as big as necessary. The caller should B<free>(3) the "
208 "returned buffer."
209 msgstr ""
210 "Als eine Erweiterung des POSIX.1-2001-Standards reserviert B<getcwd>() der "
211 "Linux-Glibc den Puffer dynamisch durch Verwendung von B<malloc>(3), wenn "
212 "I<Puffer> NULL ist. In diesem Fall hat der reservierte Puffer die Länge "
213 "I<Größe>, sofern I<Größe> nicht Null ist, wenn die für I<Puffer> nötige "
214 "Größe reserviert ist. Der Aufrufende sollte den zurückgegebenen Puffer mit "
215 "B<free>(3) freigeben."
216
217 #. type: Plain text
218 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
219 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
220 msgid ""
221 "B<get_current_dir_name>() will B<malloc>(3) an array big enough to hold "
222 "the absolute pathname of the current working directory. If the environment "
223 "variable B<PWD> is set, and its value is correct, then that value will be "
224 "returned. The caller should B<free>(3) the returned buffer."
225 msgstr ""
226 "B<get_current_dir_name>() wird mit B<malloc>(3) ein Feld reservieren, das "
227 "groß genug ist, um den absoluten Pfadnamen des aktuellen "
228 "Arbeitsverzeichnisses aufzunehmen. Wenn die Umgebungsvariable B<PWD> gesetzt "
229 "ist und ihr Wert stimmt, dann wird dieser Wert zurückgegeben. Der Aufrufende "
230 "sollte den zurückgegebenen Puffer mit B<free>(3) freigeben."
231
232 #. type: Plain text
233 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
234 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
235 msgid ""
236 "B<getwd>() does not B<malloc>(3) any memory. The I<buf> argument should "
237 "be a pointer to an array at least B<PATH_MAX> bytes long. If the length of "
238 "the absolute pathname of the current working directory, including the "
239 "terminating null byte, exceeds B<PATH_MAX> bytes, NULL is returned, and "
240 "I<errno> is set to B<ENAMETOOLONG>. (Note that on some systems, B<PATH_MAX> "
241 "may not be a compile-time constant; furthermore, its value may depend on the "
242 "filesystem, see B<pathconf>(3).) For portability and security reasons, use "
243 "of B<getwd>() is deprecated."
244 msgstr ""
245 "B<getwd>() reserviert keinen Speicher mit B<malloc>(3). Das Argument "
246 "I<Puffer> sollte ein Zeiger auf ein Feld mit einer Mindestlänge von "
247 "B<PATH_MAX> Byte sein. Falls die Länge des absoluten Pfadnamens des "
248 "aktuellen Arbeitsverzeichnisses einschließlich des abschließenden Nullbytes "
249 "B<PATH_MAX> Byte überschreitet, wird NULL zurückgegeben und I<errno> auf "
250 "B<ENAMETOOLONG> gesetzt. (Beachten Sie, dass B<PATH_MAX> auf einigen "
251 "Systemen zur Kompilierzeit möglicherweise keine Konstante ist; außerdem "
252 "hängt ihr Wert vom Dateisystem ab – siehe B<pathconf>(3).) Aus Gründen der "
253 "Portierbarkeit und Sicherheit ist die Benutzung von B<getwd>() missbilligt."
254
255 #. type: SH
256 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
257 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
258 #, no-wrap
259 msgid "RETURN VALUE"
260 msgstr "RÜCKGABEWERT"
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 msgid ""
266 "On success, these functions return a pointer to a string containing the "
267 "pathname of the current working directory. In the case of B<getcwd>() and "
268 "B<getwd>() this is the same value as I<buf>."
269 msgstr ""
270 "Bei Erfolg geben diese Funktionen einen Zeiger auf eine Zeichenkette zurück, "
271 "die den Pfadnamen des aktuellen Arbeitsverzeichnisses enthält. Im Fall von "
272 "B<getcwd>() und B<getwd>() ist dies der gleiche Wert wie I<Puffer>."
273
274 #. type: Plain text
275 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
276 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
277 msgid ""
278 "On failure, these functions return NULL, and I<errno> is set to indicate the "
279 "error. The contents of the array pointed to by I<buf> are undefined on "
280 "error."
281 msgstr ""
282 "Bei einem Fehlschlag geben diese Funktionen NULL zurück und I<errno> wird so "
283 "gesetzt, dass es den Fehler anzeigt. Der Inhalt des Feldes, auf den "
284 "I<Puffer> zeigt, ist bei einem Fehler nicht definiert."
285
286 #. type: SH
287 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
288 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
289 #, no-wrap
290 msgid "ERRORS"
291 msgstr "FEHLER"
292
293 #. type: TP
294 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
295 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
296 #, no-wrap
297 msgid "B<EACCES>"
298 msgstr "B<EACCES>"
299
300 #. type: Plain text
301 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
302 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
303 msgid "Permission to read or search a component of the filename was denied."
304 msgstr ""
305 "Lese- oder Suchberechtigung für einen Bestandteil des Dateinamens wurde "
306 "verweigert."
307
308 #. type: TP
309 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
310 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
311 #, no-wrap
312 msgid "B<EFAULT>"
313 msgstr "B<EFAULT>"
314
315 #. type: Plain text
316 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
317 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
318 msgid "I<buf> points to a bad address."
319 msgstr "I<Puffer> zeigt auf eine falsche Adresse."
320
321 #. type: TP
322 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
323 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
324 #, no-wrap
325 msgid "B<EINVAL>"
326 msgstr "B<EINVAL>"
327
328 #. type: Plain text
329 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
330 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
331 msgid "The I<size> argument is zero and I<buf> is not a null pointer."
332 msgstr "Das Argument I<Größe> ist Null und I<Puffer> ist kein Nullzeiger."
333
334 #. type: Plain text
335 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
336 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
337 msgid "B<getwd>(): I<buf> is NULL."
338 msgstr "B<getwd>(): I<Puffer> ist NULL."
339
340 #. type: TP
341 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
342 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
343 #, no-wrap
344 msgid "B<ENAMETOOLONG>"
345 msgstr "B<ENAMETOOLONG>"
346
347 #. type: Plain text
348 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
349 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
350 msgid ""
351 "B<getwd>(): The size of the null-terminated absolute pathname string exceeds "
352 "B<PATH_MAX> bytes."
353 msgstr ""
354 "B<getwd>(): Die Größe des absoluten Pfadnamens mit abschließendem Nullbyte "
355 "überschreitet B<PATH_MAX> Byte."
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<ENOENT>"
362 msgstr "B<ENOENT>"
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 "The current working directory has been unlinked."
368 msgstr "Der Link auf das aktuelle Arbeitsverzeichnis wurde gelöst."
369
370 #. type: TP
371 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
372 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
373 #, no-wrap
374 msgid "B<ENOMEM>"
375 msgstr "B<ENOMEM>"
376
377 #. type: Plain text
378 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
379 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
380 msgid "Out of memory."
381 msgstr "Speicher aufgebraucht."
382
383 #. type: TP
384 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
385 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
386 #, no-wrap
387 msgid "B<ERANGE>"
388 msgstr "B<ERANGE>"
389
390 #. type: Plain text
391 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
392 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
393 msgid ""
394 "The I<size> argument is less than the length of the absolute pathname of the "
395 "working directory, including the terminating null byte. You need to "
396 "allocate a bigger array and try again."
397 msgstr ""
398 "Das Argument I<Größe> ist kleiner als die Länge des absoluten Pfadnamens des "
399 "aktuellen Arbeitsverzeichnisses einschließlich abschließendem Nullbyte. Sie "
400 "müssen ein größeres Feld reservieren und es erneut versuchen."
401
402 #. type: SH
403 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
404 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
405 #, no-wrap
406 msgid "ATTRIBUTES"
407 msgstr "ATTRIBUTE"
408
409 #. type: Plain text
410 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
411 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
412 msgid ""
413 "For an explanation of the terms used in this section, see B<attributes>(7)."
414 msgstr ""
415 "Siehe B<attributes>(7) für eine Erläuterung der in diesem Abschnitt "
416 "verwandten Ausdrücke."
417
418 #. type: tbl table
419 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
420 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
421 #, no-wrap
422 msgid "Interface"
423 msgstr "Schnittstelle"
424
425 #. type: tbl table
426 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
427 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
428 #, no-wrap
429 msgid "Attribute"
430 msgstr "Attribut"
431
432 #. type: tbl table
433 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
434 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
435 #, no-wrap
436 msgid "Value"
437 msgstr "Wert"
438
439 #. type: tbl table
440 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
441 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
442 #, no-wrap
443 msgid ".na\n"
444 msgstr ".na\n"
445
446 #. type: tbl table
447 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
448 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
449 #, no-wrap
450 msgid ".nh\n"
451 msgstr ".nh\n"
452
453 #. type: tbl table
454 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
455 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
456 #, no-wrap
457 msgid ""
458 "B<getcwd>(),\n"
459 "B<getwd>()"
460 msgstr ""
461 "B<getcwd>(),\n"
462 "B<getwd>()"
463
464 #. type: tbl table
465 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
466 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
467 #, no-wrap
468 msgid "Thread safety"
469 msgstr "Multithread-Fähigkeit"
470
471 #. type: tbl table
472 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
473 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
474 #, no-wrap
475 msgid "MT-Safe"
476 msgstr "MT-Sicher"
477
478 #. type: TP
479 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
480 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
481 #, no-wrap
482 msgid "B<get_current_dir_name>()"
483 msgstr "B<get_current_dir_name>()"
484
485 #. type: tbl table
486 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
487 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
488 #, no-wrap
489 msgid "MT-Safe env"
490 msgstr "MT-Sicher env"
491
492 #. type: SH
493 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
494 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
495 #, no-wrap
496 msgid "VERSIONS"
497 msgstr "VERSIONEN"
498
499 #. type: Plain text
500 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
501 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
502 msgid ""
503 "POSIX.1-2001 leaves the behavior of B<getcwd>() unspecified if I<buf> is "
504 "NULL."
505 msgstr ""
506 "Das Verhalten von B<getcwd>() unter POSIX.1-2001 ist nicht spezifiziert, "
507 "wenn I<Puffer> NULL ist."
508
509 #. type: Plain text
510 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
511 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
512 msgid "POSIX.1-2001 does not define any errors for B<getwd>()."
513 msgstr "POSIX.1-2001 definiert keinerlei Fehler für B<getwd>()."
514
515 #. type: SS
516 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
517 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
518 #, no-wrap
519 msgid "C library/kernel differences"
520 msgstr "Unterschiede C-Bibliothek/Kernel"
521
522 #. commit 3272c544da48f8915a0e34189182aed029bd0f2b
523 #. type: Plain text
524 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
525 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
526 msgid ""
527 "On Linux, the kernel provides a B<getcwd>() system call, which the "
528 "functions described in this page will use if possible. The system call "
529 "takes the same arguments as the library function of the same name, but is "
530 "limited to returning at most B<PATH_MAX> bytes. (Before Linux 3.12, the "
531 "limit on the size of the returned pathname was the system page size. On "
532 "many architectures, B<PATH_MAX> and the system page size are both 4096 "
533 "bytes, but a few architectures have a larger page size.) If the length of "
534 "the pathname of the current working directory exceeds this limit, then the "
535 "system call fails with the error B<ENAMETOOLONG>. In this case, the library "
536 "functions fall back to a (slower) alternative implementation that returns "
537 "the full pathname."
538 msgstr ""
539 "Unter Linux stellt der Kernel einen Systemaufruf B<getcwd>() bereit, den die "
540 "in dieser Seite beschriebenen Funktionen falls möglich benutzen. Der "
541 "Systemaufruf akzeptiert die gleichen Argumente wie die Bibliotheksfunktion "
542 "des gleichen Namens, aber sie ist darauf begrenzt, maximal B<PATH_MAX> Byte "
543 "zurückzuliefern. (Vor Linux 3.12 war die Begrenzung der Größe des "
544 "zurückgelieferten Pfadnamens die Systemseitengröße. Auf vielen Architekturen "
545 "sind sowohl B<PATH_MAX> als auch die Systemseitengröße beide 4096 Byte, aber "
546 "einige Architekturen haben eine größere Seitengröße.) Falls die Länge des "
547 "Pfadnamens des aktuellen Arbeitsverzeichnisses dies Begrenzung "
548 "überschreitet, dann schlägt der Systemaufruf mit dem Fehler B<ENAMETOOLONG> "
549 "fehl. In diesem Fall fällt die Bibliotheksfunktion auf eine (langsamere) "
550 "alternative Implementierung zurück, die den kompletten Pfadnamen "
551 "zurückliefert."
552
553 #. commit 8df9d1a4142311c084ffeeacb67cd34d190eff74
554 #. type: Plain text
555 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
556 #: opensuse-leap-16-1 opensuse-tumbleweed
557 msgid ""
558 "Following a change in Linux 2.6.36, the pathname returned by the "
559 "B<getcwd>() system call will be prefixed with the string \"(unreachable)\" "
560 "if the current directory is not below the root directory of the current "
561 "process (e.g., because the process set a new filesystem root using "
562 "B<chroot>(2) without changing its current directory into the new root). "
563 "Such behavior can also be caused by an unprivileged user by changing the "
564 "current directory into another mount namespace. When dealing with pathnames "
565 "from untrusted sources, callers of the functions described in this page "
566 "(before glibc 2.27) or the raw B<getcwd>() system call should consider "
567 "checking whether the returned pathname starts with '/' or '(' to avoid "
568 "misinterpreting an unreachable path as a relative pathname."
569 msgstr ""
570 "Folgend einer Änderung in Linux 2.6.36 wird dem durch den Systemaufruf "
571 "B<getcwd>() zurückgelieferten Pfadnamen die Zeichenkette »(unreachable)« "
572 "vorangestellt, falls das aktuelle Verzeichnis nicht unterhalb des "
573 "Wurzelverzeichnisses des aktuellen Prozesses ist (z.B. da der Prozess auf "
574 "eine neue Dateisystemwurzel mittels B<chroot>(2) gesetzt wurde, ohne sein "
575 "aktuelles Verzeichnis in die neue Wurzel zu wechseln). Dieses Verhalten kann "
576 "auch durch einen nichtprivilegierten Benutzer hervorgerufen werden, der das "
577 "aktuelle Verzeichnis in einen anderen Einhängenamensraum gewechselt hat. "
578 "Beim Umgang mit Pfadnamen von nichtvertrauenswürdigen Quellen sollten "
579 "Aufrufende von in dieser Seite beschriebenen Funktionen (vor Glibc 2.27) "
580 "oder dem rohen Systemaufruf B<getcwd>() in Betracht ziehen, zu überprüfen, "
581 "ob der zurückgelieferte Pfadname mit »/« oder mit »(« anfängt, um zu "
582 "vermeiden, dass ein nicht erreichbarer Pfad als relativer Pfadname "
583 "misinterpretiert wird."
584
585 #. type: SH
586 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
587 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
588 #, no-wrap
589 msgid "STANDARDS"
590 msgstr "STANDARDS"
591
592 #. type: TP
593 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
594 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
595 #, no-wrap
596 msgid "B<getcwd>()"
597 msgstr "B<getcwd>()"
598
599 #. type: Plain text
600 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
601 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
602 msgid "POSIX.1-2008."
603 msgstr "POSIX.1-2008."
604
605 #. type: Plain text
606 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
607 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
608 msgid "GNU."
609 msgstr "GNU."
610
611 #. type: TP
612 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
613 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
614 #, no-wrap
615 msgid "B<getwd>()"
616 msgstr "B<getwd>()"
617
618 #. type: Plain text
619 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
620 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
621 msgid "None."
622 msgstr "Keine."
623
624 #. type: SH
625 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
626 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
627 #, no-wrap
628 msgid "HISTORY"
629 msgstr "GESCHICHTE"
630
631 #. type: Plain text
632 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
633 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
634 msgid "POSIX.1-2001."
635 msgstr "POSIX.1-2001."
636
637 #. type: Plain text
638 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
639 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
640 msgid ""
641 "POSIX.1-2001, but marked LEGACY. Removed in POSIX.1-2008. Use B<getcwd>() "
642 "instead."
643 msgstr ""
644 "POSIX.1-2001, aber als VERALTET markiert. Wurde in POSIX.1-2008 entfernt. "
645 "Verwenden Sie stattdessen B<getcwd>()."
646
647 #. type: Plain text
648 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
649 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
650 msgid ""
651 "Under Linux, these functions make use of the B<getcwd>() system call "
652 "(available since Linux 2.1.92). On older systems they would query I</proc/"
653 "self/cwd>. If both system call and proc filesystem are missing, a generic "
654 "implementation is called. Only in that case can these calls fail under "
655 "Linux with B<EACCES>."
656 msgstr ""
657 "Unter Linux nutzen diese Funktionen den Systemaufruf B<getcwd>() (verfügbar "
658 "seit 2.1.92). Auf älteren Systemen würden sie I</proc/self/cwd> abfragen. "
659 "Falls sowohl der Systemaufruf, als auch das »proc«-Dateisystem fehlen, wird "
660 "eine allgemeine Implementierung aufgerufen. Nur in diesem Fall können diese "
661 "Systemaufrufe unter Linux mit B<EACCES> fehlschlagen."
662
663 #. type: SH
664 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
665 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
666 #, no-wrap
667 msgid "NOTES"
668 msgstr "ANMERKUNGEN"
669
670 #. type: Plain text
671 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
672 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
673 msgid ""
674 "These functions are often used to save the location of the current working "
675 "directory for the purpose of returning to it later. Opening the current "
676 "directory (\".\") and calling B<fchdir>(2) to return is usually a faster "
677 "and more reliable alternative when sufficiently many file descriptors are "
678 "available, especially on platforms other than Linux."
679 msgstr ""
680 "Diese Funktionen werden oft benutzt, um den Ort des aktuellen "
681 "Arbeitsverzeichnisses zum Zweck der späteren Rückkehr zu speichern. Das "
682 "aktuelle Verzeichnis ».« zu öffnen und B<fchdir>(2) zur Rückkehr aufzurufen "
683 "ist normalerweise schneller und eine zuverlässigere Alternative, wenn "
684 "ausreichend viele Dateideskriptoren zur Verfügung stehen, besonders auf "
685 "anderen Plattformen als Linux."
686
687 #. type: SH
688 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
689 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
690 #, no-wrap
691 msgid "BUGS"
692 msgstr "FEHLER"
693
694 #. type: Plain text
695 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
696 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
697 msgid ""
698 "Since the Linux 2.6.36 change that added \"(unreachable)\" in the "
699 "circumstances described above, the glibc implementation of B<getcwd>() has "
700 "failed to conform to POSIX and returned a relative pathname when the API "
701 "contract requires an absolute pathname. With glibc 2.27 onwards this is "
702 "corrected; calling B<getcwd>() from such a pathname will now result in "
703 "failure with B<ENOENT>."
704 msgstr ""
705 "Seit der Änderung in Linux 2.6.36, die »(unreachable)« in den oben "
706 "beschriebenen Gegebenheiten hinzufügte, ist Glibcs Implementierung von "
707 "B<getcwd>() nicht mehr mit POSIX konform und liefert einen relativen "
708 "Pfadnamen zurück, wenn der API-Vertrag einen absoluten Pfadnamen verlangt. "
709 "Ab Glibc 2.27 ist dies korrigiert: ein Aufruf von B<getcwd>() von solch "
710 "einem Pfadnamen liefert jetzt einen Fehlschlag mit B<ENOENT>."
711
712 #. type: SH
713 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
714 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
715 #, no-wrap
716 msgid "SEE ALSO"
717 msgstr "SIEHE AUCH"
718
719 #. type: Plain text
720 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
721 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
722 msgid ""
723 "B<pwd>(1), B<chdir>(2), B<fchdir>(2), B<open>(2), B<unlink>(2), B<free>(3), "
724 "B<malloc>(3)"
725 msgstr ""
726 "B<pwd>(1), B<chdir>(2), B<fchdir>(2), B<open>(2), B<unlink>(2), B<free>(3), "
727 "B<malloc>(3)"
728
729 #. type: TH
730 #: debian-trixie
731 #, no-wrap
732 msgid "2024-05-02"
733 msgstr "2. Mai 2024"
734
735 #. type: TH
736 #: debian-trixie
737 #, no-wrap
738 msgid "Linux man-pages 6.9.1"
739 msgstr "Linux man-pages 6.9.1"
740
741 #. type: Plain text
742 #: debian-trixie
743 msgid "Standard C library (I<libc>, I<-lc>)"
744 msgstr "Standard-C-Bibliothek (I<libc>, I<-lc>)"
745
746 #. type: Plain text
747 #: debian-trixie fedora-44 fedora-rawhide
748 #, no-wrap
749 msgid ""
750 "B<char *getcwd(char >I<buf>B<[.>I<size>B<], size_t >I<size>B<);>\n"
751 "B<char *get_current_dir_name(void);>\n"
752 msgstr ""
753 "B<char *getcwd(char >I<Puffer>B<[.>I<Größe>B<], size_t >I<Größe>B<);>\n"
754 "B<char *get_current_dir_name(void);>\n"
755
756 #. commit 8df9d1a4142311c084ffeeacb67cd34d190eff74
757 #. type: Plain text
758 #: debian-trixie
759 msgid ""
760 "Following a change in Linux 2.6.36, the pathname returned by the "
761 "B<getcwd>() system call will be prefixed with the string \"(unreachable)\" "
762 "if the current directory is not below the root directory of the current "
763 "process (e.g., because the process set a new filesystem root using "
764 "B<chroot>(2) without changing its current directory into the new root). "
765 "Such behavior can also be caused by an unprivileged user by changing the "
766 "current directory into another mount namespace. When dealing with pathname "
767 "from untrusted sources, callers of the functions described in this page "
768 "should consider checking whether the returned pathname starts with '/' or "
769 "'(' to avoid misinterpreting an unreachable path as a relative pathname."
770 msgstr ""
771 "Folgend einer Änderung in Linux 2.6.36 wird dem durch den Systemaufruf "
772 "B<getcwd>() zurückgelieferten Pfadnamen die Zeichenkette »(unreachable)« "
773 "vorangestellt, falls das aktuelle Verzeichnis nicht unterhalb des "
774 "Wurzelverzeichnisses des aktuellen Prozesses ist (z.B. da der Prozess auf "
775 "eine neue Dateisystemwurzel mittels B<chroot>(2) gesetzt wurde, ohne sein "
776 "aktuelles Verzeichnis in die neue Wurzel zu wechseln). Dieses Verhalten kann "
777 "auch durch einen nichtprivilegierten Benutzer hervorgerufen werden, der das "
778 "aktuelle Verzeichnis in einen anderen Einhängenamensraum gewechselt hat. "
779 "Beim Umgang mit Pfadnamen von nichtvertrauenswürdigen Quellen sollten "
780 "Aufrufende von in dieser Seite beschriebenen Funktionen in Betracht ziehen, "
781 "zu überprüfen, ob der zurückgelieferte Pfadname mit »/« oder mit "
782 "»(« anfängt, um zu vermeiden, dass ein nicht erreichbarer Pfad als relativer "
783 "Pfadname misinterpretiert wird."
784
785 #. type: TH
786 #: fedora-44 fedora-rawhide
787 #, no-wrap
788 msgid "2025-02-20"
789 msgstr "20. Februar 2025"
790
791 #. type: TH
792 #: fedora-44 fedora-rawhide
793 #, no-wrap
794 msgid "Linux man-pages 6.13"
795 msgstr "Linux man-pages 6.13"
796
797 #. type: TH
798 #: mageia-cauldron
799 #, no-wrap
800 msgid "Linux man-pages 6.17"
801 msgstr "Linux man-pages 6.17"
802
803 #. type: TH
804 #: opensuse-leap-16-1 opensuse-tumbleweed
805 #, no-wrap
806 msgid "Linux man-pages (unreleased)"
807 msgstr "Linux man-pages (unveröffentlicht)"